summaryrefslogtreecommitdiffstats
path: root/src/health/health.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/health/health.h')
-rw-r--r--src/health/health.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/health/health.h b/src/health/health.h
index 882309cae1..2a1dd6c656 100644
--- a/src/health/health.h
+++ b/src/health/health.h
@@ -20,6 +20,10 @@ typedef enum __attribute__((packed)) {
HEALTH_ENTRY_FLAG_NO_CLEAR_NOTIFICATION = 0x80000000,
} HEALTH_ENTRY_FLAGS;
+#define RRDR_OPTIONS_DATA_SOURCES (RRDR_OPTION_PERCENTAGE|RRDR_OPTION_ANOMALY_BIT)
+#define RRDR_OPTIONS_DIMS_AGGREGATION (RRDR_OPTION_DIMS_MIN|RRDR_OPTION_DIMS_MAX|RRDR_OPTION_DIMS_AVERAGE|RRDR_OPTION_DIMS_MIN2MAX)
+#define RRDR_OPTIONS_REMOVE_OVERLAPPING(options) ((options) &= ~(RRDR_OPTIONS_DIMS_AGGREGATION|RRDR_OPTIONS_DATA_SOURCES))
+
void health_entry_flags_to_json_array(BUFFER *wb, const char *key, HEALTH_ENTRY_FLAGS flags);
#ifndef HEALTH_LISTEN_PORT