summaryrefslogtreecommitdiffstats
path: root/exporting/check_filters.c
diff options
context:
space:
mode:
Diffstat (limited to 'exporting/check_filters.c')
-rw-r--r--exporting/check_filters.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/exporting/check_filters.c b/exporting/check_filters.c
index f7eba22d..726fd02a 100644
--- a/exporting/check_filters.c
+++ b/exporting/check_filters.c
@@ -2,6 +2,14 @@
#include "exporting_engine.h"
+
+bool exporting_labels_filter_callback(const char *name, const char *value, RRDLABEL_SRC ls, void *data) {
+ (void)name;
+ (void)value;
+ struct instance *instance = (struct instance *)data;
+ return should_send_label(instance, ls);
+}
+
/**
* Check if the connector instance should export the host metrics
*