-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
wip: update config dependency #11458
wip: update config dependency #11458
Conversation
This brings in some breaking changes from the config package, mainly the headers on OTLP exporters are no longer a list of key value pairs but a list of name/value pairs. Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
d5f583b
to
744365d
Compare
Related: #11478 |
Please can we get this PR completed and merged as its causing me a broken CI pipeline/build at the moment. |
@mjnowen working on it. this update requires a pretty substantial update in the collector's internal metrics configuration to preserve backwards compatibility. hoping to get to a good place for this update later this week |
Thanks @codeboten. FYI. I've been able to work around my issue temporarily with a |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
closing this in favour of #11611 |
This PR does a couple of things that I couldn't quite split up so I put together a PR w/ individual commits to help reviewers get through it. This PR does the following: 1. update `go.opentelemetry.io/contrib/config` package to latest. this brings in breaking changes. in order to prevent those breaking changes from impacting end users, i've also added a layer of config unmarshaling 2. updates the collector to instantiate the meter provider (and exporters) via the config package. this allows us to remove all the code in `otelinit`. the reason for including this change was that unmarshaling the config was causing circular dependencies i didn't want to address by moving code that could be deleted around. Replacement for #11458. Fixes #12021 --------- Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
This PR does a couple of things that I couldn't quite split up so I put together a PR w/ individual commits to help reviewers get through it. This PR does the following: 1. update `go.opentelemetry.io/contrib/config` package to latest. this brings in breaking changes. in order to prevent those breaking changes from impacting end users, i've also added a layer of config unmarshaling 2. updates the collector to instantiate the meter provider (and exporters) via the config package. this allows us to remove all the code in `otelinit`. the reason for including this change was that unmarshaling the config was causing circular dependencies i didn't want to address by moving code that could be deleted around. Replacement for open-telemetry#11458. Fixes open-telemetry#12021 --------- Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
This brings in some breaking changes from the config package, mainly the headers on OTLP exporters are no longer a list of key value pairs but a list of name/value pairs.