summaryrefslogtreecommitdiffstats
path: root/src/health/health_internals.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-09 08:36:07 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-25 11:21:20 +0000
commiteae52fdaa9298e00f14b0b6256400d200db9c373 (patch)
treea3040a19bd024295ded05370853647bab9d7c225 /src/health/health_internals.h
parentAdding upstream version 1.47.5. (diff)
downloadnetdata-eae52fdaa9298e00f14b0b6256400d200db9c373.tar.xz
netdata-eae52fdaa9298e00f14b0b6256400d200db9c373.zip
Adding upstream version 2.0.3.upstream/2.0.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/health/health_internals.h')
-rw-r--r--src/health/health_internals.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/health/health_internals.h b/src/health/health_internals.h
index 638a96195..a86e62956 100644
--- a/src/health/health_internals.h
+++ b/src/health/health_internals.h
@@ -9,7 +9,7 @@
#define HEALTH_LOG_ENTRIES_MAX 100000U
#define HEALTH_LOG_ENTRIES_MIN 10U
-#define HEALTH_LOG_HISTORY_DEFAULT (5 * 86400)
+#define HEALTH_LOG_RETENTION_DEFAULT (5 * 86400)
#define HEALTH_CONF_MAX_LINE 4096
@@ -76,7 +76,7 @@ struct health_plugin_globals {
bool use_summary_for_notifications;
unsigned int health_log_entries_max;
- uint32_t health_log_history; // the health log history in seconds to be kept in db
+ uint32_t health_log_retention_s; // the health log retention in seconds to be kept in db
STRING *silencers_filename;
STRING *default_exec;