Skip to content

Commit 1cc5c25

Browse files
docs(opentelemetry): add additional configuration parameters for OpenTelemetry in Kubernetes (#33268)
* docs(opentelemetry): add examples for enabling metrics, traces, and logs in OTLP ingest configs * docs(opentelemetry): update OTLP ingest examples to disable logs by default * Remove metrics and traces enabling from configuration Removed metrics and traces enabling configuration from various sections. * Remove metrics and traces enabling missed in previous commit Removed metrics and traces enabling from configuration. --------- Co-authored-by: Brett Blue <[email protected]>
1 parent 66bc642 commit 1cc5c25

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

content/en/opentelemetry/setup/otlp_ingest_in_the_agent.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ otlp_config:
5252
protocols:
5353
grpc:
5454
endpoint: 0.0.0.0:4317
55+
logs:
56+
enabled: false
5557
```
5658
For HTTP, default port 4318:
5759
@@ -61,6 +63,8 @@ otlp_config:
6163
protocols:
6264
http:
6365
endpoint: 0.0.0.0:4318
66+
logs:
67+
enabled: false
6468
```
6569
6670
Alternatively, configure the endpoints by providing the port through the environment variables:
@@ -182,6 +186,8 @@ These configurations can be applied through either the <code>docker</code> comma
182186
grpc:
183187
endpoint: 0.0.0.0:4317
184188
enabled: true
189+
logs:
190+
enabled: false
185191
```
186192
187193
For HTTP:
@@ -192,6 +198,8 @@ These configurations can be applied through either the <code>docker</code> comma
192198
http:
193199
endpoint: 0.0.0.0:4318
194200
enabled: true
201+
logs:
202+
enabled: false
195203
```
196204
197205
This enables each protocol in the default port (`4317` for OTLP/gRPC and `4318` for OTLP/HTTP).
@@ -233,6 +241,8 @@ This enables each protocol in the default port (`4317` for OTLP/gRPC and `4318`
233241
protocols:
234242
grpc:
235243
enabled: true
244+
logs:
245+
enabled: false
236246
```
237247
For HTTP:
238248
```yaml
@@ -242,6 +252,8 @@ This enables each protocol in the default port (`4317` for OTLP/gRPC and `4318`
242252
protocols:
243253
http:
244254
enabled: true
255+
logs:
256+
enabled: false
245257
```
246258
247259
This enables each protocol in the default port (`4317` for OTLP/gRPC and `4318` for OTLP/HTTP).

0 commit comments

Comments
 (0)