Skip to content

Demo: Offer TLS settings for remote connections#338

Merged
tigrannajaryan merged 10 commits into
open-telemetry:mainfrom
michel-laterman:feat/tls-connection-settings
May 26, 2025
Merged

Demo: Offer TLS settings for remote connections#338
tigrannajaryan merged 10 commits into
open-telemetry:mainfrom
michel-laterman:feat/tls-connection-settings

Conversation

@michel-laterman
Copy link
Copy Markdown
Contributor

@michel-laterman michel-laterman commented Jan 9, 2025

This is a companion PR to go along with open-telemetry/opamp-spec#205

The example agent has been expanded with the ability to accept various TLS settings for the OpAMP connection.
In order to demo this; this start both the example agent and server, then view the agent in the server UI. There is a new OpAMP connections settings area with the ability to specify and send the TLS min version.

Offer example code for setting the TLS min version through the proposed
new TLSConnectionSettings. Also add a -request-connection-settings flag
to the example agent to demo the agent-initiated CA trust flow.
@michel-laterman michel-laterman force-pushed the feat/tls-connection-settings branch from 2865b33 to 7e672b5 Compare April 16, 2025 17:59
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.40%. Comparing base (d646431) to head (88418aa).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #338      +/-   ##
==========================================
+ Coverage   80.20%   80.40%   +0.20%     
==========================================
  Files          26       26              
  Lines        2495     2495              
==========================================
+ Hits         2001     2006       +5     
+ Misses        383      379       -4     
+ Partials      111      110       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread internal/examples/agent/agent/agent.go Outdated
Comment thread internal/examples/agent/agent/agent.go Outdated
Comment thread internal/examples/agent/agent/agent.go Outdated
Comment thread internal/examples/agent/agent/agent.go Outdated
@michel-laterman michel-laterman force-pushed the feat/tls-connection-settings branch from 6a47c0e to fc7ef55 Compare May 8, 2025 18:24
@tigrannajaryan
Copy link
Copy Markdown
Member

Please update the spec submodule to ffb236cf005642aeb96e5448b005d69d6de1a75a

@michel-laterman michel-laterman marked this pull request as ready for review May 9, 2025 14:47
@michel-laterman michel-laterman requested a review from a team as a code owner May 9, 2025 14:47
@tigrannajaryan
Copy link
Copy Markdown
Member

I will keep this open for a while in case other @open-telemetry/opamp-go-approvers want to take a look.

@tigrannajaryan tigrannajaryan merged commit 4e6e224 into open-telemetry:main May 26, 2025
12 checks passed
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.

2 participants