Repository navigation
fix: validate TLS files before exporter startup - #1478
Conversation
Signed-off-by: Will Killian <[email protected]>
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes. ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📜 Recent review details
WalkthroughRelay now checks configured TLS files during plugin preflight and again when starting the exporter. Preflight reports invalid PEM material and mismatched client certificates and keys without connecting to the collector. ChangesOTLP TLS preflight
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix Possibly related PRs
Merge Risk: ⚪ Minimal · up to
|
Overview
TLS validation can report success even when certificate or key files are unusable. This change reports these errors before startup.
Details
Validation:
No public API changes.
Where should the reviewer start?
Start with
crates/core/src/observability/otel_tls.rs, then review the new validation test incrates/core/tests/unit/observability/otel_tls_tests.rs.Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)
Summary by CodeRabbit
Bug Fixes
Documentation