Skip to content

Commit 4aac63b

Browse files
Merge pull request #2393 from kenliao94/change_prometheus_documentation
update documentation for RabbitMQ - Prometheus integration
2 parents 43b786d + a3161e3 commit 4aac63b

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

docs/prometheus/index.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,10 @@ Their installation is out of scope of this guide. Use
107107
git version
108108
```
109109

110+
> docker-compose CLI is deprecated, use `docker compose` instead
111+
110112
```bash
111-
docker info && docker-compose version
113+
docker info && docker compose version
112114
```
113115

114116
on the command line to verify that the necessary tools are available.
@@ -130,11 +132,11 @@ Next use Docker Compose manifests to run a pre-configured RabbitMQ cluster, a Pr
130132
workload that will produce the metrics displayed in the RabbitMQ overview dashboard:
131133

132134
```bash
133-
docker-compose -f docker-compose-metrics.yml up -d
134-
docker-compose -f docker-compose-overview.yml up -d
135+
docker compose -f docker-compose-metrics.yml up -d
136+
docker compose -f docker-compose-overview.yml up -d
135137
```
136138

137-
The `docker-compose` commands above can also be executed with a `make` target:
139+
The `docker compose` commands above can also be executed with a `make` target:
138140

139141
```bash
140142
make metrics overview
@@ -293,10 +295,10 @@ to simulate different workloads.
293295
Their goal is to exercise all metrics in the RabbitMQ Overview dashboard. These examples are meant to be
294296
edited and extended as developers and operators see fit when exploring various metrics, their thresholds and behaviour.
295297

296-
To deploy a workload app, run `docker-compose -f docker-compose-overview.yml up -d`.
298+
To deploy a workload app, run `docker compose -f docker-compose-overview.yml up -d`.
297299
The same command will redeploy the app after the file has been updated.
298300

299-
To delete all workload containers, run `docker-compose -f docker-compose-overview.yml down` or
301+
To delete all workload containers, run `docker compose -f docker-compose-overview.yml down` or
300302

301303
```bash
302304
gmake down
@@ -318,7 +320,7 @@ For example, the `docker-compose-dist-tls.yml` Compose manifest is meant to stre
318320
the [inter-node communication links](./clustering). This workload uses a lot of system resources.
319321
`docker-compose-qq.yml` contains a quorum queue workload.
320322

321-
To stop and delete all containers used by the workloads, run `docker-compose -f [file] down` or
323+
To stop and delete all containers used by the workloads, run `docker compose -f [file] down` or
322324

323325
```bash
324326
make down

0 commit comments

Comments
 (0)