chore(aggregators): Comment out default values in sample configs (#15864)
This commit is contained in:
parent
358224fa02
commit
dd9451222b
|
|
@ -19,11 +19,11 @@ See the [CONFIGURATION.md][CONFIGURATION.md] for more details.
|
||||||
# Keep the aggregate basicstats of each metric passing through.
|
# Keep the aggregate basicstats of each metric passing through.
|
||||||
[[aggregators.basicstats]]
|
[[aggregators.basicstats]]
|
||||||
## The period on which to flush & clear the aggregator.
|
## The period on which to flush & clear the aggregator.
|
||||||
period = "30s"
|
# period = "30s"
|
||||||
|
|
||||||
## If true, the original metric will be dropped by the
|
## If true, the original metric will be dropped by the
|
||||||
## aggregator and will not get sent to the output plugins.
|
## aggregator and will not get sent to the output plugins.
|
||||||
drop_original = false
|
# drop_original = false
|
||||||
|
|
||||||
## Configures which basic stats to push as fields
|
## Configures which basic stats to push as fields
|
||||||
# stats = ["count","diff","rate","min","max","mean","non_negative_diff","non_negative_rate","percent_change","stdev","s2","sum","interval","last"]
|
# stats = ["count","diff","rate","min","max","mean","non_negative_diff","non_negative_rate","percent_change","stdev","s2","sum","interval","last"]
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
# Keep the aggregate basicstats of each metric passing through.
|
# Keep the aggregate basicstats of each metric passing through.
|
||||||
[[aggregators.basicstats]]
|
[[aggregators.basicstats]]
|
||||||
## The period on which to flush & clear the aggregator.
|
## The period on which to flush & clear the aggregator.
|
||||||
period = "30s"
|
# period = "30s"
|
||||||
|
|
||||||
## If true, the original metric will be dropped by the
|
## If true, the original metric will be dropped by the
|
||||||
## aggregator and will not get sent to the output plugins.
|
## aggregator and will not get sent to the output plugins.
|
||||||
drop_original = false
|
# drop_original = false
|
||||||
|
|
||||||
## Configures which basic stats to push as fields
|
## Configures which basic stats to push as fields
|
||||||
# stats = ["count","diff","rate","min","max","mean","non_negative_diff","non_negative_rate","percent_change","stdev","s2","sum","interval","last"]
|
# stats = ["count","diff","rate","min","max","mean","non_negative_diff","non_negative_rate","percent_change","stdev","s2","sum","interval","last"]
|
||||||
|
|
|
||||||
|
|
@ -18,17 +18,17 @@ See the [CONFIGURATION.md][CONFIGURATION.md] for more details.
|
||||||
# Calculates a derivative for every field.
|
# Calculates a derivative for every field.
|
||||||
[[aggregators.derivative]]
|
[[aggregators.derivative]]
|
||||||
## The period in which to flush the aggregator.
|
## The period in which to flush the aggregator.
|
||||||
period = "30s"
|
# period = "30s"
|
||||||
##
|
|
||||||
## Suffix to append for the resulting derivative field.
|
## Suffix to append for the resulting derivative field.
|
||||||
# suffix = "_rate"
|
# suffix = "_rate"
|
||||||
##
|
|
||||||
## Field to use for the quotient when computing the derivative.
|
## Field to use for the quotient when computing the derivative.
|
||||||
## When using a field as the derivation parameter the name of that field will
|
## When using a field as the derivation parameter the name of that field will
|
||||||
## be used for the resulting derivative, e.g. *fieldname_by_parameter*.
|
## be used for the resulting derivative, e.g. *fieldname_by_parameter*.
|
||||||
## By default the timestamps of the metrics are used and the suffix is omitted.
|
## By default the timestamps of the metrics are used and the suffix is omitted.
|
||||||
# variable = ""
|
# variable = ""
|
||||||
##
|
|
||||||
## Maximum number of roll-overs in case only one measurement is found during a period.
|
## Maximum number of roll-overs in case only one measurement is found during a period.
|
||||||
# max_roll_over = 10
|
# max_roll_over = 10
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,16 @@
|
||||||
# Calculates a derivative for every field.
|
# Calculates a derivative for every field.
|
||||||
[[aggregators.derivative]]
|
[[aggregators.derivative]]
|
||||||
## The period in which to flush the aggregator.
|
## The period in which to flush the aggregator.
|
||||||
period = "30s"
|
# period = "30s"
|
||||||
##
|
|
||||||
## Suffix to append for the resulting derivative field.
|
## Suffix to append for the resulting derivative field.
|
||||||
# suffix = "_rate"
|
# suffix = "_rate"
|
||||||
##
|
|
||||||
## Field to use for the quotient when computing the derivative.
|
## Field to use for the quotient when computing the derivative.
|
||||||
## When using a field as the derivation parameter the name of that field will
|
## When using a field as the derivation parameter the name of that field will
|
||||||
## be used for the resulting derivative, e.g. *fieldname_by_parameter*.
|
## be used for the resulting derivative, e.g. *fieldname_by_parameter*.
|
||||||
## By default the timestamps of the metrics are used and the suffix is omitted.
|
## By default the timestamps of the metrics are used and the suffix is omitted.
|
||||||
# variable = ""
|
# variable = ""
|
||||||
##
|
|
||||||
## Maximum number of roll-overs in case only one measurement is found during a period.
|
## Maximum number of roll-overs in case only one measurement is found during a period.
|
||||||
# max_roll_over = 10
|
# max_roll_over = 10
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ See the [CONFIGURATION.md][CONFIGURATION.md] for more details.
|
||||||
# Report the final metric of a series
|
# Report the final metric of a series
|
||||||
[[aggregators.final]]
|
[[aggregators.final]]
|
||||||
## The period on which to flush & clear the aggregator.
|
## The period on which to flush & clear the aggregator.
|
||||||
period = "30s"
|
# period = "30s"
|
||||||
|
|
||||||
## If true, the original metric will be dropped by the
|
## If true, the original metric will be dropped by the
|
||||||
## aggregator and will not get sent to the output plugins.
|
## aggregator and will not get sent to the output plugins.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Report the final metric of a series
|
# Report the final metric of a series
|
||||||
[[aggregators.final]]
|
[[aggregators.final]]
|
||||||
## The period on which to flush & clear the aggregator.
|
## The period on which to flush & clear the aggregator.
|
||||||
period = "30s"
|
# period = "30s"
|
||||||
|
|
||||||
## If true, the original metric will be dropped by the
|
## If true, the original metric will be dropped by the
|
||||||
## aggregator and will not get sent to the output plugins.
|
## aggregator and will not get sent to the output plugins.
|
||||||
|
|
|
||||||
|
|
@ -43,11 +43,11 @@ See the [CONFIGURATION.md][CONFIGURATION.md] for more details.
|
||||||
# Configuration for aggregate histogram metrics
|
# Configuration for aggregate histogram metrics
|
||||||
[[aggregators.histogram]]
|
[[aggregators.histogram]]
|
||||||
## The period in which to flush the aggregator.
|
## The period in which to flush the aggregator.
|
||||||
period = "30s"
|
# period = "30s"
|
||||||
|
|
||||||
## If true, the original metric will be dropped by the
|
## If true, the original metric will be dropped by the
|
||||||
## aggregator and will not get sent to the output plugins.
|
## aggregator and will not get sent to the output plugins.
|
||||||
drop_original = false
|
# drop_original = false
|
||||||
|
|
||||||
## If true, the histogram will be reset on flush instead
|
## If true, the histogram will be reset on flush instead
|
||||||
## of accumulating the results.
|
## of accumulating the results.
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
# Configuration for aggregate histogram metrics
|
# Configuration for aggregate histogram metrics
|
||||||
[[aggregators.histogram]]
|
[[aggregators.histogram]]
|
||||||
## The period in which to flush the aggregator.
|
## The period in which to flush the aggregator.
|
||||||
period = "30s"
|
# period = "30s"
|
||||||
|
|
||||||
## If true, the original metric will be dropped by the
|
## If true, the original metric will be dropped by the
|
||||||
## aggregator and will not get sent to the output plugins.
|
## aggregator and will not get sent to the output plugins.
|
||||||
drop_original = false
|
# drop_original = false
|
||||||
|
|
||||||
## If true, the histogram will be reset on flush instead
|
## If true, the histogram will be reset on flush instead
|
||||||
## of accumulating the results.
|
## of accumulating the results.
|
||||||
|
|
|
||||||
|
|
@ -19,10 +19,11 @@ See the [CONFIGURATION.md][CONFIGURATION.md] for more details.
|
||||||
[[aggregators.minmax]]
|
[[aggregators.minmax]]
|
||||||
## General Aggregator Arguments:
|
## General Aggregator Arguments:
|
||||||
## The period on which to flush & clear the aggregator.
|
## The period on which to flush & clear the aggregator.
|
||||||
period = "30s"
|
# period = "30s"
|
||||||
|
|
||||||
## If true, the original metric will be dropped by the
|
## If true, the original metric will be dropped by the
|
||||||
## aggregator and will not get sent to the output plugins.
|
## aggregator and will not get sent to the output plugins.
|
||||||
drop_original = false
|
# drop_original = false
|
||||||
```
|
```
|
||||||
|
|
||||||
## Measurements & Fields
|
## Measurements & Fields
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,8 @@
|
||||||
[[aggregators.minmax]]
|
[[aggregators.minmax]]
|
||||||
## General Aggregator Arguments:
|
## General Aggregator Arguments:
|
||||||
## The period on which to flush & clear the aggregator.
|
## The period on which to flush & clear the aggregator.
|
||||||
period = "30s"
|
# period = "30s"
|
||||||
|
|
||||||
## If true, the original metric will be dropped by the
|
## If true, the original metric will be dropped by the
|
||||||
## aggregator and will not get sent to the output plugins.
|
## aggregator and will not get sent to the output plugins.
|
||||||
drop_original = false
|
# drop_original = false
|
||||||
|
|
|
||||||
|
|
@ -19,11 +19,11 @@ See the [CONFIGURATION.md][CONFIGURATION.md] for more details.
|
||||||
[[aggregators.quantile]]
|
[[aggregators.quantile]]
|
||||||
## General Aggregator Arguments:
|
## General Aggregator Arguments:
|
||||||
## The period on which to flush & clear the aggregator.
|
## The period on which to flush & clear the aggregator.
|
||||||
period = "30s"
|
# period = "30s"
|
||||||
|
|
||||||
## If true, the original metric will be dropped by the
|
## If true, the original metric will be dropped by the
|
||||||
## aggregator and will not get sent to the output plugins.
|
## aggregator and will not get sent to the output plugins.
|
||||||
drop_original = false
|
# drop_original = false
|
||||||
|
|
||||||
## Quantiles to output in the range [0,1]
|
## Quantiles to output in the range [0,1]
|
||||||
# quantiles = [0.25, 0.5, 0.75]
|
# quantiles = [0.25, 0.5, 0.75]
|
||||||
|
|
|
||||||
|
|
@ -2,11 +2,11 @@
|
||||||
[[aggregators.quantile]]
|
[[aggregators.quantile]]
|
||||||
## General Aggregator Arguments:
|
## General Aggregator Arguments:
|
||||||
## The period on which to flush & clear the aggregator.
|
## The period on which to flush & clear the aggregator.
|
||||||
period = "30s"
|
# period = "30s"
|
||||||
|
|
||||||
## If true, the original metric will be dropped by the
|
## If true, the original metric will be dropped by the
|
||||||
## aggregator and will not get sent to the output plugins.
|
## aggregator and will not get sent to the output plugins.
|
||||||
drop_original = false
|
# drop_original = false
|
||||||
|
|
||||||
## Quantiles to output in the range [0,1]
|
## Quantiles to output in the range [0,1]
|
||||||
# quantiles = [0.25, 0.5, 0.75]
|
# quantiles = [0.25, 0.5, 0.75]
|
||||||
|
|
|
||||||
|
|
@ -31,10 +31,12 @@ See the [CONFIGURATION.md][CONFIGURATION.md] for more details.
|
||||||
[[aggregators.valuecounter]]
|
[[aggregators.valuecounter]]
|
||||||
## General Aggregator Arguments:
|
## General Aggregator Arguments:
|
||||||
## The period on which to flush & clear the aggregator.
|
## The period on which to flush & clear the aggregator.
|
||||||
period = "30s"
|
# period = "30s"
|
||||||
|
|
||||||
## If true, the original metric will be dropped by the
|
## If true, the original metric will be dropped by the
|
||||||
## aggregator and will not get sent to the output plugins.
|
## aggregator and will not get sent to the output plugins.
|
||||||
drop_original = false
|
# drop_original = false
|
||||||
|
|
||||||
## The fields for which the values will be counted
|
## The fields for which the values will be counted
|
||||||
fields = ["status"]
|
fields = ["status"]
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,11 @@
|
||||||
[[aggregators.valuecounter]]
|
[[aggregators.valuecounter]]
|
||||||
## General Aggregator Arguments:
|
## General Aggregator Arguments:
|
||||||
## The period on which to flush & clear the aggregator.
|
## The period on which to flush & clear the aggregator.
|
||||||
period = "30s"
|
# period = "30s"
|
||||||
|
|
||||||
## If true, the original metric will be dropped by the
|
## If true, the original metric will be dropped by the
|
||||||
## aggregator and will not get sent to the output plugins.
|
## aggregator and will not get sent to the output plugins.
|
||||||
drop_original = false
|
# drop_original = false
|
||||||
|
|
||||||
## The fields for which the values will be counted
|
## The fields for which the values will be counted
|
||||||
fields = ["status"]
|
fields = ["status"]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue