Use Prometheus metrics exporter with the new instrumentation.ts / open telemetry #56327
Replies: 4 comments
-
|
Here's a similar discussion with more comments: #16205 |
Beta Was this translation helpful? Give feedback.
-
|
Yes; #16205 (comment) |
Beta Was this translation helpful? Give feedback.
-
|
Here is next 15+ solution (dirty - but works): https://gist.github.com/heilgar/08ae697b8b279dbd0a80c58eef5a6cad |
Beta Was this translation helpful? Give feedback.
-
|
Another solution that works for us pretty well with route normalisation to reduce cardinality and reliability https://gist.github.com/rohitpotato/da55a64975be9ee58fbaeb649bc0755b |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Has anyone managed to successfully use Prometheus metrics exporter as part of otel? I've managed to get it to boot, but it tries to boot multiple times, and it doesn't seem to attach to any of the metrics of the actual next routes either.
An e.g of how this was attempted implementation wise:
Beta Was this translation helpful? Give feedback.
All reactions