Skip to content

go.mod: module go.opentelemetry.io/collector/pdata@latest found (v1.21.0), but does not contain package go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental#3042

Merged
darccio merged 1 commit into
mainfrom
eliottness/fix-go-get-v1
Dec 17, 2024

Conversation

@eliottness

@eliottness eliottness commented Dec 17, 2024

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR exist because of errors in the CI like this one

To sum things up, 1 OTel dependency has a breaking change and an other OTel dependency is breaking because of it. And on top of that, for some reason, go get -u upgrades only one of them and not the other which ends up breaking go mod tidy.

The dependency with the faulty go.mod should be github.com/DataDog/datadog-agent/pkg/trace.

To counter all of that, we should be able to simply transform the dependency breaking into a non-transitive dependency do take complete control over it and supersede the minimum version declared in the faulty go.mod

Reviewer's Checklist

  • Changed code has unit tests for its functionality at or near 100% coverage.
  • System-Tests covering this feature have been added and enabled with the va.b.c-dev version tag.
  • There is a benchmark for any new code, or changes to existing code.
  • If this interacts with the agent in a new way, a system test has been added.
  • Add an appropriate team label so this PR gets put in the right place for the release notes.
  • Non-trivial go.mod changes, e.g. adding new modules, are reviewed by @DataDog/dd-trace-go-guild.
  • For internal contributors, a matching PR should be created to the v2-dev branch and reviewed by @DataDog/apm-go.

Unsure? Have a question? Request a review!

Signed-off-by: Eliott Bouhana <[email protected]>
@eliottness
eliottness marked this pull request as ready for review December 17, 2024 10:42
@eliottness
eliottness requested review from a team as code owners December 17, 2024 10:42
@datadog-datadog-prod-us1

Copy link
Copy Markdown

Datadog Report

Branch report: eliottness/fix-go-get-v1
Commit report: b19dd9f
Test service: dd-trace-go

✅ 0 Failed, 5112 Passed, 70 Skipped, 2m 54.23s Total Time

@pr-commenter

pr-commenter Bot commented Dec 17, 2024

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2024-12-17 11:21:37

Comparing candidate commit 2a9aa50 in PR branch eliottness/fix-go-get-v1 with baseline commit 5a8a82c in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 59 metrics, 0 unstable metrics.

@darccio
darccio merged commit cd21985 into main Dec 17, 2024
@darccio
darccio deleted the eliottness/fix-go-get-v1 branch December 17, 2024 13:10
@darccio

darccio commented Dec 17, 2024

Copy link
Copy Markdown
Member

@RomainMuller I'd recommend to cherry-pick this into v1.71.0 release branch cc @eliottness

darccio pushed a commit that referenced this pull request Dec 17, 2024
…1.0), but does not contain package go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental (#3042)

Signed-off-by: Eliott Bouhana <[email protected]>
@rostidev

Copy link
Copy Markdown

Hi. Could you release 1.70.2 with this fix as well?

@darccio

darccio commented Dec 18, 2024

Copy link
Copy Markdown
Member

@rosti-il We are close to release v1.71.0 but I leave the decision to this month's release manager @RomainMuller

PS: you can fix it locally by applying the same "blank import" pattern we did in our tracer.

RomainMuller pushed a commit that referenced this pull request Dec 18, 2024
…1.0), but does not contain package go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental (#3042)

Signed-off-by: Eliott Bouhana <[email protected]>
@RomainMuller

Copy link
Copy Markdown
Contributor

I confirm this will be rolled into v1.71.x

e-n-0 added a commit that referenced this pull request Dec 23, 2024
ddtrace/tracer: initialize runtimeMetricsV2 with statsd "direct" client (#3006)

Co-authored-by: Felix Geisendörfer <[email protected]>
Co-authored-by: Nayef Ghattas <[email protected]>

fix(.github/workflows): add tags-ignore to avoid running CI on pushing tags for contribs and other nested modules (#3005)

Co-authored-by: Hannah Kim <[email protected]>

contrib/envoyproxy: envoy external processing support (#2895)

This PR adds a new gRPC Interceptor (StreamServerInterceptor) to support the interception of ext_proc v3 calls to gRPC server. When the interceptor is applied, all messages of the external processing protocol are instrumented without returning an handle to the original server code

Co-authored-by: Eliott Bouhana <[email protected]>
Co-authored-by: Flavien Darche <[email protected]>

add go mod to workflows/apps (#3036)

go.mod: module go.opentelemetry.io/collector/pdata@latest found (v1.21.0), but does not contain package go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental (#3042)

Signed-off-by: Eliott Bouhana <[email protected]>

chore: update latest majors (#2993)
e-n-0 added a commit that referenced this pull request Dec 23, 2024
ddtrace/tracer: initialize runtimeMetricsV2 with statsd "direct" client (#3006)

Co-authored-by: Felix Geisendörfer <[email protected]>
Co-authored-by: Nayef Ghattas <[email protected]>

fix(.github/workflows): add tags-ignore to avoid running CI on pushing tags for contribs and other nested modules (#3005)

Co-authored-by: Hannah Kim <[email protected]>

contrib/envoyproxy: envoy external processing support (#2895)

This PR adds a new gRPC Interceptor (StreamServerInterceptor) to support the interception of ext_proc v3 calls to gRPC server. When the interceptor is applied, all messages of the external processing protocol are instrumented without returning an handle to the original server code

Co-authored-by: Eliott Bouhana <[email protected]>
Co-authored-by: Flavien Darche <[email protected]>

add go mod to workflows/apps (#3036)

go.mod: module go.opentelemetry.io/collector/pdata@latest found (v1.21.0), but does not contain package go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental (#3042)

Signed-off-by: Eliott Bouhana <[email protected]>

chore: update latest majors (#2993)
@hiromaily

Copy link
Copy Markdown

+1

eliottness added a commit that referenced this pull request Jan 2, 2025
…1.0), but does not contain package go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental (#3042)

Signed-off-by: Eliott Bouhana <[email protected]>
@rostidev

rostidev commented Jan 6, 2025

Copy link
Copy Markdown

I see https://github.com/DataDog/dd-trace-go/actions/runs/12585119784/job/35076220193 still failing with the same error, although this fix is already applied into that branch (release-v1.71.x)

go: datadoghq.dev/orchestrion/_integration-tests/tests/dd-span imports
	gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer imports
	gopkg.in/DataDog/dd-trace-go.v1/internal imports
	go.opentelemetry.io/collector/pdata/pprofile imports
	go.opentelemetry.io/collector/pdata/internal/data/protogen/collector/profiles/v1experimental: module go.opentelemetry.io/collector/pdata@latest found (v1.22.0), but does not contain package go.opentelemetry.io/collector/pdata/internal/data/protogen/collector/profiles/v1experimental
go: datadoghq.dev/orchestrion/_integration-tests/tests/dd-span imports
	gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer imports
	gopkg.in/DataDog/dd-trace-go.v1/internal imports
	go.opentelemetry.io/collector/pdata/pprofile imports
	go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental: module go.opentelemetry.io/collector/pdata@latest found (v1.22.0), but does not contain package go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental

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.

5 participants