Skip to content

Use the current OTel plugin config keys for netdata-otel - #563

Open
vkalintiris wants to merge 1 commit into
masterfrom
otel-v2.13-config
Open

vkalintiris wants to merge 1 commit into
masterfrom
otel-v2.13-config

Conversation

@vkalintiris

Copy link
Copy Markdown

Moves the netdata-otel defaults and README TLS example to the OTLP receiver keys Netdata v2.13 uses, and drops two plugin names that no longer exist.

Previously: the default otel.yaml set the listener with endpoint.path. v2.13 still accepts that name but logs a deprecation warning on every start. The README TLS example also carried removed metrics and journal-file logs keys, which current agents reject, so the plugin would not start when the example was copied.
Now: both use receivers.otlp.protocols.grpc.endpoint and receivers.otlp.protocols.grpc.tls.*.

Config

  • Default netdata-otel otel.yaml switched to the new receiver keys; the address is still 0.0.0.0:<service.port>.
  • otel-signal-viewer and journal-viewer removed from the netdata-otel netdata.conf: neither is a plugin in current agents.

Docs

  • README TLS example rewritten on the new schema, with logs/traces retention matching values.yaml.
  • The production note now points clients at their own CA setting (tls.ca_file) instead of the receiver's client-CA key.
  • charts/netdata/README.md regenerated with helm-docs v1.14.2.

Validation

  • helm template with netdataOpentelemetry.enabled=true renders the new otel.yaml.
  • netdata/netdata:v2.13.0 with the rendered config and with the README TLS example: otel-plugin starts, listens on 0.0.0.0:4317, no deprecation warning; the TLS run serves TLS.

Netdata v2.13 renamed the OTLP receiver settings: `endpoint.path` and
the `tls_*_path` keys became `receivers.otlp.protocols.grpc.endpoint`
and `receivers.otlp.protocols.grpc.tls.*`. The old names still work but
log a deprecation warning on every start.

- Switch the default netdata-otel otel.yaml to the new receiver keys.
- Drop `otel-signal-viewer` and `journal-viewer` from the netdata-otel
  netdata.conf: neither is a plugin in current agents.
- Rewrite the README TLS example on the new schema. The old example also
  carried removed `metrics` and journal-file `logs` keys, which current
  agents reject, so the plugin would not start when it was copied.
- Point clients at their own CA setting (`tls.ca_file`) rather than the
  receiver's client-CA key.
@vkalintiris
vkalintiris requested review from a team and ilyam8 as code owners November 30, 2026 09:03
@vkalintiris vkalintiris self-assigned this Nov 30, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant