diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2019-09-28 00:33:34 +0300 |
---|---|---|
committer | thiagoftsm <thiagoftsm@gmail.com> | 2019-09-27 21:33:34 +0000 |
commit | bec641cc99ac2d16714ea40a13578bb74c2044d7 (patch) | |
tree | 41ba58bf296c880e0423908936701022bdf04106 | |
parent | e3471fa5727bcf286dd3b52ec0cdecd8fdf7067e (diff) |
add family to allmetrics_json resp (#6966)
-rw-r--r-- | web/api/exporters/shell/allmetrics_shell.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/api/exporters/shell/allmetrics_shell.c b/web/api/exporters/shell/allmetrics_shell.c index 9a18b92dce..90c63d443d 100644 --- a/web/api/exporters/shell/allmetrics_shell.c +++ b/web/api/exporters/shell/allmetrics_shell.c @@ -108,6 +108,7 @@ void rrd_stats_api_v1_charts_allmetrics_json(RRDHOST *host, BUFFER *wb) { buffer_sprintf(wb, "%s\n" "\t\"%s\": {\n" "\t\t\"name\":\"%s\",\n" + "\t\t\"family\":\"%s\",\n" "\t\t\"context\":\"%s\",\n" "\t\t\"units\":\"%s\",\n" "\t\t\"last_updated\": %ld,\n" @@ -115,6 +116,7 @@ void rrd_stats_api_v1_charts_allmetrics_json(RRDHOST *host, BUFFER *wb) { , chart_counter?",":"" , st->id , st->name + , st->family , st->context , st->units , rrdset_last_entry_t(st) |