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

Update otelcol to use the new client package API #6244

Merged
merged 4 commits into from
Nov 18, 2021

Conversation

jpkrohling
Copy link
Member

@jpkrohling jpkrohling commented Nov 12, 2021

Fixes open-telemetry/opentelemetry-collector/issues/4420 by removing the explicit usage of client.Client in favor of the underlying helpers (confighttp/configgrpc), or by using the new client.Info, as it's the case for the k8sprocessor. The second commit also updates to the latest OpenTelemetry Collector, which includes the changes to the client package.

Fixes #6370 by changing the redisreceiver to use the new API, as required by the update to the latest OpenTelemetry Collector. The two fixes are part of the same PR, otherwise, contrib would be in a broken state after an update to otelcol.

I recommend reviewing this PR filtering only the "*.go" files. The go.mod/go.sum are automatic changes, made via make update-otel.

Signed-off-by: Juraci Paixão Kröhling [email protected]

@bogdandrutu
Copy link
Member

Please update the PR.

@jpkrohling jpkrohling changed the title New client.Info usage Update otelcol to use the new client package API Nov 18, 2021
@jpkrohling
Copy link
Member Author

Status: I'm still working on fixing other components making use of the removed API.

Signed-off-by: Juraci Paixão Kröhling <[email protected]>
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
@jpkrohling
Copy link
Member Author

I believe this is now ready for review.

@bogdandrutu bogdandrutu merged commit b26216c into open-telemetry:main Nov 18, 2021
jpkrohling referenced this pull request in jpkrohling/opentelemetry-collector-contrib Nov 23, 2021
jpkrohling added a commit that referenced this pull request Nov 23, 2021
* Update otel to latest

Signed-off-by: Juraci Paixão Kröhling <[email protected]>

* Change OIDC authenticator to use AuthData

Requires #6244
Fixes open-telemetry/opentelemetry-collector#4421

Signed-off-by: Juraci Paixão Kröhling <[email protected]>
povilasv referenced this pull request in coralogix/opentelemetry-collector-contrib Dec 19, 2022
Remove custom rendering for slice and map values and use Value.AsString() instead
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.

redisreceiver uses removed API InitFromMap Change receivers in contrib to not use client.Client
3 participants