Fork me on GitHub
#clj-otel
<
2023-10-16
>
grzm12:10:19

Hi! I'm getting starting using otel, and starting with the javaagent. I really like how we get so much instrumentation out of the box. For a http service, I'm using the Prometheus exporter and visualizing http.server.duration and http.client.duration metrics in grafana. Those metrics have a maximum bucket boundary of 10s (https://opentelemetry.io/docs/specs/otel/metrics/semantic_conventions/http-metrics/#metric-httpserverduration), so nearly all of our requests get bucketed as Inf+ . My understanding is that I'll need to create a new Metric and View with histogram buckets that are more appropriate for our use case. Is there a way for me to do this and have these metrics exported using the javaagent's Prometheus exporter?