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

[Draft; don't merge] v2.0.0-alpha #2427

Draft
wants to merge 512 commits into
base: main
Choose a base branch
from
Draft

[Draft; don't merge] v2.0.0-alpha #2427

wants to merge 512 commits into from

Conversation

darccio
Copy link
Contributor

@darccio darccio commented Dec 12, 2023

What does this PR do?

This PR is a preview of the changes that will be merged into main for v2 release as github.com/DataDog/dd-trace-go/v2.

Motivation

These are the main motivations behind releasing a v2:

  • Migrate from gopkg.in: this causes pain in enterprise customers.
  • Long due refactor: moving away from interfaces in favor of concrete types in the API is a requirement to avoid situations where we had to hack a solution because adding functions caused breaking changes.
  • Mitigate false-positive results from third party security scanners: due to our bloated go.mod pulling contrib’s dependencies. Also, remove deprecated dependencies’ contribs.
  • Reduce library misuse: introduce better patterns, like using context to start spans to ensure trace propagation.
  • Long backlog of proposals blocked waiting for a never-getting-planned v2.

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.

For Datadog employees:

  • If this PR touches code that handles credentials of any kind, such as Datadog API keys, I've requested a review from @DataDog/security-design-and-guidance.
  • This PR doesn't touch any of that.

Unsure? Have a question? Request a review!

ddtrace/example_test.go Outdated Show resolved Hide resolved
ddtrace/opentelemetry/span.go Outdated Show resolved Hide resolved
ddtrace/opentelemetry/tracer_test.go Outdated Show resolved Hide resolved
internal/appsec/waf_test.go Outdated Show resolved Hide resolved
internal/appsec/emitter/httpsec/http.go Show resolved Hide resolved
internal/appsec/trace/grpctrace/grpc.go Show resolved Hide resolved
internal/contrib/httptrace/httptrace.go Show resolved Hide resolved
internal/appsec/listener/grpcsec/grpc.go Show resolved Hide resolved
internal/appsec/waf.go Outdated Show resolved Hide resolved
Copy link

github-actions bot commented May 1, 2024

This PR is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the stale Stuck for more than 1 month label May 1, 2024
@darccio darccio removed the stale Stuck for more than 1 month label May 2, 2024
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.

None yet

6 participants