Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpAMP Bridge: Applier support for OTel CRD v1beta1 API Version #3080

Merged

Conversation

gdfast
Copy link
Contributor

@gdfast gdfast commented Jun 27, 2024

Description: Updates the opamp bridge's config applier interface and client to support opentelemetry.io/v1beta1, explicitly removing support for applying OpenTelemetryCollector configurations of the opentelemetry.io/v1alph1 version

Link to tracking Issue(s): 2985

Testing: Updated existing client and agent unit tests; functionally tested the bridge by running it and making sure it didn't hit any errors at steady state. Did the same after launching collectors with v1beta1 and v1alpha1 specs.

Documentation: n/a

**Description**: Updates the opamp bridge's config applier interface and client to support opentelemetry.io/v1beta1, explicitly removing support for applying OpenTelemetryCollector configurations of the opentelemetry.io/v1alph1 version

**Link to tracking Issue(s)**: open-telemetry#2985

**Testing**: Update

Documentation: n/a
@gdfast gdfast requested a review from a team as a code owner June 27, 2024 22:31
Copy link
Contributor

@jaronoff97 jaronoff97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two minor thoughts, certainly nothing blocking. Overall this looks great though! Pretty clean implementation. Were you able to confirm the behavior of the bridge when running in a cluster that has both v1alpha1 and v1beta1 collectors? We don't have any e2e tests for this today, but it would be great to confirm this manually.

cmd/operator-opamp-bridge/operator/client.go Show resolved Hide resolved
cmd/operator-opamp-bridge/operator/client.go Outdated Show resolved Hide resolved
@gdfast
Copy link
Contributor Author

gdfast commented Jul 8, 2024

two minor thoughts, certainly nothing blocking. Overall this looks great though! Pretty clean implementation. Were you able to confirm the behavior of the bridge when running in a cluster that has both v1alpha1 and v1beta1 collectors? We don't have any e2e tests for this today, but it would be great to confirm this manually.

Just wanted to note that I talked live with Jacob and he guided me through some manual, functional testing. Jacob is also adding e2e tests that will increase coverage.

@jaronoff97 jaronoff97 merged commit e9bd73d into open-telemetry:main Jul 9, 2024
33 checks passed
@gdfast gdfast deleted the gfast/opamp-bridge/v1beta1-support branch July 9, 2024 16:19
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.

Bridge should pull from v1beta1 too
3 participants