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

Move service.[Collector|NewSvcHandler|CollectorSettings|State|NewCommand] to collector package #6608

Merged
merged 3 commits into from
Dec 6, 2022

Conversation

bogdandrutu
Copy link
Member

@bogdandrutu bogdandrutu commented Nov 23, 2022

Updates #5564

@bogdandrutu bogdandrutu requested review from a team and Aneurysm9 November 23, 2022 01:22
@codecov
Copy link

codecov bot commented Nov 23, 2022

Codecov Report

Base: 90.87% // Head: 90.89% // Increases project coverage by +0.02% 🎉

Coverage data is based on head (56aaa6f) compared to base (bf2e0a8).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6608      +/-   ##
==========================================
+ Coverage   90.87%   90.89%   +0.02%     
==========================================
  Files         244      244              
  Lines       14165    14161       -4     
==========================================
  Hits        12872    12872              
+ Misses       1043     1039       -4     
  Partials      250      250              
Impacted Files Coverage Δ
service/collector.go 76.31% <ø> (ø)
service/config.go 100.00% <ø> (ø)
service/config_provider.go 78.57% <ø> (ø)
otelcol/otelcoltest/config.go 76.00% <100.00%> (ø)
config/connector.go 100.00% <0.00%> (+66.66%) ⬆️

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 bogdandrutu force-pushed the depcollector branch 5 times, most recently from a9d4c0b to fcedaef Compare November 23, 2022 17:16
service/config_provider.go Outdated Show resolved Hide resolved
collector/collector.go Outdated Show resolved Hide resolved
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.

Please rebase 👍🏻

@bogdandrutu bogdandrutu force-pushed the depcollector branch 3 times, most recently from becf08f to 6f4ef86 Compare December 5, 2022 19:53
@dmitryax
Copy link
Member

dmitryax commented Dec 5, 2022

This is part of #5564, right? Can we link it in the description?

service/settings.go Outdated Show resolved Hide resolved
* Instrument obsreport.Processor

* add processor promchecker tests

* add chloggen

* run make genpdata and fix linter errors

* address review feedback and retest

* pass cfg into createOtelMetrics
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.

Just a couple of comments, otherwise looks good

otelcol/moved.go Outdated Show resolved Hide resolved
service/collector.go Outdated Show resolved Hide resolved
Bogdan Drutu and others added 2 commits December 6, 2022 13:55
Co-authored-by: Alex Boten <alex@boten.ca>
Co-authored-by: Alex Boten <alex@boten.ca>
@bogdandrutu bogdandrutu merged commit be168a0 into open-telemetry:main Dec 6, 2022
@bogdandrutu bogdandrutu deleted the depcollector branch December 6, 2022 22:59
jaronoff97 pushed a commit to lightstep/opentelemetry-collector that referenced this pull request Dec 14, 2022
…and] to collector package (open-telemetry#6608)

* Instrument obsreport.Processor (open-telemetry#6607)

* Instrument obsreport.Processor

* add processor promchecker tests

* add chloggen

* run make genpdata and fix linter errors

* address review feedback and retest

* pass cfg into createOtelMetrics

* Update otelcol/moved.go

Co-authored-by: Alex Boten <alex@boten.ca>

* Update service/collector.go

Co-authored-by: Alex Boten <alex@boten.ca>

Co-authored-by: Moh Osman <59479562+moh-osman3@users.noreply.github.com>
Co-authored-by: Alex Boten <alex@boten.ca>
jaronoff97 pushed a commit to lightstep/opentelemetry-collector that referenced this pull request Dec 14, 2022
…and] to collector package (open-telemetry#6608)

* Instrument obsreport.Processor (open-telemetry#6607)

* Instrument obsreport.Processor

* add processor promchecker tests

* add chloggen

* run make genpdata and fix linter errors

* address review feedback and retest

* pass cfg into createOtelMetrics

* Update otelcol/moved.go

Co-authored-by: Alex Boten <alex@boten.ca>

* Update service/collector.go

Co-authored-by: Alex Boten <alex@boten.ca>

Co-authored-by: Moh Osman <59479562+moh-osman3@users.noreply.github.com>
Co-authored-by: Alex Boten <alex@boten.ca>
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