Skip to content

Commit

Permalink
added small tutorial section at the end of exporter docs
Browse files Browse the repository at this point in the history
  • Loading branch information
apreifsteck committed Jun 7, 2024
1 parent e8f676d commit b80d1ac
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion content/en/docs/languages/erlang/exporters.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,15 @@ config :opentelemetry,
config :opentelemetry_exporter,
otlp_protocol: :http_protobuf,
otlp_endpoint: "http://localhost:4318"
# otlp_endpoint: "http://otel:4318" if using dockerfile
# otlp_endpoint: "http://otel:4318" if using docker compose file
```

{{% /tab %}} {{< /tabpane >}}

You can see your traces by running `docker compose up` in one terminal, then `mix phx.server` in another.
After sending some requests through the app, go to `http://localhost:16686` and select `roll_dice_app` from the Service drop down,
then click "Find Traces".

## Gotchas
Some environments do not allow containers to execute as root users. If you
work in an environment like this, you can add `user: "1001"` as a top-level key/value
Expand Down

0 comments on commit b80d1ac

Please sign in to comment.