diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2022-07-28 15:29:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-28 15:29:38 +0300 |
commit | 68888d403f0a7eae84f474c21d086939b5543ea2 (patch) | |
tree | bdada33990e42e0e09efd8b75d55dca88d1ac454 /web | |
parent | 221fd512873613a10b3d95b25a8a4d542b2c4801 (diff) |
additional stats (#13445)
Diffstat (limited to 'web')
-rw-r--r-- | web/api/web_api_v1.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/web/api/web_api_v1.c b/web/api/web_api_v1.c index fc01b95e59..1045fa12fa 100644 --- a/web/api/web_api_v1.c +++ b/web/api/web_api_v1.c @@ -1573,6 +1573,10 @@ static void web_client_api_v1_dbengine_stats_for_tier(BUFFER *wb, int tier) { ",\n\t\t\"ephemeral_metrics_per_day_percent\":%0.2f" ",\n\t\t\"average_page_size_bytes\":%0.2f" ",\n\t\t\"estimated_concurrently_collected_metrics\":%zu" + ",\n\t\t\"currently_collected_metrics\":%zu" + ",\n\t\t\"max_concurrently_collected_metrics\":%zu" + ",\n\t\t\"disk_space\":%zu" + ",\n\t\t\"max_disk_space\":%zu" , stats.default_granularity_secs , stats.sizeof_metric , stats.sizeof_metric_in_index @@ -1604,6 +1608,10 @@ static void web_client_api_v1_dbengine_stats_for_tier(BUFFER *wb, int tier) { , stats.ephemeral_metrics_per_day_percent , stats.average_page_size_bytes , stats.estimated_concurrently_collected_metrics + , stats.currently_collected_metrics + , stats.max_concurrently_collected_metrics + , stats.disk_space + , stats.max_disk_space ); } int web_client_api_request_v1_dbengine_stats(RRDHOST *host __maybe_unused, struct web_client *w, char *url __maybe_unused) { |