From 2137474e18694fef86ec712540a1416be803bc4d Mon Sep 17 00:00:00 2001 From: Nextcloud bot Date: Thu, 8 Jan 2026 02:58:15 +0000 Subject: [PATCH] chore(administration): Generate system config documentation from config.sample.php --- .../config_sample_php_parameters.rst | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/admin_manual/configuration_server/config_sample_php_parameters.rst b/admin_manual/configuration_server/config_sample_php_parameters.rst index 41a058bd2..73d8e95c4 100644 --- a/admin_manual/configuration_server/config_sample_php_parameters.rst +++ b/admin_manual/configuration_server/config_sample_php_parameters.rst @@ -4444,6 +4444,41 @@ Nextcloud ships its own up-to-date certificates bundle, but in certain cases adm Defaults to `\\OC::$SERVERROOT . '/resources/config/ca-bundle.crt'`. +openmetrics_skipped_classes +^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + +:: + + 'openmetrics_skipped_classes' => [ + 'OC\OpenMetrics\Exporters\FilesByType', + 'OCA\Files_Sharing\OpenMetrics\SharesCount', + ], + +OpenMetrics skipped exporters +Allows to skip some exporters in the OpenMetrics endpoint ``/metrics``. + +Default to ``[]`` (empty array) + +openmetrics_allowed_clients +^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + +:: + + 'openmetrics_allowed_clients' => [ + '192.168.0.0/16', + 'fe80::/10', + '10.0.0.1', + ], + +OpenMetrics allowed client IP addresses +Restricts the IP addresses able to make requests on the ``/metrics`` endpoint. + +Keep this list as restrictive as possible as metrics can consume a lot of resources. + +Default to ``[127.0.0.0/16', '::1/128]`` (allow loopback interface only) + .. ALL_OTHER_SECTIONS_END .. Generated content above. Don't change this.