justwatchcom / sql_exporter

Flexible SQL Exporter for Prometheus.
MIT License
402 stars 109 forks source link

zero row return, not clean old metrics #34

Closed callnothing closed 2 years ago

callnothing commented 5 years ago

https://github.com/justwatchcom/sql_exporter/blob/19e52b1662ad2a354684a2460121c47c3ec7547e/query.go#L51

dewey commented 2 years ago

Is this solved by: https://github.com/justwatchcom/sql_exporter/pull/39? This was just merged, if not please re-open the issue and we'll take a look.