Skip to content

Commit

Permalink
removed timebased from default metrics defitions (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
KalmanMeth authored Feb 9, 2023
1 parent 7031f2b commit 51fd6ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
15 changes: 1 addition & 14 deletions contrib/kubernetes/flowlogs-pipeline.conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ pipeline:
follows: extract_conntrack
- name: extract_aggregate
follows: transform_network
- name: extract_timebased
follows: extract_aggregate
- name: encode_prom
follows: extract_timebased
follows: extract_aggregate
- name: write_loki
follows: transform_network
parameters:
Expand Down Expand Up @@ -241,17 +239,6 @@ parameters:
- service
- _RecordType
operationType: count
- name: extract_timebased
extract:
type: timebased
timebased:
rules:
- name: bandwidth_source_subnet
indexKey: srcSubnet
operationType: sum
operationKey: total_value
topK: 5
timeInterval: 1m0s
- name: encode_prom
encode:
type: prom
Expand Down
8 changes: 0 additions & 8 deletions network_definitions/bandwidth_per_src_subnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,6 @@ extract:
- _RecordType
operationType: sum
operationKey: bytes
timebased:
rules:
- name: bandwidth_source_subnet
operationType: sum
operationKey: total_value
indexKey: srcSubnet
topK: 5
timeInterval: 1m
encode:
type: prom
prom:
Expand Down

0 comments on commit 51fd6ad

Please sign in to comment.