Repository navigation
Use the current OTel plugin config keys for netdata-otel - #563
Open
vkalintiris wants to merge 1 commit into
Open
vkalintiris wants to merge 1 commit into
vkalintiris wants to merge 1 commit into
Conversation
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.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.yamlset the listener withendpoint.path. v2.13 still accepts that name but logs a deprecation warning on every start. The README TLS example also carried removedmetricsand journal-filelogskeys, which current agents reject, so the plugin would not start when the example was copied.Now: both use
receivers.otlp.protocols.grpc.endpointandreceivers.otlp.protocols.grpc.tls.*.Config
otel.yamlswitched to the new receiver keys; the address is still0.0.0.0:<service.port>.otel-signal-viewerandjournal-viewerremoved from the netdata-otelnetdata.conf: neither is a plugin in current agents.Docs
logs/tracesretention matchingvalues.yaml.tls.ca_file) instead of the receiver's client-CA key.charts/netdata/README.mdregenerated with helm-docs v1.14.2.Validation
helm templatewithnetdataOpentelemetry.enabled=truerenders the newotel.yaml.netdata/netdata:v2.13.0with the rendered config and with the README TLS example:otel-pluginstarts, listens on0.0.0.0:4317, no deprecation warning; the TLS run serves TLS.