summaryrefslogtreecommitdiffstats
path: root/exporting/prometheus
diff options
context:
space:
mode:
authorVladimir Kobal <vlad@prokk.net>2022-03-15 11:50:24 +0100
committerGitHub <noreply@github.com>2022-03-15 11:50:24 +0100
commit52456f5baf6e677c7e2cf5fcb863c59076e01093 (patch)
tree805f2eda7173a8128d191ba34232716ec9566d19 /exporting/prometheus
parent908d369195205d25b4599be4a7ef89b804b172fc (diff)
Remove backends subsystem (#12146)
Diffstat (limited to 'exporting/prometheus')
-rw-r--r--exporting/prometheus/prometheus.c6
-rw-r--r--exporting/prometheus/remote_write/remote_write.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/exporting/prometheus/prometheus.c b/exporting/prometheus/prometheus.c
index 87fa8cd5e8..97c3a29f0e 100644
--- a/exporting/prometheus/prometheus.c
+++ b/exporting/prometheus/prometheus.c
@@ -35,7 +35,7 @@ inline int can_send_rrdset(struct instance *instance, RRDSET *st)
else {
rrdset_flag_set(st, RRDSET_FLAG_EXPORTING_IGNORE);
debug(
- D_BACKEND,
+ D_EXPORTING,
"EXPORTING: not sending chart '%s' of host '%s', because it is disabled for exporting.",
st->id,
host->hostname);
@@ -45,7 +45,7 @@ inline int can_send_rrdset(struct instance *instance, RRDSET *st)
if (unlikely(!rrdset_is_available_for_exporting_and_alarms(st))) {
debug(
- D_BACKEND,
+ D_EXPORTING,
"EXPORTING: not sending chart '%s' of host '%s', because it is not available for exporting.",
st->id,
host->hostname);
@@ -56,7 +56,7 @@ inline int can_send_rrdset(struct instance *instance, RRDSET *st)
st->rrd_memory_mode == RRD_MEMORY_MODE_NONE &&
!(EXPORTING_OPTIONS_DATA_SOURCE(instance->config.options) == EXPORTING_SOURCE_DATA_AS_COLLECTED))) {
debug(
- D_BACKEND,
+ D_EXPORTING,
"EXPORTING: not sending chart '%s' of host '%s' because its memory mode is '%s' and the exporting connector requires database access.",
st->id,
host->hostname,
diff --git a/exporting/prometheus/remote_write/remote_write.c b/exporting/prometheus/remote_write/remote_write.c
index 8339712eb6..59a488e1b5 100644
--- a/exporting/prometheus/remote_write/remote_write.c
+++ b/exporting/prometheus/remote_write/remote_write.c
@@ -236,7 +236,7 @@ int format_dimension_prometheus_remote_write(struct instance *instance, RRDDIM *
if (unlikely(rd->last_collected_time.tv_sec < instance->after)) {
debug(
- D_BACKEND,
+ D_EXPORTING,
"EXPORTING: not sending dimension '%s' of chart '%s' from host '%s', "
"its last data collection (%lu) is not within our timeframe (%lu to %lu)",
rd->id, rd->rrdset->id,