-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing error in config for internal-telemetry.md #5672
Conversation
- 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 [email protected]/clientconn.go:1379 [core] [Channel open-telemetry#1 SubChannel open-telemetry#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} ```
Hi @avilevy18, could you sign the CLA please? @open-telemetry/collector-approvers, FYI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @codeboten
Signed, sorry for the long wait |
/fix:format |
You triggered fix:format action run at https://github.com/open-telemetry/opentelemetry.io/actions/runs/12017747156 |
IMPORTANT: (RE-)RUN
|
Attempted to run collector-contrib with the example config posted on: https://opentelemetry.io/docs/collector/internal-telemetry/#self-monitoring
Found a few errors:
Adding
http://
beforelocalhost
in the exporters endpoint, enforces an insecure connection.Attempted to use
insecure: true
option but nothing happened.The
insecure
config options doesn't seem to do anything:https://github.com/open-telemetry/opentelemetry-collector/blob/f74890a3889a82f57b839a8b316bb43b1e55f53e/service/telemetry/internal/otelinit/config.go#L216