mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Usage stats: Tune collector execution startup and interval (#72688)
* Do not update statistics at service collector startup * Configurable collector interval * Introduce initial random delay * Prevent reporting metrics until the stats have been collected * Apply suggestion from code review
This commit is contained in:
committed by
GitHub
parent
ba723c911a
commit
afb59af79b
@@ -1711,6 +1711,10 @@ Flush/write interval when sending metrics to external TSDB. Defaults to `10`.
|
||||
|
||||
If set to `true`, then total stats generation (`stat_totals_*` metrics) is disabled. Default is `false`.
|
||||
|
||||
### total_stats_collector_interval_seconds
|
||||
|
||||
Sets the total stats collector interval. The default is 1800 seconds (30 minutes).
|
||||
|
||||
### basic_auth_username and basic_auth_password
|
||||
|
||||
If both are set, then basic authentication is required to access the metrics endpoint.
|
||||
|
Reference in New Issue
Block a user