rfmoz / grafana-dashboards

Grafana dashboards
Apache License 2.0
1.17k stars 445 forks source link

count_scalar gone from prometheus 1.8.2 #25

Closed rlucian closed 5 years ago

rlucian commented 5 years ago

In prometheus 1.8.2's change log, it said that the function count_scalar is removed,so, some dashboards which use this function may cause an error. which function i can use to replace? maybe 'absent'?

error thrown is "grafana unknown function with name count_scalar" for one of the graphs. solution is to replace count_scalar(...) with scalar(count(...)) credit: https://github.com/grafana/grafana-plugins/issues/45

rfrail3 commented 5 years ago

The solution was merged time ago. Thanks for the report.