Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions content/en/observability_pipelines/sources/opentelemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ Configure your OTel exporters to point to HTTP or gRPC.

### HTTP configuration example

The Worker exposes the HTTP endpoint on port 4318. This is an example of configuring your OTel exporters with HTTP using Python:
The Worker exposes the HTTP endpoint on port 4318, which is the default port. You can configure the port value in the Worker.

For example, to configure an OTel exporter over HTTP in Python:

```python
from opentelemetry.exporter.otlp.proto.http._log_exporter import OTLPLogExporter
Expand All @@ -55,7 +57,9 @@ The Worker exposes the HTTP endpoint on port 4318. This is an example of configu

### gRPC configuration example

The Worker exposes the gRPC endpoint on port 4317. This is an example of configuring your OTel exporters with gRPC:
The Worker exposes the gRPC endpoint on port 4317, which is the default port. You can configure the port value in the Worker.

For example, to configure an OTel exporter over gRPC in Python:

```python
from opentelemetry.exporter.otlp.proto.grpc._log_exporter import OTLPLogExporter
Expand All @@ -64,7 +68,7 @@ The Worker exposes the gRPC endpoint on port 4317. This is an example of configu
)
```

Based on these example configurations, these are values you enter for the following environment variables:
Set the listener address environment variables to the following default values. If you configured different port values in the Worker, use those instead.

- HTTP listener address: `worker:4318`
- gRPC listener address: `worker:4317`
Expand Down
Loading