albertodonato / query-exporter

Export Prometheus metrics from SQL queries
GNU General Public License v3.0
437 stars 101 forks source link

Skip if still running past interval #112

Open ryjogo opened 2 years ago

ryjogo commented 2 years ago

Is your feature request related to a problem? Please describe. If a query takes longer than the interval, it seems multiple queries are triggered?

Describe the solution you'd like to be able to skip the query if one is currently running (and taking longer than the interval)

Describe alternatives you've considered Timeout, however this will cancel the query resulting in data never being retrieved.