diff options
author | vkalintiris <vasilis@netdata.cloud> | 2023-08-03 13:13:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-03 13:13:36 +0300 |
commit | 0e230a260ec7d8b4d6dc5c7165da6ab103d096b3 (patch) | |
tree | b46528e5ace00358c342ea3d571d85bda5c546ed /collectors/idlejitter.plugin | |
parent | 72549b3a2247f763180925d7c84b0eee8086fa14 (diff) |
Revert "Refactor RRD code. (#15423)" (#15723)
This reverts commit 440bd51e08fdfa2a4daa191fb68643456028a753.
dbengine was still being used for non-zero tiers
even on non-dbengine modes.
Diffstat (limited to 'collectors/idlejitter.plugin')
-rw-r--r-- | collectors/idlejitter.plugin/plugin_idlejitter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/collectors/idlejitter.plugin/plugin_idlejitter.c b/collectors/idlejitter.plugin/plugin_idlejitter.c index 093fe443c9..d90548869f 100644 --- a/collectors/idlejitter.plugin/plugin_idlejitter.c +++ b/collectors/idlejitter.plugin/plugin_idlejitter.c @@ -38,14 +38,14 @@ void *cpuidlejitter_main(void *ptr) { , "idlejitter.plugin" , NULL , NETDATA_CHART_PRIO_SYSTEM_IDLEJITTER - , rrdb.localhost->update_every + , localhost->rrd_update_every , RRDSET_TYPE_AREA ); RRDDIM *rd_min = rrddim_add(st, "min", NULL, 1, 1, RRD_ALGORITHM_ABSOLUTE); RRDDIM *rd_max = rrddim_add(st, "max", NULL, 1, 1, RRD_ALGORITHM_ABSOLUTE); RRDDIM *rd_avg = rrddim_add(st, "average", NULL, 1, 1, RRD_ALGORITHM_ABSOLUTE); - usec_t update_every_ut = rrdb.localhost->update_every * USEC_PER_SEC; + usec_t update_every_ut = localhost->rrd_update_every * USEC_PER_SEC; struct timeval before, after; while (service_running(SERVICE_COLLECTORS)) { |