Skip to content

Commit 87b3898

Browse files
authored
Merge pull request #2755 from myspotontheweb/patch-1
Update opentelemetry.md
2 parents 12ffb8f + d3a9435 commit 87b3898

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

docs/guides/opentelemetry.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,15 @@ OpenTelemetry SDKs and instrumentation libraries can be usually configured via [
2727

2828
```shell
2929
export OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
30-
export OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=http://localhost:9090/api/v1/otlp/v1/metrics
30+
export OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=http://localhost:9090/api/v1/otlp
3131
```
3232

33+
Note:
34+
35+
* The [OpenTelemtry specification](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.50.0/specification/protocol/exporter.md#endpoint-urls-for-otlphttp) states that the OTEL_EXPORTER_OTLP_METRICS_ENDPOINT env var must be used as a base URL. The signal `/v1/metrics` is automatically appended
36+
* See also: [opentelemetry-python #2443](https://github.com/open-telemetry/opentelemetry-python/issues/2443)
37+
38+
3339
Turn off traces and logs:
3440

3541
```shell

0 commit comments

Comments
 (0)