Skip to content
Open
Changes from all 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
36 changes: 36 additions & 0 deletions content/en/opentelemetry/setup/otlp_ingest_in_the_agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ otlp_config:
protocols:
grpc:
endpoint: 0.0.0.0:4317
metrics:
enabled: true
traces:
enabled: true
logs:
enabled: false
```
For HTTP, default port 4318:

Expand All @@ -61,6 +67,12 @@ otlp_config:
protocols:
http:
endpoint: 0.0.0.0:4318
metrics:
enabled: true
traces:
enabled: true
logs:
enabled: false
```

Alternatively, configure the endpoints by providing the port through the environment variables:
Expand Down Expand Up @@ -182,6 +194,12 @@ These configurations can be applied through either the <code>docker</code> comma
grpc:
endpoint: 0.0.0.0:4317
enabled: true
metrics:
enabled: true
traces:
enabled: true
logs:
enabled: false
```

For HTTP:
Expand All @@ -192,6 +210,12 @@ These configurations can be applied through either the <code>docker</code> comma
http:
endpoint: 0.0.0.0:4318
enabled: true
metrics:
enabled: true
traces:
enabled: true
logs:
enabled: false
```

This enables each protocol in the default port (`4317` for OTLP/gRPC and `4318` for OTLP/HTTP).
Expand Down Expand Up @@ -233,6 +257,12 @@ This enables each protocol in the default port (`4317` for OTLP/gRPC and `4318`
protocols:
grpc:
enabled: true
metrics:
enabled: true
traces:
enabled: true
logs:
enabled: false
```
For HTTP:
```yaml
Expand All @@ -242,6 +272,12 @@ This enables each protocol in the default port (`4317` for OTLP/gRPC and `4318`
protocols:
http:
enabled: true
metrics:
enabled: true
traces:
enabled: true
logs:
enabled: false
```

This enables each protocol in the default port (`4317` for OTLP/gRPC and `4318` for OTLP/HTTP).
Expand Down