summaryrefslogtreecommitdiffstats
path: root/backends
diff options
context:
space:
mode:
authorVladimir Kobal <vlad@prokk.net>2019-02-11 13:24:24 +0200
committerGitHub <noreply@github.com>2019-02-11 13:24:24 +0200
commit2f6f8155dba6951256f5f8e080aafca6e6836dfc (patch)
treec51efa2bbbc77a8dabc4dbb99ff8725d262b75a1 /backends
parentcbe45897dec5d4013c4e8228ddad715f5366d8c6 (diff)
Add message queue statistics (#5115)
* Add IPC message queue charts * Add obsolete flag for dimensions * Delete obsolete dimensions from memory * Remove files for obsolete dimensions, filter requests * Make empty charts obsolete * Minimize obsolete dimension checks * Limit the number of dimensions in memory * Remove obsolete dimensions on netdata exit * Update documentation * Move flag to the end * Fix typo * Fix typo
Diffstat (limited to 'backends')
-rw-r--r--backends/prometheus/backend_prometheus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/prometheus/backend_prometheus.c b/backends/prometheus/backend_prometheus.c
index 6b0d7ca10e..1c36a9703a 100644
--- a/backends/prometheus/backend_prometheus.c
+++ b/backends/prometheus/backend_prometheus.c
@@ -291,7 +291,7 @@ static void rrd_stats_api_v1_charts_allmetrics_prometheus(RRDHOST *host, BUFFER
// for each dimension
RRDDIM *rd;
rrddim_foreach_read(rd, st) {
- if(rd->collections_counter) {
+ if(rd->collections_counter && !rrddim_flag_check(rd, RRDDIM_FLAG_OBSOLETE)) {
char dimension[PROMETHEUS_ELEMENT_MAX + 1];
char *suffix = "";