Skip to content

Commit 7059d40

Browse files
dhrpfatsheep9146
authored andcommitted
[googelcloudexporter] Fixed configuration path in README (open-telemetry#31404)
The google cloud exporter README suggests that the configfile is in /etc/otel/config.yaml; but it's not. (and I pulled my hair out for a while trying to figure out why my config was not working). **Description:** I changed the path used for the config file in the example to reflect the path used / set in the Dockerfile. **Link to tracking Issue:** open-telemetry#31403 --------- Co-authored-by: Ziqi Zhao <[email protected]>
1 parent a834564 commit 7059d40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exporter/googlecloudexporter/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ When running the Collector in a Docker container, a credentials file can be pass
5656

5757
```
5858
docker run \
59-
--volume ~/service-account-key.json:/etc/otel/key.json \
60-
--volume $(pwd)/config.yaml:/etc/otel/config.yaml \
61-
--env GOOGLE_APPLICATION_CREDENTIALS=/etc/otel/key.json \
59+
--volume ~/service-account-key.json:/etc/otelcol-contrib/key.json \
60+
--volume $(pwd)/config.yaml:/etc/otelcol-contrib/config.yaml \
61+
--env GOOGLE_APPLICATION_CREDENTIALS=/etc/otelcol-contrib/key.json \
6262
--expose 4317 \
6363
--expose 55681 \
6464
--rm \

0 commit comments

Comments
 (0)