diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2023-10-15 00:34:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-15 00:34:20 +0100 |
commit | b60fd3c6a9d2d2b4d7dac484aa600b827add2165 (patch) | |
tree | 37426dddbabcb6e0ee382a6fc225a1398dc451c6 | |
parent | b7635e84959b9066c005e6c65beca89aa74eb5b0 (diff) |
add order in available histograms (#16204)
-rw-r--r-- | libnetdata/facets/facets.c | 1 |
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); |