diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2023-01-18 21:32:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-18 21:32:50 +0200 |
commit | c1908d3163185cf65a139edeb11a165a10eca1e9 (patch) | |
tree | 6fe69ef8cd5f5797253e0d583fe60d56c69ec3da /web | |
parent | 51565d55e92b6f814a09ca87d3c77a40acba576c (diff) |
DBENGINE v2 - improvements part 5 (#14289)
* cleanup journal v2 mounts periodically
* fix for last commit
* re-enable loading page from disk when the arrangement of pages requires it
* Remove unused statistics
* Estimate diskspace when the current datafile is full and queue a rotate command (Currently it will not attempt to estimate end size for journals)
Queue a command to check quota on startup per tier
* apps.plugin now exposes RSS chart
* shorter thread names to make debugging easier, since thread names can only be 15 characters
* more thread names fixes
* allow an apps_groups.conf target to be pid 0 or 1
Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com>
Diffstat (limited to 'web')
-rw-r--r-- | web/api/web_api_v1.c | 2 | ||||
-rw-r--r-- | web/server/static/static-threaded.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/web/api/web_api_v1.c b/web/api/web_api_v1.c index e1445effed..35c3c43786 100644 --- a/web/api/web_api_v1.c +++ b/web/api/web_api_v1.c @@ -1544,7 +1544,6 @@ static void web_client_api_v1_dbengine_stats_for_tier(BUFFER *wb, size_t tier) { ",\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 @@ -1573,7 +1572,6 @@ static void web_client_api_v1_dbengine_stats_for_tier(BUFFER *wb, size_t tier) { , 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 ); diff --git a/web/server/static/static-threaded.c b/web/server/static/static-threaded.c index cf65c2c142..ad154c7ec0 100644 --- a/web/server/static/static-threaded.c +++ b/web/server/static/static-threaded.c @@ -539,7 +539,7 @@ void *socket_listen_main_static_threaded(void *ptr) { static_workers_private_data[i].max_sockets = max_sockets / static_threaded_workers_count; char tag[50 + 1]; - snprintfz(tag, 50, "WEB_SERVER[static%d]", i+1); + snprintfz(tag, 50, "WEB[%d]", i+1); info("starting worker %d", i+1); netdata_thread_create(&static_workers_private_data[i].thread, tag, NETDATA_THREAD_OPTION_DEFAULT, |