Skip to content

Commit ad277bf

Browse files
Merge pull request #14959 from rabbitmq/mergify/bp/v4.2.x/pr-14953
Upgrade RabbitMQ Prometheus sample docker images (backport #14953)
2 parents 645c188 + fcd26fd commit ad277bf

File tree

4 files changed

+5
-30
lines changed

4 files changed

+5
-30
lines changed

deps/rabbitmq_prometheus/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ DOCKER_COMPOSE_FILES := $(wildcard docker/docker-compose-*.yml)
4444
.PHONY: $(DOCKER_COMPOSE_FILES)
4545
$(DOCKER_COMPOSE_FILES):
4646
@cd docker && \
47-
docker-compose --file $(@F) $(RUN) ; \
47+
docker compose --file $(@F) $(RUN) ; \
4848
true
4949
.PHONY: down
5050
down: RUN = down
@@ -53,7 +53,7 @@ down: $(DOCKER_COMPOSE_FILES) # Stop all containers
5353
# Defined as explicit, individual targets so that autocompletion works
5454
define DOCKER_COMPOSE_UP
5555
cd docker && \
56-
docker-compose --file docker-compose-$(@F).yml up --detach
56+
docker compose --file docker-compose-$(@F).yml up --detach
5757
endef
5858
.PHONY: metrics
5959
metrics: # Run all metrics containers: Grafana, Prometheus & friends

deps/rabbitmq_prometheus/docker/docker-compose-metrics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ services:
6262
expose:
6363
- 8080
6464
# https://hub.docker.com/r/google/cadvisor/tags
65-
image: google/cadvisor:v0.33.0
65+
image: gcr.io/cadvisor/cadvisor
6666
networks:
6767
- "rabbitmq-prometheus"
6868
volumes:

deps/rabbitmq_prometheus/docker/docker-compose-overview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ volumes:
1313
services:
1414
rmq0: &rabbitmq
1515
# https://hub.docker.com/r/pivotalrabbitmq/rabbitmq/tags
16-
image: pivotalrabbitmq/rabbitmq:master-otp-max
16+
image: rabbitmq:4-management
1717
networks:
1818
- "rabbitmq-prometheus"
1919
ports:

deps/rabbitmq_prometheus/docker/rabbitmq-overview-definitions.json

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,7 @@
1111
"write": ".*"
1212
}
1313
],
14-
"policies": [
15-
{
16-
"apply-to": "queues",
17-
"definition": {"ha-mode": "exactly", "ha-params": 1},
18-
"name": "ha1",
19-
"pattern": "ha1.*",
20-
"priority": 0,
21-
"vhost": "/"
22-
},
23-
{
24-
"apply-to": "queues",
25-
"definition": {"ha-mode": "exactly", "ha-params": 2},
26-
"name": "ha2",
27-
"pattern": "ha2.*",
28-
"priority": 0,
29-
"vhost": "/"
30-
},
31-
{
32-
"apply-to": "queues",
33-
"definition": {"ha-mode": "exactly", "ha-params": 3},
34-
"name": "ha3",
35-
"pattern": "ha3.*",
36-
"priority": 0,
37-
"vhost": "/"
38-
}
39-
],
14+
"policies": [],
4015
"users": [
4116
{
4217
"hashing_algorithm": "rabbit_password_hashing_sha256",

0 commit comments

Comments
 (0)