albertodonato/query-exporter

Is there a possibility to change query_latency settings?

SozinovD opened this issue · 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

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