Skip to content

Commit 68b1d9f

Browse files
Merge pull request #479 from couchbase/DOC-11764--docker-otel-prometheus
Backgrounding docker otel for prometheus to run
2 parents 654e8b1 + fa62f49 commit 68b1d9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/howtos/pages/observability-metrics.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ scrape_configs:
183183
Now run `opentelemetry-collector` and Prometheus:
184184
```
185185
docker network create shared
186-
docker run --rm --name otel -v "${PWD}/otel.yaml:/etc/otel-local-config.yaml" -p 4317:4317 -p 10000:10000 --network shared otel/opentelemetry-collector --config /etc/otel-local-config.yaml
186+
docker run --rm --name otel -v "${PWD}/otel.yaml:/etc/otel-local-config.yaml" -p 4317:4317 -p 10000:10000 --network shared otel/opentelemetry-collector --config /etc/otel-local-config.yaml &
187187
docker run --rm --name prometheus -p 9090:9090 --mount type=bind,source="${PWD}/prometheus.yaml,destination=/etc/prometheus/prometheus.yml" --network shared prom/prometheus
188188
```
189189

0 commit comments

Comments
 (0)