query-exporter icon indicating copy to clipboard operation
query-exporter copied to clipboard

Is there a possibility to change query_latency settings?

Open SozinovD opened this issue 10 months ago • 1 comments

Is your feature request related to a problem? Please describe. For now query_latency_bucket only shows detailed latency of queries that took less than 10 sec, if some of my queries took more - i won't be able to say if it was 11 sec or 120 sec

Describe the solution you'd like Maybe setting in 'general' section of config (i know it doesn't exist yet) or in 'database' section that allows to set custom bucket values, like for histogram metrics

Describe alternatives you've considered I didn't se an option for this in documentation

Additional context

SozinovD avatar Mar 27 '24 09:03 SozinovD

Currently, buckets are defined statically. This would require adding an option to specify custom buckets.

albertodonato avatar Mar 27 '24 09:03 albertodonato