Skip to content

-remove tracer(of:) instrument(of:) #16

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

Merged
merged 5 commits into from
Oct 22, 2020
Merged

Conversation

ktoso
Copy link
Member

@ktoso ktoso commented Oct 21, 2020

Removes the APIs allowing getting a specific instrument or tracer from the system.

These could be abused and in reality should not be used in real systems.
We use them in tests so I added them just there for testing purposes -- they all use the internal _find which we do need because we need to get the tracer using that API.

@ktoso ktoso requested review from tomerd and slashmo October 21, 2020 02:17
Copy link
Collaborator

@slashmo slashmo left a comment

Choose a reason for hiding this comment

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

LGTM

Co-authored-by: Moritz Lang <hi@slashmo.codes>
@ktoso ktoso changed the title -remote tracer(of:) instrument(of:) -remove tracer(of:) instrument(of:) Oct 21, 2020
@ktoso ktoso merged commit be4aadb into main Oct 22, 2020
@ktoso ktoso deleted the wip-specific-instrument-getting-rm branch October 22, 2020 00:33
@ktoso
Copy link
Member Author

ktoso commented Oct 22, 2020

Thanks for the reviews

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.

3 participants