2022-05-19 00:29:55 +08:00
|
|
|
# Report the final metric of a series
|
|
|
|
|
[[aggregators.final]]
|
|
|
|
|
## The period on which to flush & clear the aggregator.
|
|
|
|
|
period = "30s"
|
|
|
|
|
## If true, the original metric will be dropped by the
|
|
|
|
|
## aggregator and will not get sent to the output plugins.
|
2023-10-13 04:28:10 +08:00
|
|
|
# drop_original = false
|
2022-05-19 00:29:55 +08:00
|
|
|
|
|
|
|
|
## The time that a series is not updated until considering it final.
|
2023-10-13 04:28:10 +08:00
|
|
|
# series_timeout = "5m"
|
|
|
|
|
|
|
|
|
|
## Output strategy, supported values:
|
|
|
|
|
## timeout -- output a metric if no new input arrived for `series_timeout`;
|
|
|
|
|
## useful for filling gaps in input data
|
2024-01-06 05:34:02 +08:00
|
|
|
## periodic -- output the last received metric every `period`; useful to
|
2023-10-13 04:28:10 +08:00
|
|
|
## downsample the input data
|
|
|
|
|
# output_strategy = "timeout"
|