diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-01-26 18:05:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-01-26 18:05:10 +0000 |
commit | 34a0b66bc2d48223748ed1cf5bc1b305c396bd74 (patch) | |
tree | fbd36be86cc6bc4288fe627f2b5beada569848bb /aclk/aclk_query_queue.c | |
parent | Adding upstream version 1.32.1. (diff) | |
download | netdata-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_query_queue.c')
-rw-r--r-- | aclk/aclk_query_queue.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/aclk/aclk_query_queue.c b/aclk/aclk_query_queue.c index 18b4783ee..fe7ee123c 100644 --- a/aclk/aclk_query_queue.c +++ b/aclk/aclk_query_queue.c @@ -50,21 +50,21 @@ static inline int _aclk_queue_query(aclk_query_t query) static inline volatile uint32_t *aclk_stats_qmetric_for_qtype(aclk_query_type_t qtype) { switch (qtype) { case HTTP_API_V2: - return &aclk_metrics_per_sample.cloud_req_type_http; + return &aclk_metrics_per_sample.query_type_http; case ALARM_STATE_UPDATE: - return &aclk_metrics_per_sample.cloud_req_type_alarm_upd; + return &aclk_metrics_per_sample.query_type_alarm_upd; case METADATA_INFO: - return &aclk_metrics_per_sample.cloud_req_type_metadata_info; + return &aclk_metrics_per_sample.query_type_metadata_info; case METADATA_ALARMS: - return &aclk_metrics_per_sample.cloud_req_type_metadata_alarms; + return &aclk_metrics_per_sample.query_type_metadata_alarms; case CHART_NEW: - return &aclk_metrics_per_sample.cloud_req_type_chart_new; + return &aclk_metrics_per_sample.query_type_chart_new; case CHART_DEL: - return &aclk_metrics_per_sample.cloud_req_type_chart_del; + return &aclk_metrics_per_sample.query_type_chart_del; case REGISTER_NODE: - return &aclk_metrics_per_sample.cloud_req_type_register_node; + return &aclk_metrics_per_sample.query_type_register_node; case NODE_STATE_UPDATE: - return &aclk_metrics_per_sample.cloud_req_type_node_upd; + return &aclk_metrics_per_sample.query_type_node_upd; default: return NULL; } |