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] Expose host and port independently in endpoint env #33572

Merged
merged 2 commits into from
Jun 27, 2024

Conversation

crobert-1
Copy link
Member

Description:

The observer extension currently only exposes endpoint in its endpoint environment that is made available to the receiver creator for dynamically configuring receivers. Some receivers require host and port to be configured separately, so endpoint containing both is incompatible with those receivers. Exposing these independently allows the receiver creator to be compatible with those receivers.

Link to tracking Issue:
Resolves #33571

Testing:
Added testing, existing testing passes

Documentation:
Added example usage in receiver creator README.

Comment on lines +235 to +236
"host": "127.0.0.1",
"port": "1234",
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the test case that ensures the Target gets properly parsed as host and port.

@dmitryax dmitryax merged commit c641095 into open-telemetry:main Jun 27, 2024
154 checks passed
@github-actions github-actions bot added this to the next release milestone Jun 27, 2024
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.

[extension/observer] Expose host and port separately in endpoint env
3 participants