@cryptotaxi247 / netdata-1 / commits / 3212bd341

minor - Adds query type "function[s]" for aclk chart (#14165)

add query type functions for statistics

Timotej S committed Dec 22, 2022 at 19:01 UTC 3212bd341ca4f0f5f3393eb35afe532b10639d4e
2 files changed +4 -2
aclk/aclk_stats.c
+3 -1
@@ -143,7 +143,9 @@ static char *cloud_req_http_type_names[ACLK_STATS_CLOUD_HTTP_REQ_TYPE_CNT] = {
143 "alarms",
144 "alarm_log",
145 "chart",
146 - "charts"
146 + "charts",
147 + "function",
148 + "functions"
149 // if you change then update `ACLK_STATS_CLOUD_HTTP_REQ_TYPE_CNT`.
150 };
151
aclk/aclk_stats.h
+1 -1
@@ -16,7 +16,7 @@ extern netdata_mutex_t aclk_stats_mutex;
16 #define ACLK_STATS_UNLOCK netdata_mutex_unlock(&aclk_stats_mutex)
17
18 // if you change update `cloud_req_http_type_names`.
19 -#define ACLK_STATS_CLOUD_HTTP_REQ_TYPE_CNT 7
19 +#define ACLK_STATS_CLOUD_HTTP_REQ_TYPE_CNT 9
20
21 int aclk_cloud_req_http_type_to_idx(const char *name);
22