Is your feature request related to a problem?
Yes. According to the specification here, we need to support MinMaxSumCount in OpenTelemetry. However, when I was translating OpenTelemetry metric data to Prometheus data type and mapping OpenTelemetry Aggregator to Prometheus, I referred to the specification here. The spec states we need to map MinMaxLastSumCount to Prometheus Gauge, and use the Last Value as the gauge metric. The problem is we don’t have a MinMaxLastSumCount aggregator. What we have is MinMaxSumCount aggregator but there is nothing can be mapped to gauge in this aggregator.
Describe the solution you'd like
-
Ignore this aggregator when mapping from OpenTelemetry to Prometheus for now, if possible.
-
Choose another value in the aggregator (min, max, sum, or count) to expose as the Prometheus gauge metric.
Describe alternatives you've considered
- Support the
MinMaxLastSumCount Aggregator. This is not a preferred solution because the team that implemented the aggregators will end their internship next week. It’s not a good choice to ask them add new implementations at this point.
Is your feature request related to a problem?
Yes. According to the specification here, we need to support
MinMaxSumCountin OpenTelemetry. However, when I was translating OpenTelemetry metric data to Prometheus data type and mapping OpenTelemetry Aggregator to Prometheus, I referred to the specification here. The spec states we need to mapMinMaxLastSumCountto Prometheus Gauge, and use the Last Value as the gauge metric. The problem is we don’t have aMinMaxLastSumCountaggregator. What we have isMinMaxSumCountaggregator but there is nothing can be mapped to gauge in this aggregator.Describe the solution you'd like
Ignore this aggregator when mapping from OpenTelemetry to Prometheus for now, if possible.
Choose another value in the aggregator (min, max, sum, or count) to expose as the Prometheus gauge metric.
Describe alternatives you've considered
MinMaxLastSumCountAggregator. This is not a preferred solution because the team that implemented the aggregators will end their internship next week. It’s not a good choice to ask them add new implementations at this point.