From 4851f9e606b643da73291ea1b918bbb9c84ce4fc Mon Sep 17 00:00:00 2001 From: Marlon Regenhardt Date: Mon, 25 Mar 2024 12:42:03 +0100 Subject: [PATCH] feat: Change default to services being listed on the statistics page (#129) --- docs/docs/configuration.md | 8 ++++---- src/BaGetter/appsettings.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/docs/configuration.md b/docs/docs/configuration.md index 55f890b4..fa25495f 100644 --- a/docs/docs/configuration.md +++ b/docs/docs/configuration.md @@ -216,15 +216,16 @@ This can be useful if you are hosting a private feed and need to host large pack ## Statistics -On the application's statistics page the currently used services are listed. -You can hide or show this part by modifying the `EnableStatisticsPage` configuration: +On the application's statistics page the currently used services and overall package and version counts are listed. +You can hide or show this page by modifying the `EnableStatisticsPage` configuration. +If you set `ListConfiguredServices` to `false` the currently used services for database and storage (such as `Sqlite`) are omitted on the stats page: ```json { ... "Statistics": { - "EnableStatisticsPage": false, + "EnableStatisticsPage": true, "ListConfiguredServices": false }, @@ -232,7 +233,6 @@ You can hide or show this part by modifying the `EnableStatisticsPage` configura } ``` -If you set `ListConfiguredServices` to `true` the currently used services for database and storage are shown on the stats page. ## Load secrets from files diff --git a/src/BaGetter/appsettings.json b/src/BaGetter/appsettings.json index 596f7130..9742d642 100644 --- a/src/BaGetter/appsettings.json +++ b/src/BaGetter/appsettings.json @@ -57,6 +57,6 @@ "Statistics": { "EnableStatisticsPage": true, - "ListConfiguredServices": false + "ListConfiguredServices": true } }