Replies: 2 comments 3 replies
-
Our akka http instrumentation does not fill |
Beta Was this translation helpful? Give feedback.
-
Typically instrumentation like this should let you modify and simplify these label names. You might buckets all your routes into 5-10 labels instead of a label per unique uri. |
Beta Was this translation helpful? Give feedback.
-
Hello folks,
I noticed that Akka HTTP auto instrumentation generates a very high number of metrics (or I should say one metric with high cardinality labels):
http_server_duration_milliseconds_bucket
.I may be wrong (still relatively new to the topic) but isn't it against metrics best practices?
For instance, with only 5 routes called I get this bunch of metrics (Prometheus format):
With a real application having a few dozens of routes, I believe we quickly reach "high cardinality", don't we?
Beta Was this translation helpful? Give feedback.
All reactions