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

wip: update config dependency #11458

Conversation

codeboten
Copy link
Contributor

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.

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>
@mjnowen
Copy link

mjnowen commented Oct 23, 2024

Related: #11478

@mjnowen
Copy link

mjnowen commented Oct 23, 2024

Please can we get this PR completed and merged as its causing me a broken CI pipeline/build at the moment.

@codeboten
Copy link
Contributor Author

@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

@mjnowen
Copy link

mjnowen commented Oct 24, 2024

Thanks @codeboten. FYI. I've been able to work around my issue temporarily with a replace pkg version for now, so this issue is important but I'm no longer broken.

Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Nov 12, 2024
@codeboten
Copy link
Contributor Author

closing this in favour of #11611

@codeboten codeboten closed this Nov 19, 2024
github-merge-queue bot pushed a commit that referenced this pull request Jan 24, 2025
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>
sfc-gh-sili pushed a commit to sfc-gh-sili/opentelemetry-collector that referenced this pull request Feb 3, 2025
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants