Skip to content

Commit

Permalink
Replace dynamically populated endpoint with placeholder. Shortcode is…
Browse files Browse the repository at this point in the history
… nested too deep inside site-region.
  • Loading branch information
brett0000FF committed Jan 6, 2025
1 parent 3d15f07 commit b19fd27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/opentelemetry/otlp_logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ If you are using [OpenTelemetry automatic instrumentation][3], set the following

```shell
export OTEL_EXPORTER_OTLP_LOGS_PROTOCOL="http/protobuf"
export OTEL_EXPORTER_OTLP_LOGS_ENDPOINT="{{< region-param key="otlp_logs_endpoint" >}}"
export OTEL_EXPORTER_OTLP_LOGS_ENDPOINT="${YOUR_ENDPOINT}" // Replace this with the correct endpoint
export OTEL_EXPORTER_OTLP_LOGS_HEADERS="dd-protocol=otlp,dd-api-key=${DD_API_KEY}"
```

Expand Down Expand Up @@ -91,7 +91,7 @@ Configure your `config.yaml` like this:
```yaml
exporters:
otlphttp:
logs_endpoint: {{< region-param key="otlp_logs_endpoint" >}}
logs_endpoint: ${YOUR_ENDPOINT} // Replace this with the correct endpoint
headers:
dd-protocol: "otlp"
dd-api-key: ${env:DD_API_KEY}
Expand Down

0 comments on commit b19fd27

Please sign in to comment.