summaryrefslogtreecommitdiffstats
path: root/web/api/exporters
diff options
context:
space:
mode:
Diffstat (limited to 'web/api/exporters')
-rw-r--r--web/api/exporters/shell/allmetrics_shell.c2
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 9a18b92dc..90c63d443 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)