From 1bbca3adb9c6bef2737a02d0d1eac2df95dc239f Mon Sep 17 00:00:00 2001 From: avilevy18 <105948922+avilevy18@users.noreply.github.com> Date: Fri, 22 Nov 2024 17:04:44 -0500 Subject: [PATCH 1/2] Fixing error in config for internal-telemetry.md - collector failed with config error: ``` error decoding 'service.telemetry': decoding failed due to the following error(s): 'traces.processors': source data must be an array or slice, got map ``` - OTLP Exporter was trying to send with SSL, to receiver that was not set up with SSL. ``` warn grpc@v1.67.1/clientconn.go:1379 [core] [Channel #1 SubChannel #8]grpc: addrConn.createTransport failed to connect to {Addr: "127.0.0.1:14317", ServerName: "localhost:14317", }. Err: connection error: desc = "transport: authentication handshake failed: tls: first record does not look like a TLS handshake" {"grpc_log": true} ``` --- content/en/docs/collector/internal-telemetry.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/collector/internal-telemetry.md b/content/en/docs/collector/internal-telemetry.md index 022f8278da18..d7dc385bef44 100644 --- a/content/en/docs/collector/internal-telemetry.md +++ b/content/en/docs/collector/internal-telemetry.md @@ -168,14 +168,14 @@ service: exporter: otlp: protocol: grpc/protobuf - endpoint: localhost:14317 + endpoint: http://localhost:14317 traces: processors: - batch: + - batch: exporter: otlp: protocol: grpc/protobuf - endpoint: localhost:14317 + endpoint: http://localhost:14317 ``` {{% alert title="Caution" color="warning" %}} From 3f2cbe36605e4712ecd94f947a5794bda0741512 Mon Sep 17 00:00:00 2001 From: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com> Date: Mon, 25 Nov 2024 19:55:40 +0000 Subject: [PATCH 2/2] Results from /fix:format --- content/en/docs/collector/internal-telemetry.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/en/docs/collector/internal-telemetry.md b/content/en/docs/collector/internal-telemetry.md index d7dc385bef44..b7aa01f34841 100644 --- a/content/en/docs/collector/internal-telemetry.md +++ b/content/en/docs/collector/internal-telemetry.md @@ -171,11 +171,11 @@ service: endpoint: http://localhost:14317 traces: processors: - - batch: - exporter: - otlp: - protocol: grpc/protobuf - endpoint: http://localhost:14317 + - batch: + exporter: + otlp: + protocol: grpc/protobuf + endpoint: http://localhost:14317 ``` {{% alert title="Caution" color="warning" %}}