Skip to content

Commit

Permalink
Integration tests: increase TSDB retention time of prometheus (#1458)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariomac authored Dec 13, 2024
1 parent ced612b commit 627e23e
Show file tree
Hide file tree
Showing 30 changed files with 0 additions and 60 deletions.
2 changes: 0 additions & 2 deletions test/integration/docker-compose-1.16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config${PROM_CONFIG_SUFFIX}.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-1.17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config${PROM_CONFIG_SUFFIX}.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config${PROM_CONFIG_SUFFIX}.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-go-otel-grpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config-promscrape.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-go-otel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config${PROM_CONFIG_SUFFIX}.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-grpc-http2-mux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config-promscrape.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-http2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config-promscrape.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-java-host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-java-pid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-java-system-wide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-multiexec-host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
- --log.level=debug
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-multiexec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
- --log.level=debug
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-netolly-direction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config${PROM_CONFIG_SUFFIX}.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-netolly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config${PROM_CONFIG_SUFFIX}.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-nodeclient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config${PROM_CONFIG_SUFFIX}.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-other-grpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config${PROM_CONFIG_SUFFIX}.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-php-fpm-sock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
- --log.level=debug
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-php-fpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
- --log.level=debug
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-python-sql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ services:
image: quay.io/prometheus/prometheus:v2.53.0
container_name: prometheus
command:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config${PROM_CONFIG_SUFFIX}.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ spec:
- name: prometheus
image: quay.io/prometheus/prometheus:v2.53.0
args:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumeMounts:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/k8s/manifests/02-prometheus-otelscrape.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ spec:
- name: prometheus
image: quay.io/prometheus/prometheus:v2.53.0
args:
- --storage.tsdb.retention.time=10m
- --config.file=/etc/prometheus/prometheus-config.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumeMounts:
Expand Down
2 changes: 0 additions & 2 deletions test/integration/k8s/manifests/02-prometheus-promscrape.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ spec:
- name: prometheus
image: quay.io/prometheus/prometheus:v2.53.0
args:
- --storage.tsdb.retention.time=1m
- --config.file=/etc/prometheus/prometheus-config-promscrape-k8s-test.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
volumeMounts:
Expand Down

0 comments on commit 627e23e

Please sign in to comment.