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

[service] ensure endpoint is prefixed w/ scheme #12258

Merged
merged 3 commits into from
Feb 3, 2025

Conversation

codeboten
Copy link
Contributor

Description

Users can enter the OTLP endpoint w/o a scheme in the prefix. This causes issues with the URL parsing code in the config package.

Fixes #12254

Users can enter the OTLP endpoint w/o a scheme in the prefix. This causes
issues with the URL parsing code in the config package.

Fixes open-telemetry#12254

Signed-off-by: Alex Boten <[email protected]>
@codeboten codeboten requested a review from a team as a code owner February 3, 2025 21:00
@codeboten
Copy link
Contributor Author

Note this code could be removed in the future if we decided to make parsing of the endpoint more strict, but for now it allows users not to make changes to their config

Signed-off-by: Alex Boten <[email protected]>
Copy link

codecov bot commented Feb 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.31%. Comparing base (643a35f) to head (35cd27e).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12258   +/-   ##
=======================================
  Coverage   91.30%   91.31%           
=======================================
  Files         465      466    +1     
  Lines       25658    25686   +28     
=======================================
+ Hits        23426    23454   +28     
  Misses       1816     1816           
  Partials      416      416           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bogdandrutu bogdandrutu added this pull request to the merge queue Feb 3, 2025
Merged via the queue into open-telemetry:main with commit e69ca35 Feb 3, 2025
53 checks passed
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.

regression in service telemetry metrics configuration
3 participants