From 177af26ea878e673166ebbeb4518539f624a81f0 Mon Sep 17 00:00:00 2001 From: Vladimir Kobal Date: Sat, 1 Feb 2020 00:05:45 +0200 Subject: Parse host tags (#7702) * Fix memory leaks * Check for configuration options * Parse simple tags * Parse JSON tags * Remove an unnecessary check * Parse a JSON object * Parse a JSON array * Update the documentation * Fix host locks --- health/health_log.c | 1 + 1 file changed, 1 insertion(+) (limited to 'health') diff --git a/health/health_log.c b/health/health_log.c index 11714a2dd8..24ee538498 100644 --- a/health/health_log.c +++ b/health/health_log.c @@ -72,6 +72,7 @@ inline void health_label_log_save(RRDHOST *host) { if(likely(host->health_log_fp)) { BUFFER *wb = buffer_create(1024); + rrdhost_check_rdlock(host); netdata_rwlock_rdlock(&host->labels_rwlock); struct label *l=localhost->labels; while (l != NULL) { -- cgit v1.2.3