Add prometheus requires_auth parameter (#27367)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Jadson Santos 2023-09-26 08:50:15 -03:00 committed by GitHub
parent ad87935b89
commit 49ddb41a1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,11 @@ component_config_glob:
type: string
description: Metric name to use instead of unit or default metric. This will store all data points in a single metric.
required: false
requires_auth:
type: boolean
description: "This makes authentication optional for the `/api/prometheus` endpoint."
required: false
default: true
{% endconfiguration %}
### Configure Filter