Repository navigation
feat(observability): add OTLP TLS and mTLS configuration - #1422
Merged
Merged
Conversation
Add certificate and private key file settings for each OTLP endpoint across plugins and language bindings. Support shared and signal-specific OTLP TLS environment variables while keeping explicit endpoint credentials isolated. Add collector-backed TLS tests and document the configuration contract. Relates to RELAY-1109. Signed-off-by: Will Killian <[email protected]>
Contributor
License DiffCompared against Lockfile license changesLockfile License ChangesRustAdded
Removed
Updated/Changed
NodeAdded
Removed
Updated/Changed
PythonAdded
Removed
Updated/Changed
Status output |
Signed-off-by: Will Killian <[email protected]>
ericevans-nv
approved these changes
Oct 21, 2026
This branch was previously 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.
Overview
Let Relay send OTLP data directly to collectors that require TLS or mutual TLS (mTLS). Add an optional
tlsobject for each plugin or code endpoint, plus support for the standard OTLP certificate environment variables.Details
The following checks passed during implementation:
just test-rust: 6,042 tests passed with the inherited stderr-format override removed.just test-python.just test-node.just --set ci true test-go.just docs-linkcheck. The published redirect comparison was skipped because the documentation service returned 403.The branch starts from the latest upstream
main. Staged pre-commit checks and the seven TLS tests also passed on this base.Where should the reviewer start?
Start with
crates/core/src/observability/otel_tls.rsfor the shared TLS settings and transport setup. Then reviewcrates/core/tests/unit/observability/otel_tls_tests.rsfor collector tests across code, plugin, and environment configuration.Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)
Summary by CodeRabbit
New Features
Bug Fixes
Documentation