>
>> On Saturday, October 8, 2022 at 5:36:27 AM UTC-7 [email protected] wrote:
>>
>>>  

> Example: Counts are often used for error rates like this:
>>>
>>> sum(rate(http_server_duration_count{http_status_code=~"5.."}[5m])) / 
>>> sum(rate(http_server_duration_count[5m]))
>>>
>>>
Small hack: http_server_duration_count is equal to 
max(http_server_duration_bucket), which does have exemplars.
(I haven't tried this)
 

> If the counts came with Exemplars, we could build a feature in Grafana to 
>>> visualize them on an "error rate" graph, i.e. you could click on an example 
>>> of an HTTP 500 error and navigate directly to the corresponding trace, or 
>>> to the logs filtered by trace ID.
>>>
>>
They will be in the wrong units, however, so likely clamped to the top or 
bottom of the graph.

Bryan 

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-developers/26176360-2126-40a1-bed1-0d004040e2a6n%40googlegroups.com.

Reply via email to