Replies: 1 comment
-
Unfortunately, there isn't a Count aggregation specified currently [https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md?plain=1#L558], and we don't currently support custom aggregations in the standard SDK. If this is something you need, I recommend opening up an issue in the specification to add a new aggregation type. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using metric views to collect and export metrics. I have a Histogram which is tracking request latencies, and I want to export the total request count as a separate metric.
The spec mentions this should be possible via customizing the aggregation for the view (link):
How would this work in the Java SDK? I don't see a count aggregation in Aggregation.java.
Beta Was this translation helpful? Give feedback.
All reactions