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

chore: updated collector to v0.36.0 #143

Merged
merged 2 commits into from
Sep 22, 2021

Conversation

willarmiros
Copy link
Contributor

Updates to upstream collector v0.36.0. I was pretty confident that I should be adding the newly separated components to collector/lambdacomponens/go.mod instead of collector/go.mod, but would appreciate if someone could double check.

@@ -2,4 +2,13 @@ module github.com/open-telemetry/opentelemetry-lambda/collector/lambdacomponents

go 1.16
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think this file's go.sum isn't updated yet

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be good now.

require go.opentelemetry.io/collector v0.33.0
require (
go.opentelemetry.io/collector v0.36.0
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusremotewriteexporter v0.36.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering where did this list come from?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's based on all the components here that were no longer in the core collector: https://github.com/open-telemetry/opentelemetry-lambda/blob/main/collector/lambdacomponents/default.go#L19-L30

@willarmiros
Copy link
Contributor Author

Fixed the breaking change with the new Command interface by referencing this PR: open-telemetry/opentelemetry-collector#4074

@@ -5,6 +5,21 @@ go 1.16
replace github.com/open-telemetry/opentelemetry-lambda/collector/lambdacomponents => ./lambdacomponents

require (
github.com/cespare/xxhash/v2 v2.1.2 // indirect
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any reason not to have these indirect imports? I noticed we were deleting them before.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should keep whatever go adds

@@ -5,6 +5,21 @@ go 1.16
replace github.com/open-telemetry/opentelemetry-lambda/collector/lambdacomponents => ./lambdacomponents

require (
github.com/cespare/xxhash/v2 v2.1.2 // indirect
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should keep whatever go adds

@anuraaga anuraaga merged commit 5b93b49 into open-telemetry:main Sep 22, 2021
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.

2 participants