Skip to content

Commit

Permalink
[googelcloudexporter] Fixed configuration path in README (#31404)
Browse files Browse the repository at this point in the history
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:**
#31403 

---------

Co-authored-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
  • Loading branch information
dhrp and fatsheep9146 committed Mar 7, 2024
1 parent cccb429 commit 368fcdf
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 368fcdf

Please sign in to comment.