Status: under development; Not recommended for production usage.
Supported pipeline types: metrics
The cumulative to delta processor (cumulativetodeltaprocessor
) converts cumulative sum metrics to cumulative delta.
The default configuration is to convert all monotonic sum metrics from aggregation temporality cumulative to aggregation temporality delta.
The following settings can be optionally configured:
metrics
: The processor uses metric names to identify a set of cumulative sum metrics and converts them to cumulative delta. Defaults to converting all metric names.max_stale
: The total time a state entry will live past the time it was last seen. Set to 0 to retain state indefinitely. Default: 0monotonic_only
: Specify whether only monotonic metrics are converted from cumulative to delta. Default:true
. Set tofalse
to convert metrics regardless of monotonic setting.
processors:
# processor name: cumulativetodelta
cumulativetodelta:
# list the cumulative sum metrics to convert to delta
# (optional - defaults to converting all monotonic cumulative sum metrics)
metrics:
- <metric_1_name>
- <metric_2_name>
.
.
- <metric_n_name>