-
Notifications
You must be signed in to change notification settings - Fork 1.7k
otelcol: add telemetry.Factory to Factories #13950
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
base: main
Are you sure you want to change the base?
Conversation
9206919
to
2ef36a1
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #13950 +/- ##
==========================================
+ Coverage 91.66% 91.69% +0.03%
==========================================
Files 654 654
Lines 42626 42629 +3
==========================================
+ Hits 39072 39089 +17
+ Misses 2741 2731 -10
+ Partials 813 809 -4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Add a component for otelcol, and confighttp. The former is for open-telemetry#13950, while the latter is needed to fix .chloggen/13783.yaml.
This reverts commit 0f6f32f.
I need to make another fix to otelcoltest (I've broken datadogconnector tests), moving back to draft. |
Improve the coverage of TestConfigProvider* so it also covers the default telemetry provider code path. Tidy the TestConfigProvider* tests: - Just use a single confmap provider. They're both fakes, so testing one is enough. - Rather than comparing unmarshaled config to unmarshaled config, which is a bit circuitous, construct the expected config struct
Add a component for otelcol, e.g. for open-telemetry#13950
#### Description Add a component for otelcol for #13950 #### Link to tracking issue None #### Testing N/A #### Documentation N/A
Keep the cmd/builder changes, but retain backwards compatibility in otelcol and otelcoltest to ease the transition in contrib.
contrib tests for exporter/alertmanager and exporter/dataset are failing due to unrelated changes in core |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will merge after Monday's release
Description
Add a
TelemetryFactory telemetry.Factory
field tootelcol.Factories
. If it is nil, it will default to anotelconftelemetry
factory.This enables overriding telemetry providers.
Link to tracking issue
Fixes #4970
Testing
Documentation
N/A