A
A
Anton2020-05-05 13:54:01
Monitoring
Anton, 2020-05-05 13:54:01

How to make a filter to display values ​​above 0 in promtheus with irate wrapper?

Here is the formula:

rate(pg_stat_database_xact_commit{instance="$instance"}[5m])

Here is the chart.
5eb145a9c0a7e609852502.png
It can be seen that quite a lot of values ​​\u200b\u200bare equal to 0.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2020-05-05
Patsev @chemtech

rate(pg_stat_database_xact_commit{instance="$instance"}[5m]) > 0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question