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

[extension/observer] add ID to Endpoint.Env() #12751

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

rmfitzpatrick
Copy link
Contributor

Description:
Adding a feature - Currently the observer.Endpoint.ID isn't included in the Endpoint.Env() made available to Notify subscribers like the Receiver Creator, which can make associating dynamically created receivers with a specific Endpoint difficult, especially as endpoints change over time and as similar targets exist with much of the same details. These changes add an "id" field to the env to be able to definitively determine which endpoint is being sourced.

Testing:
Updated existing unit tests

Documentation:
Updated receiver creator readme with Env details.

@rmfitzpatrick rmfitzpatrick requested a review from a team July 27, 2022 14:09
@rmfitzpatrick rmfitzpatrick requested a review from dmitryax as a code owner July 27, 2022 14:09
@dmitryax dmitryax added the ready to merge Code review completed; ready to merge by maintainers label Jul 27, 2022
@bogdandrutu bogdandrutu merged commit 77a1bbb into open-telemetry:main Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants