Skip to content

Commit

Permalink
[googelcloudexporter] Fixed configuration path in README (open-teleme…
Browse files Browse the repository at this point in the history
…try#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 <zhaoziqi9146@gmail.com>
  • Loading branch information
2 people authored and DougManton committed Mar 13, 2024
1 parent a834564 commit 7059d40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exporter/googlecloudexporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ When running the Collector in a Docker container, a credentials file can be pass

```
docker run \
--volume ~/service-account-key.json:/etc/otel/key.json \
--volume $(pwd)/config.yaml:/etc/otel/config.yaml \
--env GOOGLE_APPLICATION_CREDENTIALS=/etc/otel/key.json \
--volume ~/service-account-key.json:/etc/otelcol-contrib/key.json \
--volume $(pwd)/config.yaml:/etc/otelcol-contrib/config.yaml \
--env GOOGLE_APPLICATION_CREDENTIALS=/etc/otelcol-contrib/key.json \
--expose 4317 \
--expose 55681 \
--rm \
Expand Down

0 comments on commit 7059d40

Please sign in to comment.