chop-dbhi / prometheus-sql

Service that exposes Prometheus metrics for a SQL result set.
BSD 2-Clause "Simplified" License
202 stars 55 forks source link

Deal with missing values #39

Closed roidelapluie closed 6 years ago

roidelapluie commented 6 years ago

Signed-off-by: Julien Pivotto roidelapluie@inuits.eu

roidelapluie commented 6 years ago

Missing metrics

This adds the ability to replace missing metrics with a fixed value.

roidelapluie commented 6 years ago

Unfortunately after deploying this pull request internally I have to admit that it is a terrible idea as it raises many questions on case of error while fetching data. And also this PR crashes in case of errors while fetching the metrics.

Closing