Replies: 1 comment 4 replies
-
Your understanding is correct. The overflow metrics series is created only if the unique metric series (i.e., request types with different attributes) within a collection interval exceed 2000. Can you confirm if the unique request types for your application stay below this limit? Note that the total number of requests can exceed 2000, but the unique types should not. And also do you mean the only metrics series you are seeing within collection interval is overflow, and no other? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've instrumented my application with opentelemetry-cpp (metrics only), and I use tags in my metrics. When testing with a low rate of metrics recording, I see my metrics with the expected tags in the prometheus export on the opentelemetry collector. However, when testing the application with a high rate of requests, and so a high rate of metrics recording, I get metrics aggregated in time series with no tags except "otel_metrics_overflow".
My understanding is that this should happens if the sdk collector has to collect metrics with a tag cardinality superior to 2000 in a collection cycle (by default).
Edit: https://opentelemetry.io/docs/specs/otel/metrics/sdk/#cardinality-limits
However, my tag cardinality doesn't increase with the number of request processed, and in the opentelemetry collector that my application uses, I don't see 2000 time series in the prometheus export.
So my questions are :
Thank you and best regards,
Xavier
Beta Was this translation helpful? Give feedback.
All reactions