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

[cmd/builder] Allow setting DefaultScheme in builder config #10296

Merged

Conversation

TylerHelmuth
Copy link
Member

Description

Allows configuring DefaultScheme via the builder config.

Link to tracking issue

Related to #10259
Related to #10290

Testing

Local testing and unit tests

@TylerHelmuth TylerHelmuth requested review from a team and jpkrohling June 3, 2024 16:09
Copy link

codecov bot commented Jun 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.63%. Comparing base (bb4955e) to head (b1818bd).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10296   +/-   ##
=======================================
  Coverage   92.62%   92.63%           
=======================================
  Files         386      386           
  Lines       18236    18237    +1     
=======================================
+ Hits        16892    16893    +1     
  Misses       1000     1000           
  Partials      344      344           

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

Copy link
Member

@jpkrohling jpkrohling left a comment

Choose a reason for hiding this comment

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

Other than the naming issue that @codeboten mentioned, this might need some documentation as well.

cmd/builder/README.md Outdated Show resolved Hide resolved
cmd/builder/internal/config/default.yaml Outdated Show resolved Hide resolved
@TylerHelmuth TylerHelmuth requested a review from jpkrohling June 3, 2024 20:49
.chloggen/builder-configure-default-scheme.yaml Outdated Show resolved Hide resolved
cmd/builder/README.md Outdated Show resolved Hide resolved
Co-authored-by: Evan Bradley <11745660+evan-bradley@users.noreply.github.com>
Co-authored-by: Evan Bradley <11745660+evan-bradley@users.noreply.github.com>
Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

After thinking about this some more, i think conf_resolver is a bit easier to configure. I suggested all the changes in this PR if you agree

cmd/builder/README.md Outdated Show resolved Hide resolved
cmd/builder/internal/config/default.yaml Outdated Show resolved Hide resolved
cmd/builder/internal/command_test.go Outdated Show resolved Hide resolved
cmd/builder/internal/command_test.go Outdated Show resolved Hide resolved
cmd/builder/internal/command_test.go Outdated Show resolved Hide resolved
cmd/builder/internal/builder/main_test.go Outdated Show resolved Hide resolved
cmd/builder/internal/builder/main_test.go Outdated Show resolved Hide resolved
cmd/builder/internal/builder/config.go Outdated Show resolved Hide resolved
cmd/builder/internal/builder/config.go Outdated Show resolved Hide resolved
cmd/builder/README.md Outdated Show resolved Hide resolved
TylerHelmuth and others added 2 commits June 4, 2024 10:07
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
@codeboten codeboten merged commit d136b6d into open-telemetry:main Jun 4, 2024
48 checks passed
@github-actions github-actions bot added this to the next release milestone Jun 4, 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.

4 participants