Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upFeature request: Add Prometheus retention duration switch to dynamically respond to disk space's free storage #4092
Comments
This comment has been minimized.
This comment has been minimized.
|
Dupe of #968. |
brian-brazil
closed this
Apr 17, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 22, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
phanama commentedApr 17, 2018
•
edited
Proposal
Feature request:
Auto-configure prometheus' retention duration in case of not enough disk space left.
Make a "true"/"false" switch to make Prometheus delete oldest data that are still in its retention duration window (not stale) if it is set to true, until some disk space threshold is achieved to make Prometheus keep running even if its disk space is full (this requires the organization's/users' soft-policy that the oldest non-stale data can be deleted, though).
Use case. Why is this important?:
Sometimes metrics are quite dynamic (in some use cases, we can add or delete metrics from a running Prometheus), so is its storage space calculation result in https://prometheus.io/docs/prometheus/latest/storage/