Skip to content

Commit

Permalink
set corret value
Browse files Browse the repository at this point in the history
  • Loading branch information
asiyani committed Dec 23, 2024
1 parent 030204e commit 1e5ca21
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vector/node/namespaced/resources/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ transforms:
hooks:
init: init
process: on_event
shutdown: on_timer
timers:
- handler: on_timer
interval_seconds: 60
# on_timer func cleans up inactive pod's metrics
# since vector by default keeps these metrics, global config flag `expire_metrics_secs` must be set
# and 'on_timer' interval should be higher then `expire_metrics_secs`
interval_seconds: 900

# Split the generated metrics and the potential error logs, since they go to different sinks
expensive_metrics_aggregator_router:
Expand Down

0 comments on commit 1e5ca21

Please sign in to comment.