diff options
| author | Paul Buetow <paul@buetow.org> | 2025-12-31 15:41:54 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-12-31 15:41:54 +0200 |
| commit | ffe1893f3ce0b9be532b56b5db2cfb5ee5cc88e5 (patch) | |
| tree | 894b6c161046bcf8ecaebf21a23d04e5923e0e6b /f3s/prometheus | |
| parent | bb741b58d3ef451ede8b2e04bf2dc16a35f80427 (diff) | |
Enable Prometheus admin API for data deletion
Added web.enable-admin-api flag to allow selective deletion of time series data
via the /api/v1/admin/tsdb endpoints. This enables cleanup of benchmark data
using the delete_series and clean_tombstones APIs.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'f3s/prometheus')
| -rw-r--r-- | f3s/prometheus/persistence-values.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/f3s/prometheus/persistence-values.yaml b/f3s/prometheus/persistence-values.yaml index 966d963..3f8eda9 100644 --- a/f3s/prometheus/persistence-values.yaml +++ b/f3s/prometheus/persistence-values.yaml @@ -27,10 +27,13 @@ kubeControllerManager: prometheus: prometheusSpec: # Enable remote write receiver for accepting historic data with custom timestamps + # Enable admin API for data deletion and management # In Prometheus 3.x, use web flag instead of feature flag additionalArgs: - name: web.enable-remote-write-receiver value: "" + - name: web.enable-admin-api + value: "" # Enable out-of-order ingestion to allow backfilling historic data # even when newer data already exists for the same time series enableFeatures: |
