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

[opampsupervisor] add telemetry settings to the opamp supervisor #38017

Merged

Conversation

bacherfl
Copy link
Contributor

@bacherfl bacherfl commented Feb 18, 2025

Description

This PR adds options to configure the telemetry settings for the OpAmp supervisor. This will enable the supervisor, in addition to logging, export metrics and traces as well. For the sake of consistency, I also moved the logger of the supervisor into the telemetrySettings property of the supervisor.
This PR does not add any traces or metrics yet, but just provides the groundwork to add those later on.

Link to tracking issue

Fixes #35582

Testing

Added Unit tests. E2E test can be added once we start emitting traces and metrics.

Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
# Conflicts:
#	cmd/opampsupervisor/go.mod
#	cmd/opampsupervisor/go.sum
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@bacherfl bacherfl marked this pull request as ready for review February 19, 2025 12:06
@bacherfl bacherfl requested a review from a team as a code owner February 19, 2025 12:06
# Conflicts:
#	cmd/opampsupervisor/go.mod
#	cmd/opampsupervisor/go.sum
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
# Conflicts:
#	cmd/opampsupervisor/go.mod
#	cmd/opampsupervisor/go.sum
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
# Conflicts:
#	cmd/opampsupervisor/go.mod
#	cmd/opampsupervisor/go.sum
#	cmd/opampsupervisor/supervisor/supervisor.go
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@evan-bradley evan-bradley merged commit d1f0321 into open-telemetry:main Mar 4, 2025
155 of 156 checks passed
@github-actions github-actions bot added this to the next release milestone Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[cmd/opampsupervisor] Add configurable telemetry options for supervisor
3 participants