summaryrefslogtreecommitdiffstats
path: root/aclk/aclk_stats.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-26 18:05:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-26 18:05:10 +0000
commit34a0b66bc2d48223748ed1cf5bc1b305c396bd74 (patch)
treefbd36be86cc6bc4288fe627f2b5beada569848bb /aclk/aclk_stats.c
parentAdding upstream version 1.32.1. (diff)
downloadnetdata-34a0b66bc2d48223748ed1cf5bc1b305c396bd74.tar.xz
netdata-34a0b66bc2d48223748ed1cf5bc1b305c396bd74.zip
Adding upstream version 1.33.0.upstream/1.33.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'aclk/aclk_stats.c')
-rw-r--r--aclk/aclk_stats.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/aclk/aclk_stats.c b/aclk/aclk_stats.c
index 765c6a333..a7d4a4709 100644
--- a/aclk/aclk_stats.c
+++ b/aclk/aclk_stats.c
@@ -124,7 +124,7 @@ static void aclk_stats_cloud_req_type(struct aclk_metrics_per_sample *per_sample
if (unlikely(!st)) {
st = rrdset_create_localhost(
- "netdata", "aclk_cloud_req_type", NULL, "aclk", NULL, "Requests received from cloud by their type", "req/s",
+ "netdata", "aclk_processed_query_type", NULL, "aclk", NULL, "Query thread commands processed by their type", "cmd/s",
"netdata", "stats", 200006, localhost->rrd_update_every, RRDSET_TYPE_STACKED);
rd_type_http = rrddim_add(st, "http", NULL, 1, localhost->rrd_update_every, RRD_ALGORITHM_ABSOLUTE);
@@ -138,14 +138,14 @@ static void aclk_stats_cloud_req_type(struct aclk_metrics_per_sample *per_sample
} else
rrdset_next(st);
- rrddim_set_by_pointer(st, rd_type_http, per_sample->cloud_req_type_http);
- rrddim_set_by_pointer(st, rd_type_alarm_upd, per_sample->cloud_req_type_alarm_upd);
- rrddim_set_by_pointer(st, rd_type_metadata_info, per_sample->cloud_req_type_metadata_info);
- rrddim_set_by_pointer(st, rd_type_metadata_alarms, per_sample->cloud_req_type_metadata_alarms);
- rrddim_set_by_pointer(st, rd_type_chart_new, per_sample->cloud_req_type_chart_new);
- rrddim_set_by_pointer(st, rd_type_chart_del, per_sample->cloud_req_type_chart_del);
- rrddim_set_by_pointer(st, rd_type_register_node, per_sample->cloud_req_type_register_node);
- rrddim_set_by_pointer(st, rd_type_node_upd, per_sample->cloud_req_type_node_upd);
+ rrddim_set_by_pointer(st, rd_type_http, per_sample->query_type_http);
+ rrddim_set_by_pointer(st, rd_type_alarm_upd, per_sample->query_type_alarm_upd);
+ rrddim_set_by_pointer(st, rd_type_metadata_info, per_sample->query_type_metadata_info);
+ rrddim_set_by_pointer(st, rd_type_metadata_alarms, per_sample->query_type_metadata_alarms);
+ rrddim_set_by_pointer(st, rd_type_chart_new, per_sample->query_type_chart_new);
+ rrddim_set_by_pointer(st, rd_type_chart_del, per_sample->query_type_chart_del);
+ rrddim_set_by_pointer(st, rd_type_register_node, per_sample->query_type_register_node);
+ rrddim_set_by_pointer(st, rd_type_node_upd, per_sample->query_type_node_upd);
rrdset_done(st);
}