Drop two more timseries and decrease retention to 90d.

This commit is contained in:
2024-05-30 19:29:54 +01:00
parent 36a5dfc198
commit 732439be74

View File

@@ -28,7 +28,7 @@ job "prometheus" {
args = [ args = [
"--storage.tsdb.path", "/opt/prometheus", "--storage.tsdb.path", "/opt/prometheus",
"--web.listen-address", "0.0.0.0:9090", "--web.listen-address", "0.0.0.0:9090",
"--storage.tsdb.retention.time", "730d", "--storage.tsdb.retention.time", "90d",
"--web.enable-admin-api" "--web.enable-admin-api"
] ]
force_pull = true force_pull = true
@@ -105,7 +105,7 @@ scrape_configs:
target_label: 'job_name' target_label: 'job_name'
metric_relabel_configs: metric_relabel_configs:
- source_labels: [__name__] - source_labels: [__name__]
regex: '(traefik_service_request_duration_seconds_bucket|traefik_entrypoint_request_duration_seconds_bucket)' regex: '(traefik_service_request_duration_seconds_bucket|traefik_entrypoint_request_duration_seconds_bucket|redis_commands_latencies_usec_bucket|vector_component_received_events_count_bucket)'
action: drop action: drop
- job_name: 'consul-server' - job_name: 'consul-server'