Replies: 1 comment 2 replies
-
What do I need to do to make in progress and total available? The metrics from OTel follow OTel conventions.
The names/dimensions etc. will quite likely be different from Prometheus.NET. (I'd suggest to look into using Otel-Collector, which might have something to rename metrics etc, so that you get same names, if that is what you are looking for). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
Currently I'm using the promtheus-net package which is added as a middleware and metrics are exported. The name of the metrics are
In OT the only one I can see is
http_server_duration_ms
. What do I need to do to make in progress and total available? Looking at the code it does seem to hook into theHttpRequestIn
events in diagnostic listener. Perhaps I need to manually add the sourceSystem.Net.Http
?If there is any source mentioning how to migrate from prometheus-net to OT I would be very happy. If not, I might create one :)
I found this that is related but doesn't answer my question.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions