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

fix(deps): update module gopkg.in/datadog/dd-trace-go.v1 to v1.59.0 #163

Merged

Conversation

self-hosted-renovatebot[bot]
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
gopkg.in/DataDog/dd-trace-go.v1 require minor v1.58.1 -> v1.59.0

Release Notes

DataDog/dd-trace-go (gopkg.in/DataDog/dd-trace-go.v1)

v1.59.0

Compare Source

Highlights

Important Information

⚠️ Starting with this release, dd-trace-go requires libdl.so.2[^2] and libm.so.6 to be present in the deployment environment (except Windows, where Application Security Management is not supported). This should be the case for the vast majority of environments (e.g: Redhat, Debian, Alpine, Amazon Linux, Ubuntu) but might not be the case in some minimal-footprint environments (e.g: BusyBox, docker images from scratch). In situations when these requirements aren't met, you might see errors similar to (the exact error may be slightly different depending on the platform):

  • If ld.so is missing (the environment is unable to load dynamic executables) or is not the expected flavor (the binary was built on one platform, and runs on another which uses a different interpreter):
    exec /path/to/binary: no such file or directory
  • When one of the required shared libraries is missing (libdl.so.2 in this example):
    /path/to/binary: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory

If this happens, please create a GitHub issue so we can reconsider this new default requirement. In the meantime, you can work around the problem by adding the datadog.no_waf build tag (go build -tags='datadog.no_waf' ...), which completely disables all Application Security Management features and removes these new requirements.

[^2]: In some build environments, libdl functionality is provided by libc; the ldd <binary> command can be used to determine the exact runtime requirements

Application Security Management (ASM) Remote Activation

Application Security Management (ASM) can now be remotely activated by APM Tracing users via Datadog Remote Configuration, granted that the application was built either:

  • with CGO enabled;
  • with CGO_ENABLED=0 and with the appsec build tag (this setup already required libdl.so.2[^2] and libm.so.6 to be present in the deployment environment on previous releases — this remains true).

Remote activation can be performed from different places in Datadog UI, such as ASM's Service Setup or APM's Service Catalog (hovering the ASM Status column).

ASM features can still be enabled locally using the DD_APPSEC_ENABLED=1 environment variable.

Setting the datadog.no_waf build tag completely disables all ASM features, removing the ability for local as well as remote activation.

Application Performance Monitoring (APM)

This release includes a fix to several library integrations which could have previously caused data races related to start options. This was fixed in database/sql, gin-gonic/gin, go-chi/chi.v5, go-chi/chi, google.golang.org/grpc.v12, google.golang.org/grpc, gorilla/mux, julienschmidt/httprouter, k8s.io/client-go/kubernetes, labstack/echo.v4, labstack/echo, net/http, and urfave/negroni. We recommend you update to this version if you are using any of these integrations.

Beta: In-app APM library configuration of trace sampling rate, HTTP header tags and custom tags.
This feature has a known bug: deleting the configuration entry in-app won't reset the configuration locally, this will be fixed in the next version of dd-trace-go (v1.60.0).

What's Changed

Application Security Management (ASM)
Application Performance Monitoring (APM)
General

New Contributors

Full Changelog: DataDog/dd-trace-go@v1.58.0...v.1.59.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Copy link
Collaborator

@cresta-robot cresta-robot left a comment

Choose a reason for hiding this comment

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

Auto approved by cresta-robot

@self-hosted-renovatebot self-hosted-renovatebot bot merged commit 4f177a0 into master Jan 9, 2024
6 checks passed
@self-hosted-renovatebot self-hosted-renovatebot bot deleted the renovate/gopkg.in-datadog-dd-trace-go.v1-1.x branch January 9, 2024 14:53
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.

1 participant