-
Notifications
You must be signed in to change notification settings - Fork 630
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add distributor limits (grafana/phlare#510)
This PR introduce limits and runtime config with it to allow reloading limits per tenants. For now only limits of ingestion are implemented but I'm planning to follow with more. The overrides exporter is also added to export those limits as Prometheus metrics. Usage: `phlare -runtime-config.file=./overrides.yaml --config.file=./phlare.yaml` ``` cat overrides.yaml overrides: "anonymous": ingestion_rate_mb: 0.1 ingestion_burst_size_mb: 0.001 ``` A lot of this code is adapted from Loki and Mimir.
- Loading branch information
1 parent
5f5223a
commit 53e7117
Showing
29 changed files
with
2,567 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.