From dd4389e4a86e83d06806b9be53cc1e972d0a5a43 Mon Sep 17 00:00:00 2001 From: Jean-Frederic Mainville Date: Wed, 10 Dec 2025 09:14:55 -0500 Subject: [PATCH 1/2] docs(opentelemetry): add examples for enabling metrics, traces, and logs in OTLP ingest configs --- .../setup/otlp_ingest_in_the_agent.md | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/content/en/opentelemetry/setup/otlp_ingest_in_the_agent.md b/content/en/opentelemetry/setup/otlp_ingest_in_the_agent.md index 6c9d0c3d913..9c22f9434ba 100644 --- a/content/en/opentelemetry/setup/otlp_ingest_in_the_agent.md +++ b/content/en/opentelemetry/setup/otlp_ingest_in_the_agent.md @@ -52,6 +52,12 @@ otlp_config: protocols: grpc: endpoint: 0.0.0.0:4317 + metrics: + enabled: true + traces: + enabled: true + logs: + enabled: true ``` For HTTP, default port 4318: @@ -61,6 +67,12 @@ otlp_config: protocols: http: endpoint: 0.0.0.0:4318 + metrics: + enabled: true + traces: + enabled: true + logs: + enabled: true ``` Alternatively, configure the endpoints by providing the port through the environment variables: @@ -182,6 +194,12 @@ These configurations can be applied through either the docker comma grpc: endpoint: 0.0.0.0:4317 enabled: true + metrics: + enabled: true + traces: + enabled: true + logs: + enabled: false ``` For HTTP: @@ -192,6 +210,12 @@ These configurations can be applied through either the docker 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). @@ -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: true ``` For HTTP: ```yaml @@ -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: true ``` This enables each protocol in the default port (`4317` for OTLP/gRPC and `4318` for OTLP/HTTP). From 4eedfd140e23e3b721ef103a794f58018988bc2a Mon Sep 17 00:00:00 2001 From: Jean-Frederic Mainville Date: Wed, 10 Dec 2025 09:21:14 -0500 Subject: [PATCH 2/2] docs(opentelemetry): update OTLP ingest examples to disable logs by default --- .../en/opentelemetry/setup/otlp_ingest_in_the_agent.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/en/opentelemetry/setup/otlp_ingest_in_the_agent.md b/content/en/opentelemetry/setup/otlp_ingest_in_the_agent.md index 9c22f9434ba..effc2eb48cc 100644 --- a/content/en/opentelemetry/setup/otlp_ingest_in_the_agent.md +++ b/content/en/opentelemetry/setup/otlp_ingest_in_the_agent.md @@ -57,7 +57,7 @@ otlp_config: traces: enabled: true logs: - enabled: true + enabled: false ``` For HTTP, default port 4318: @@ -72,7 +72,7 @@ otlp_config: traces: enabled: true logs: - enabled: true + enabled: false ``` Alternatively, configure the endpoints by providing the port through the environment variables: @@ -262,7 +262,7 @@ This enables each protocol in the default port (`4317` for OTLP/gRPC and `4318` traces: enabled: true logs: - enabled: true + enabled: false ``` For HTTP: ```yaml @@ -277,7 +277,7 @@ This enables each protocol in the default port (`4317` for OTLP/gRPC and `4318` traces: enabled: true logs: - enabled: true + enabled: false ``` This enables each protocol in the default port (`4317` for OTLP/gRPC and `4318` for OTLP/HTTP).