Skip to content

Remove deprecated service.Config #6774

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 1 commit into from
Dec 13, 2022

Conversation

bogdandrutu
Copy link
Member

No description provided.

@bogdandrutu bogdandrutu requested review from a team and codeboten December 13, 2022 16:24
telemetry *telemetry.Telemetry
telemetrySettings component.TelemetrySettings
host *serviceHost
telemetryInitializer *telemetryInitializer
}

func New(set Settings) (*Service, error) {
func New(ctx context.Context, set Settings, cfg ConfigService) (*Service, error) {
Copy link
Member Author

Choose a reason for hiding this comment

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

Changes to New and Settings are not breaking since these 2 were made public this cycle.

@codecov
Copy link

codecov bot commented Dec 13, 2022

Codecov Report

Base: 90.15% // Head: 90.16% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (3af61c2) compared to base (55e6fa0).
Patch coverage: 98.92% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6774   +/-   ##
=======================================
  Coverage   90.15%   90.16%           
=======================================
  Files         248      249    +1     
  Lines       14291    14299    +8     
=======================================
+ Hits        12884    12892    +8     
  Misses       1159     1159           
  Partials      248      248           
Impacted Files Coverage Δ
service/config.go 100.00% <ø> (ø)
service/service.go 68.80% <96.00%> (+0.50%) ⬆️
otelcol/collector.go 77.94% <100.00%> (+1.01%) ⬆️
otelcol/config.go 100.00% <100.00%> (ø)
service/host.go 88.23% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@bogdandrutu
Copy link
Member Author

/easycla

@bogdandrutu bogdandrutu merged commit 7ee940d into open-telemetry:main Dec 13, 2022
@bogdandrutu bogdandrutu deleted the rmservicecfg branch December 13, 2022 17:54
jaronoff97 pushed a commit to lightstep/opentelemetry-collector that referenced this pull request Dec 14, 2022
Signed-off-by: Bogdan Drutu <[email protected]>

Signed-off-by: Bogdan Drutu <[email protected]>
jaronoff97 pushed a commit to lightstep/opentelemetry-collector that referenced this pull request Dec 14, 2022
Signed-off-by: Bogdan Drutu <[email protected]>

Signed-off-by: Bogdan Drutu <[email protected]>
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.

2 participants