Open cwasicki opened 4 months ago
Currently the client assumes that all metric samples are of SimpleMetricSample type, but the MetricSampleVariant can also be of AggregatedMetricSample. The client should support this type too.
The AggregatedMetricSample contains a float, two optional floats and a list of floats. The first iteration could just use the single float value and use it in the same way as currently simple metric samples are used.
AggregatedMetricSample
No response
What's needed?
Currently the client assumes that all metric samples are of SimpleMetricSample type, but the MetricSampleVariant can also be of AggregatedMetricSample. The client should support this type too.
Proposed solution
The
AggregatedMetricSample
contains a float, two optional floats and a list of floats. The first iteration could just use the single float value and use it in the same way as currently simple metric samples are used.Use cases
No response
Alternatives and workarounds
No response
Additional context
No response