summaryrefslogtreecommitdiffstats
path: root/libnetdata
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2023-10-15 00:34:20 +0100
committerGitHub <noreply@github.com>2023-10-15 00:34:20 +0100
commitb60fd3c6a9d2d2b4d7dac484aa600b827add2165 (patch)
tree37426dddbabcb6e0ee382a6fc225a1398dc451c6 /libnetdata
parentb7635e84959b9066c005e6c65beca89aa74eb5b0 (diff)
add order in available histograms (#16204)
Diffstat (limited to 'libnetdata')
-rw-r--r--libnetdata/facets/facets.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libnetdata/facets/facets.c b/libnetdata/facets/facets.c
index 70978fa55e..ddf8acb791 100644
--- a/libnetdata/facets/facets.c
+++ b/libnetdata/facets/facets.c
@@ -2434,6 +2434,7 @@ void facets_report(FACETS *facets, BUFFER *wb, DICTIONARY *used_hashes_registry)
buffer_json_add_array_item_object(wb);
buffer_json_member_add_string(wb, "id", hash_to_static_string(k->hash));
buffer_json_member_add_string(wb, "name", k->name);
+ buffer_json_member_add_uint64(wb, "order", k->order);
buffer_json_object_close(wb);
}
foreach_key_in_facets_done(k);