Skip to content

Commit

Permalink
add family to allmetrics_json resp (netdata#6966)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyam8 authored and thiagoftsm committed Sep 27, 2019
1 parent e3471fa commit bec641c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/api/exporters/shell/allmetrics_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,15 @@ 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"
"\t\t\"dimensions\": {"
, chart_counter?",":""
, st->id
, st->name
, st->family
, st->context
, st->units
, rrdset_last_entry_t(st)
Expand Down

0 comments on commit bec641c

Please sign in to comment.