Skip to content

Commit

Permalink
Update collector version with short code
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffany76 committed Dec 6, 2024
1 parent 89169d9 commit b5f9f79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/en/docs/security/config-best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ host) by connecting to `127.0.0.1:4567`. Here is an example `docker run`
command:

```shell
docker run --hostname my-hostname --name container-name -p 127.0.0.1:4567:4317 otel/opentelemetry-collector:0.104.0
docker run --hostname my-hostname --name container-name -p 127.0.0.1:4567:4317 otel/opentelemetry-collector:{{% param vers %}}
```

#### Docker Compose
Expand All @@ -152,7 +152,7 @@ The Docker `compose.yaml` file:
```yaml
services:
otel-collector:
image: otel/opentelemetry-collector-contrib:0.104.0
image: otel/opentelemetry-collector-contrib:{{% param vers %}}
ports:
- '4567:4317'
```
Expand Down Expand Up @@ -193,7 +193,7 @@ spec:
spec:
containers:
- name: collector
image: otel/opentelemetry-collector:0.104.0
image: otel/opentelemetry-collector:{{% param vers %}}
ports:
- containerPort: 4317
hostPort: 4317
Expand Down

0 comments on commit b5f9f79

Please sign in to comment.