Replies: 1 comment 2 replies
-
The Ruby SDK does not currently have a metrics implementation so you'll need some help from the OTel Collector to generate metrics from span data. Here's a tutorial on how to set up the OTel collector to export metrics to prometheus: Here's a tutorial that describes how to configure the SpanMetricsProcessor, which generates metrics from span data: Hope that helps. |
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!
I'd like to build a graph showing how many time of request is spent in different parts of app, e.g. Redis, Postgres, external requests with Net::HTTP and so on. I am using Prometheus and Grafana for graphs.
But now I can't see an easy and elegant way to do it, other that try to parse span names specific for each service and then group by them, but this solution does not look very stable.
I thought of passing
otel.library.name
into Prom, and them grouping by it, since it is very clearly defining a part of an app we are in, but it seems it can't be passed for some reason (may be because of being some kind of system attribute).Is there a more reliable and elegant way? Or am I trying to do something otel is not suitable for?
Beta Was this translation helpful? Give feedback.
All reactions