You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#################################### Internal Grafana Metrics ############
# Metrics available at HTTP URL /metrics and /metrics/plugins/:pluginId
[metrics]
enabled = true
interval_seconds = 10
# Disable total stats (stat_totals_*) metrics to be generated
disable_total_stats = false
# The interval at which the total stats collector will update the stats. Default is 1800 seconds.
total_stats_collector_interval_seconds = 1800
#If both are set, basic auth will be required for the metrics endpoints.
basic_auth_username = foo
basic_auth_password = bar
If basic auth is enabled for the internal metrics endpoint, it is not accessible via the browser. (The browsers do not pop-up the dialog box to provide basic auth credentials).
What did you expect to happen?
If basic auth is enabled, the browser should pop-up the dialogue box to fill the username and password of the metrics endpoint and the metrics should be visible ic case of right credentials.
Did this work before?
no
How do we reproduce it?
enable internal metrics and set the basic auth username and password in the ini file
start the grafana and open the http://:3000/metrics endpoint
I have identified the fix for this issue and would like to open the PR.
Is the bug inside a dashboard panel?
No response
Environment (with versions)?
Grafana: latest (I have checked by building the binary from main branch)
OS: Ubuntu
Browser: Chrome/Edge
Grafana platform?
None
Datasource(s)?
No response
The text was updated successfully, but these errors were encountered:
What happened?
If basic auth is enabled for the internal metrics endpoint, it is not accessible via the browser. (The browsers do not pop-up the dialog box to provide basic auth credentials).
What did you expect to happen?
If basic auth is enabled, the browser should pop-up the dialogue box to fill the username and password of the metrics endpoint and the metrics should be visible ic case of right credentials.
Did this work before?
no
How do we reproduce it?
I have identified the fix for this issue and would like to open the PR.
Is the bug inside a dashboard panel?
No response
Environment (with versions)?
Grafana: latest (I have checked by building the binary from main branch)
OS: Ubuntu
Browser: Chrome/Edge
Grafana platform?
None
Datasource(s)?
No response
The text was updated successfully, but these errors were encountered: