mirror of
https://github.com/prometheus/prometheus
synced 2024-12-29 10:12:26 +00:00
51689d965d
This adds timers around several query-relevant code blocks. For now, the query timer stats are only logged for queries initiated through the UI. In other cases (rule evaluations), the stats are simply thrown away. My hope is that this helps us understand where queries spend time, especially in cases where they sometimes hang for unusual amounts of time. |
||
---|---|---|
.. | ||
query_stats.go | ||
timer.go |