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

Split Instrumentation.Run to Load and Run #1245

Merged
merged 16 commits into from
Nov 18, 2024
Merged

Conversation

RonFed
Copy link
Contributor

@RonFed RonFed commented Nov 6, 2024

Resolves #1240

  • Split Instrumentation.Run to 2 parts - Load and Run.
  • Remove loadedIndicator.
  • Add Manager.Stop which should be called if Instrumentation.Close is called in between Load and Run.
  • Improve state handling inside the manager and protect it with a mutex.

@RonFed RonFed marked this pull request as ready for review November 6, 2024 12:48
@RonFed RonFed requested a review from a team as a code owner November 6, 2024 12:48
@MrAlias MrAlias added this to the v0.18.0-alpha milestone Nov 7, 2024
instrumentation.go Show resolved Hide resolved
internal/pkg/instrumentation/manager.go Show resolved Hide resolved
internal/pkg/instrumentation/manager.go Outdated Show resolved Hide resolved
@RonFed RonFed requested a review from MrAlias November 17, 2024 16:38
CHANGELOG.md Outdated Show resolved Hide resolved
internal/pkg/instrumentation/bpffs/bpfsfs_other.go Outdated Show resolved Hide resolved
instrumentation.go Outdated Show resolved Hide resolved
@MrAlias MrAlias merged commit 5007dc3 into open-telemetry:main Nov 18, 2024
27 checks passed
@MrAlias MrAlias mentioned this pull request Nov 20, 2024
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.

Improve Instrumentation.Run API
3 participants