diff options
author | Vladimir Kobal <vlad@prokk.net> | 2021-03-18 21:53:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-18 21:53:32 +0200 |
commit | 477f26fd7ba73e2c60a71d0240df111e616b294a (patch) | |
tree | 317a14b1b50d292406a91ccf60a5cd41e12dc1e1 /exporting/prometheus | |
parent | e2a845cce7174d852b5ddc1b6a4a82923b9a34cf (diff) |
Don't show alarms for charts without data (#10804)
Diffstat (limited to 'exporting/prometheus')
-rw-r--r-- | exporting/prometheus/prometheus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exporting/prometheus/prometheus.c b/exporting/prometheus/prometheus.c index ab919acd81..c10d94b90a 100644 --- a/exporting/prometheus/prometheus.c +++ b/exporting/prometheus/prometheus.c @@ -37,7 +37,7 @@ inline int can_send_rrdset(struct instance *instance, RRDSET *st) } } - if (unlikely(!rrdset_is_available_for_backends(st))) { + if (unlikely(!rrdset_is_available_for_exporting_and_alarms(st))) { debug( D_BACKEND, "EXPORTING: not sending chart '%s' of host '%s', because it is not available for exporting.", |