Skip to content

Commit

Permalink
Update guides/hosting/configurations/observability/opentelemetry.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sushmangupta authored Jan 4, 2024
1 parent 0e3e788 commit 2384818
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions guides/hosting/configurations/observability/opentelemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,12 @@ Refer to all possible [environment variables](https://opentelemetry.io/docs/inst
The OpenTelemetry extension needs to be configured to export the data to your collector. Here is an example configuration for the OpenTelemetry Collector using gRPC:
```
```text
OTEL_TRACES_EXPORTER=otlp
OTEL_LOGS_EXPORTER=otlp
OTEL_METRICS_EXPORTER=otlp
OTEL_EXPORTER_OTLP_PROTOCOL=grpc
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
```
If you use gRPC with OTLP, you will need to install also `open-telemetry/transport-grpc open-telemetry/exporter-otlp` as composer packages.
Expand Down

0 comments on commit 2384818

Please sign in to comment.