jgeraigery / reviews-imgproxy

Fast and secure standalone server for resizing and converting remote images
https://imgproxy.net
MIT License
0 stars 0 forks source link

[NEUTRAL] Update module gopkg.in/DataDog/dd-trace-go.v1 to v1.62.0 - autoclosed #15

Closed mend-for-github-com[bot] closed 3 months ago

mend-for-github-com[bot] commented 8 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
gopkg.in/DataDog/dd-trace-go.v1 v1.55.0 -> v1.62.0 age adoption passing confidence

Release Notes

DataDog/dd-trace-go (gopkg.in/DataDog/dd-trace-go.v1) ### [`v1.62.0`](https://togithub.com/DataDog/dd-trace-go/releases/tag/v1.62.0) [Compare Source](https://togithub.com/DataDog/dd-trace-go/compare/v1.61.0...v1.62.0) #### Summary In this release, Application Performance Monitoring (APM) improves header tag normalization, expands support for dynamic instrumentation Application Security Management (ASM) adds support for passlist security events on gRPC. #### What's Changed ##### Application Performance Monitoring (APM) - \[DSM] Close span on produce error in ckgo by [@​mborst](https://togithub.com/mborst) in [https://github.com/DataDog/dd-trace-go/pull/2558](https://togithub.com/DataDog/dd-trace-go/pull/2558) - contrib/database/sql: add in ddh, dddb propagation by [@​tabgok](https://togithub.com/tabgok) in [https://github.com/DataDog/dd-trace-go/pull/2550](https://togithub.com/DataDog/dd-trace-go/pull/2550) - contrib/google.golang.org/grpc: fix flaky tests by removing arbitrary sleeps by [@​Julio-Guerra](https://togithub.com/Julio-Guerra) in [https://github.com/DataDog/dd-trace-go/pull/2584](https://togithub.com/DataDog/dd-trace-go/pull/2584) - contrib/gofiber/fiber.v2: add possibility to exclude spans generation for specific requests by [@​nsakharenko](https://togithub.com/nsakharenko) in [https://github.com/DataDog/dd-trace-go/pull/2583](https://togithub.com/DataDog/dd-trace-go/pull/2583) - ddtrace/tracer: added UnmarshalJSON method to sampling rules by [@​dianashevchenko](https://togithub.com/dianashevchenko) in [https://github.com/DataDog/dd-trace-go/pull/2563](https://togithub.com/DataDog/dd-trace-go/pull/2563) - tracer/remote-config: Subscribe to dynamic instrumentation configs via remote config by [@​grantseltzer](https://togithub.com/grantseltzer) in [https://github.com/DataDog/dd-trace-go/pull/2510](https://togithub.com/DataDog/dd-trace-go/pull/2510) - ddtrace/tracer: go tracer tests lint. by [@​yuanyuanzhao3](https://togithub.com/yuanyuanzhao3) in [https://github.com/DataDog/dd-trace-go/pull/2587](https://togithub.com/DataDog/dd-trace-go/pull/2587) - statsdtest: Move mock statsd client for testing into its own package by [@​mtoffl01](https://togithub.com/mtoffl01) in [https://github.com/DataDog/dd-trace-go/pull/2564](https://togithub.com/DataDog/dd-trace-go/pull/2564) - normalizer: expand "header tag" normalization by [@​mtoffl01](https://togithub.com/mtoffl01) in [https://github.com/DataDog/dd-trace-go/pull/2549](https://togithub.com/DataDog/dd-trace-go/pull/2549) ##### Application Security Management (ASM) - appsec: fix remote security rules update by [@​Hellzy](https://togithub.com/Hellzy) in [https://github.com/DataDog/dd-trace-go/pull/2568](https://togithub.com/DataDog/dd-trace-go/pull/2568) - appsec: remove byte slices from WAF input by [@​eliottness](https://togithub.com/eliottness) in [https://github.com/DataDog/dd-trace-go/pull/2591](https://togithub.com/DataDog/dd-trace-go/pull/2591) - appsec: DD_APPSEC_WAF_TIMEOUT default value: 4ms -> 1ms [@​eliottness](https://togithub.com/eliottness) in [https://github.com/DataDog/dd-trace-go/pull/2591](https://togithub.com/DataDog/dd-trace-go/pull/2591) - contrib/google.golang.org/grpc: security rule passlist support by [@​Julio-Guerra](https://togithub.com/Julio-Guerra) in [https://github.com/DataDog/dd-trace-go/pull/2589](https://togithub.com/DataDog/dd-trace-go/pull/2589) ##### General - Replace Go version 1.18+1.19 with 1.19+1.22.0 by [@​ddyurchenko](https://togithub.com/ddyurchenko) in [https://github.com/DataDog/dd-trace-go/pull/2572](https://togithub.com/DataDog/dd-trace-go/pull/2572) #### Fixes - contrib/gorm.io/gorm.v1: do not panic on open by [@​bendiknesbo](https://togithub.com/bendiknesbo) in [https://github.com/DataDog/dd-trace-go/pull/2560](https://togithub.com/DataDog/dd-trace-go/pull/2560) #### New Contributors - [@​mborst](https://togithub.com/mborst) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2558](https://togithub.com/DataDog/dd-trace-go/pull/2558) - [@​bendiknesbo](https://togithub.com/bendiknesbo) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2560](https://togithub.com/DataDog/dd-trace-go/pull/2560) - [@​tabgok](https://togithub.com/tabgok) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2550](https://togithub.com/DataDog/dd-trace-go/pull/2550) - [@​grantseltzer](https://togithub.com/grantseltzer) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2510](https://togithub.com/DataDog/dd-trace-go/pull/2510) - [@​yuanyuanzhao3](https://togithub.com/yuanyuanzhao3) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2587](https://togithub.com/DataDog/dd-trace-go/pull/2587) - [@​nsakharenko](https://togithub.com/nsakharenko) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2583](https://togithub.com/DataDog/dd-trace-go/pull/2583) **Full Changelog**: https://github.com/DataDog/dd-trace-go/compare/v1.61.0...v1.62.0 ### [`v1.61.0`](https://togithub.com/DataDog/dd-trace-go/releases/tag/v1.61.0) [Compare Source](https://togithub.com/DataDog/dd-trace-go/compare/v1.60.3...v1.61.0) #### Summary In this release, Application Performance Monitoring (APM) adds support for Span Links ([a highly requested feature](https://togithub.com/DataDog/dd-trace-go/issues/1287)!). This feature is currently supported within [Datadog's OpenTelemetry API implementation](https://pkg.go.dev/gopkg.in/DataDog/dd-trace-go.v1@​v1.60.3/ddtrace/opentelemetry). The default trace context propagation order, which is used for traces in distributed workflows, will become `datadog,tracecontext` (previously it was `tracecontext,datadog`). This is not a breaking change, and customers should not experience any negative changes in behavior. If you experience any issues, please reach out to [Datadog support](https://www.datadoghq.com/support/). Other APM features include out-of-the-box library integration support for `github.com/jackc/pgx/v5` and the ability to ignore specific error types in the `github.com/labstack/echo/v4` integration. #### Changes ##### Application Performance Monitoring (APM) - ddtrace/tracer: Switch default context propagation order by [@​JianyiGao](https://togithub.com/JianyiGao) in [https://github.com/DataDog/dd-trace-go/pull/2368](https://togithub.com/DataDog/dd-trace-go/pull/2368) - tracing: Adds support for Span Links by [@​mabdinur](https://togithub.com/mabdinur) in [https://github.com/DataDog/dd-trace-go/pull/2502](https://togithub.com/DataDog/dd-trace-go/pull/2502) - ddtrace/tracer: added tracing_enabled option to remote config by [@​dianashevchenko](https://togithub.com/dianashevchenko) in [https://github.com/DataDog/dd-trace-go/pull/2513](https://togithub.com/DataDog/dd-trace-go/pull/2513) - contrib/labstack/echo.v4: add option to ignore errors by [@​mrkagelui](https://togithub.com/mrkagelui) in [https://github.com/DataDog/dd-trace-go/pull/1567](https://togithub.com/DataDog/dd-trace-go/pull/1567) - contrib/jackc/pgx.v5: add pgx support by [@​renanferr](https://togithub.com/renanferr) in [https://github.com/DataDog/dd-trace-go/pull/2410](https://togithub.com/DataDog/dd-trace-go/pull/2410) - dyngo: dynamically register listeners only if they're needed by [@​RomainMuller](https://togithub.com/RomainMuller) in [https://github.com/DataDog/dd-trace-go/pull/2394](https://togithub.com/DataDog/dd-trace-go/pull/2394) ##### Application Security Management (ASM) ASM Customers upgrading to Go 1.22 should upgrade dd-trace-go or at least upgrade `github.com/DataDog/go-libddwaf` to version `v2.3.1`. Otherwise ASM Threats won't start with the following error: appsec: threats detection cannot be enabled for the following reasons: 1 error occurred: * unsupported Go version: go1.22.0 - appsec: support for go 1.22 by [@​Julio-Guerra](https://togithub.com/Julio-Guerra) in [go-libddwaf#64](https://togithub.com/DataDog/go-libddwaf/pull/64) - appsec: DataDog's WAF ignore field with `ddwaf:"ignore"` by [@​eliottness](https://togithub.com/eliottness) in [go-libddwaf#68](https://togithub.com/DataDog/go-libddwaf/pull/68) - chore: go-libddwaf v2.3.1 by [@​eliottness](https://togithub.com/eliottness) ([Release Notes](https://togithub.com/DataDog/go-libddwaf/releases/tag/v2.3.1)) ##### Profiling - profiler: add pgo tag by [@​felixge](https://togithub.com/felixge) in [https://github.com/DataDog/dd-trace-go/pull/2556](https://togithub.com/DataDog/dd-trace-go/pull/2556) ##### Data Streams Monitoring (DSM) - \[data streams] Track high watermark offsets by [@​piochelepiotr](https://togithub.com/piochelepiotr) in [https://github.com/DataDog/dd-trace-go/pull/2511](https://togithub.com/DataDog/dd-trace-go/pull/2511) ##### General - profiler: skip flaky TestExecutionTraceRandom by [@​nsrip-dd](https://togithub.com/nsrip-dd) in [https://github.com/DataDog/dd-trace-go/pull/2531](https://togithub.com/DataDog/dd-trace-go/pull/2531) - ci/appsec: refresher by [@​Julio-Guerra](https://togithub.com/Julio-Guerra) in [https://github.com/DataDog/dd-trace-go/pull/2537](https://togithub.com/DataDog/dd-trace-go/pull/2537) - internal/namingschema: simplify the namingschema by [@​knusbaum](https://togithub.com/knusbaum) in [https://github.com/DataDog/dd-trace-go/pull/2129](https://togithub.com/DataDog/dd-trace-go/pull/2129) - interna/version: bump version.go to v1.61.0-dev by [@​katiehockman](https://togithub.com/katiehockman) in [https://github.com/DataDog/dd-trace-go/pull/2501](https://togithub.com/DataDog/dd-trace-go/pull/2501) - .github/workflows: fixes apm:ecosystem label for issues and PRs by [@​katiehockman](https://togithub.com/katiehockman) in [https://github.com/DataDog/dd-trace-go/pull/2525](https://togithub.com/DataDog/dd-trace-go/pull/2525) - opentelemetry: refactor span links code for clarity by [@​katiehockman](https://togithub.com/katiehockman) in [https://github.com/DataDog/dd-trace-go/pull/2538](https://togithub.com/DataDog/dd-trace-go/pull/2538) - chore: make the smoke-test workflow usable as go-libddwaf integ test by [@​RomainMuller](https://togithub.com/RomainMuller) in [https://github.com/DataDog/dd-trace-go/pull/2546](https://togithub.com/DataDog/dd-trace-go/pull/2546) - chore: fix smoke test workflow_call situation by [@​RomainMuller](https://togithub.com/RomainMuller) in [https://github.com/DataDog/dd-trace-go/pull/2547](https://togithub.com/DataDog/dd-trace-go/pull/2547) - chore: make git available in smoke-test docker image by [@​RomainMuller](https://togithub.com/RomainMuller) in [https://github.com/DataDog/dd-trace-go/pull/2548](https://togithub.com/DataDog/dd-trace-go/pull/2548) - ci/system-tests: add graphql system tests by [@​Julio-Guerra](https://togithub.com/Julio-Guerra) in [https://github.com/DataDog/dd-trace-go/pull/2554](https://togithub.com/DataDog/dd-trace-go/pull/2554) #### New Contributors - [@​Juneezee](https://togithub.com/Juneezee) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2437](https://togithub.com/DataDog/dd-trace-go/pull/2437) - [@​mabdinur](https://togithub.com/mabdinur) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2502](https://togithub.com/DataDog/dd-trace-go/pull/2502) - [@​renanferr](https://togithub.com/renanferr) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2410](https://togithub.com/DataDog/dd-trace-go/pull/2410) **Full Changelog**: https://github.com/DataDog/dd-trace-go/compare/v1.60.3...v1.61.0 ### [`v1.60.3`](https://togithub.com/DataDog/dd-trace-go/releases/tag/v1.60.3) [Compare Source](https://togithub.com/DataDog/dd-trace-go/compare/v1.60.2...v1.60.3) Fix the version number reported by dd-trace-go to avoid the release candidate label. **Full Changelog**: https://github.com/DataDog/dd-trace-go/compare/v1.60.2...v1.60.3 ### [`v1.60.2`](https://togithub.com/DataDog/dd-trace-go/releases/tag/v1.60.2) [Compare Source](https://togithub.com/DataDog/dd-trace-go/compare/v1.60.1...v1.60.2) ### Summary Removed `inet.af/netaddr` dependency after domain removal. ### Changes #### Fixes - go.mod: remove inet.af/netaddr dependency [#​2553](https://togithub.com/DataDog/dd-trace-go/pull/2553) by [@​darccio](https://togithub.com/darccio) [@​eliottness](https://togithub.com/eliottness) **Full Changelog**: https://github.com/DataDog/dd-trace-go/compare/v1.60.1...v1.60.2 ### [`v1.60.1`](https://togithub.com/DataDog/dd-trace-go/releases/tag/v1.60.1) [Compare Source](https://togithub.com/DataDog/dd-trace-go/compare/v1.60.0...v1.60.1) ### Summary A few minor bug fixes in this release. ### Changes #### Fixes - ddtrace/opentelemetry: add RWMutex to handle concurrent calls to setters by [@​darccio](https://togithub.com/darccio) in [https://github.com/DataDog/dd-trace-go/pull/2521](https://togithub.com/DataDog/dd-trace-go/pull/2521) - tracer: verify that hostname reporting is honored regardless of stats calculation by [@​katiehockman](https://togithub.com/katiehockman) [https://github.com/DataDog/dd-trace-go/pull/2533](https://togithub.com/DataDog/dd-trace-go/pull/2533) **Full Changelog**: https://github.com/DataDog/dd-trace-go/compare/v1.60.0...v1.60.1 ### [`v1.60.0`](https://togithub.com/DataDog/dd-trace-go/releases/tag/v1.60.0) [Compare Source](https://togithub.com/DataDog/dd-trace-go/compare/v1.59.1...v1.60.0) ### Summary In this release, Application Performance Monitoring (APM) adds tracing instrumentation support for [valyala/fasthttp](https://pkg.go.dev/github.com/valyala/fasthttp). This release also fixes a bug with beta-level remote configuration of the tracer, ensuring that config deletion triggers reverting the configuration option to its original value. Startup logs will also be expanded to describe configured feature flags. This release also adds **Beta support** for resource-based and tag-based sampling. This can be configured using the new trace `SamplingRule` called [`TagResourceRule`](https://pkg.go.dev/gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer#TagsResourceRule) or by setting `"resource"` or `"tags"` in the trace sampling rules JSON, e.g. `DD_TRACE_SAMPLING_RULES=[{"service": "test.?", "resource": "ec2.*", "tags": {"aws.operation":"DescribeInstances"}, "sample_rate": 1.0}]` Application Security Management (ASM) adds support for Threat Monitoring on GraphQL operations, and trusted IPs can now be added to your [ASM passlist](https://app.datadoghq.com/security/appsec/passlist). The Profiler add the `WithCustomProfilerLabelKeys` API, which enables using [`profiler labels`](https://rakyll.org/profiler-labels/) as attributes to filter flame graphs in the Continuous Profiler UI. The Profiler also improves execution trace coverage over time for apps which are deployed simultaneously across several instances, by randomizing when execution traces are collected. An execution trace is collected on average once every 15 minutes by default, but the time between execution traces is now randomized. ### Changes #### Application Performance Monitoring (APM) - contrib/valyala/fasthttp.v1: add a fasthttp integration to ddtrace by [@​mtoffl01](https://togithub.com/mtoffl01) in [https://github.com/DataDog/dd-trace-go/pull/2305](https://togithub.com/DataDog/dd-trace-go/pull/2305) - contrib/google.golang.org/grpc: add error details to span tags by [@​eyasy1217](https://togithub.com/eyasy1217) in [https://github.com/DataDog/dd-trace-go/pull/2228](https://togithub.com/DataDog/dd-trace-go/pull/2228) - Send the `Datadog-Entity-ID` header, containing either the container-id or the cgroup inode if available by [@​AliDatadog](https://togithub.com/AliDatadog) in [https://github.com/DataDog/dd-trace-go/pull/2402](https://togithub.com/DataDog/dd-trace-go/pull/2402) - Fix build on linux and do not send cgroup node inode if in host cgroup namespace by [@​AliDatadog](https://togithub.com/AliDatadog) in [https://github.com/DataDog/dd-trace-go/pull/2453](https://togithub.com/DataDog/dd-trace-go/pull/2453) - ddtracer/tracer: fix flaky TestReportHealthMetrics on Windows by [@​darccio](https://togithub.com/darccio) in [https://github.com/DataDog/dd-trace-go/pull/2439](https://togithub.com/DataDog/dd-trace-go/pull/2439) - Configure parametric test to get the golang tracer in same way as system-tests by [@​robertomonteromiguel](https://togithub.com/robertomonteromiguel) in [https://github.com/DataDog/dd-trace-go/pull/2462](https://togithub.com/DataDog/dd-trace-go/pull/2462) - ddtrace/tracer: only listen on localhost in TestTransportResponse by [@​nsrip-dd](https://togithub.com/nsrip-dd) in [https://github.com/DataDog/dd-trace-go/pull/2463](https://togithub.com/DataDog/dd-trace-go/pull/2463) - ddtrace/tracer: clear global headers in remote config tests by [@​nsrip-dd](https://togithub.com/nsrip-dd) in [https://github.com/DataDog/dd-trace-go/pull/2466](https://togithub.com/DataDog/dd-trace-go/pull/2466) - ddtrace/tracer: adding sampling by resource and tags by [@​dianashevchenko](https://togithub.com/dianashevchenko) in [https://github.com/DataDog/dd-trace-go/pull/2448](https://togithub.com/DataDog/dd-trace-go/pull/2448) - tracer: fix example and add SamplingRule function tests by [@​katiehockman](https://togithub.com/katiehockman) in [https://github.com/DataDog/dd-trace-go/pull/2493](https://togithub.com/DataDog/dd-trace-go/pull/2493) - tracer/log: Add feature flags to startup logs by [@​ajgajg1134](https://togithub.com/ajgajg1134) in [https://github.com/DataDog/dd-trace-go/pull/2495](https://togithub.com/DataDog/dd-trace-go/pull/2495) - tracer: handle rc deletion in dynamic config by [@​ahmed-mez](https://togithub.com/ahmed-mez) in [https://github.com/DataDog/dd-trace-go/pull/2468](https://togithub.com/DataDog/dd-trace-go/pull/2468) #### Application Security Management (ASM) - appsec/graphql: add support for Threat Monitoring by [@​RomainMuller](https://togithub.com/RomainMuller) in [https://github.com/DataDog/dd-trace-go/pull/2309](https://togithub.com/DataDog/dd-trace-go/pull/2309) - appsec: register `ASM_TRUSTED_IPS` capability to RC by [@​RomainMuller](https://togithub.com/RomainMuller) in [https://github.com/DataDog/dd-trace-go/pull/2460](https://togithub.com/DataDog/dd-trace-go/pull/2460) #### Profiling - profiler: randomize when execution traces are collected by [@​nsrip-dd](https://togithub.com/nsrip-dd) in [https://github.com/DataDog/dd-trace-go/pull/2401](https://togithub.com/DataDog/dd-trace-go/pull/2401) - profiler: deduplicate test profiler setup logic by [@​nsrip-dd](https://togithub.com/nsrip-dd) in [https://github.com/DataDog/dd-trace-go/pull/2428](https://togithub.com/DataDog/dd-trace-go/pull/2428) - Update gotraceui to v0.3.0. by [@​darccio](https://togithub.com/darccio) in [https://github.com/DataDog/dd-trace-go/pull/2443](https://togithub.com/DataDog/dd-trace-go/pull/2443) - profiler: support using custom profiler labels in our UI by [@​nsrip-dd](https://togithub.com/nsrip-dd) in [https://github.com/DataDog/dd-trace-go/pull/2282](https://togithub.com/DataDog/dd-trace-go/pull/2282) - profiler/internal/pprofutils: work around breaking pprof change by [@​nsrip-dd](https://togithub.com/nsrip-dd) in [https://github.com/DataDog/dd-trace-go/pull/2515](https://togithub.com/DataDog/dd-trace-go/pull/2515) #### General - CI: Only mark PRs as stale by [@​ajgajg1134](https://togithub.com/ajgajg1134) in [https://github.com/DataDog/dd-trace-go/pull/2423](https://togithub.com/DataDog/dd-trace-go/pull/2423) - readme: Add example for running just one integration container by [@​ajgajg1134](https://togithub.com/ajgajg1134) in [https://github.com/DataDog/dd-trace-go/pull/2429](https://togithub.com/DataDog/dd-trace-go/pull/2429) - system-tests: add the uds-echo variant by [@​Julio-Guerra](https://togithub.com/Julio-Guerra) in [https://github.com/DataDog/dd-trace-go/pull/2438](https://togithub.com/DataDog/dd-trace-go/pull/2438) - ci: setup smoke tests by [@​Julio-Guerra](https://togithub.com/Julio-Guerra) in [https://github.com/DataDog/dd-trace-go/pull/2441](https://togithub.com/DataDog/dd-trace-go/pull/2441) - Revert "Update gotraceui to v0.3.0." by [@​darccio](https://togithub.com/darccio) in [https://github.com/DataDog/dd-trace-go/pull/2457](https://togithub.com/DataDog/dd-trace-go/pull/2457) - maitenance: new GitHub Triage Badger by [@​RomainMuller](https://togithub.com/RomainMuller) in [https://github.com/DataDog/dd-trace-go/pull/2451](https://togithub.com/DataDog/dd-trace-go/pull/2451) - internal/datastreams: Improve performance by [@​piochelepiotr](https://togithub.com/piochelepiotr) in [https://github.com/DataDog/dd-trace-go/pull/2455](https://togithub.com/DataDog/dd-trace-go/pull/2455) - .github/workflows: adapting last v2 CI changes by [@​darccio](https://togithub.com/darccio) in [https://github.com/DataDog/dd-trace-go/pull/2435](https://togithub.com/DataDog/dd-trace-go/pull/2435) - ci: don't send issue body in triager by [@​nsrip-dd](https://togithub.com/nsrip-dd) in [https://github.com/DataDog/dd-trace-go/pull/2472](https://togithub.com/DataDog/dd-trace-go/pull/2472) - CODEOWNERS: Update for new gh team structure by [@​felixge](https://togithub.com/felixge) in [https://github.com/DataDog/dd-trace-go/pull/2477](https://togithub.com/DataDog/dd-trace-go/pull/2477) - Clean parametric tests pipeline by [@​robertomonteromiguel](https://togithub.com/robertomonteromiguel) in [https://github.com/DataDog/dd-trace-go/pull/2485](https://togithub.com/DataDog/dd-trace-go/pull/2485) - CODEOWNERS: Reduce go.mod/go.sum related pings by [@​felixge](https://togithub.com/felixge) in [https://github.com/DataDog/dd-trace-go/pull/2484](https://togithub.com/DataDog/dd-trace-go/pull/2484) - remoteconfig: fine grained locking by [@​Hellzy](https://togithub.com/Hellzy) in [https://github.com/DataDog/dd-trace-go/pull/2458](https://togithub.com/DataDog/dd-trace-go/pull/2458) - Don't ask for triage of issues from [@​DataDog/dd-trace-go-guild](https://togithub.com/DataDog/dd-trace-go-guild) by [@​RomainMuller](https://togithub.com/RomainMuller) in [https://github.com/DataDog/dd-trace-go/pull/2489](https://togithub.com/DataDog/dd-trace-go/pull/2489) - Use PAT to read team member list by [@​RomainMuller](https://togithub.com/RomainMuller) in [https://github.com/DataDog/dd-trace-go/pull/2491](https://togithub.com/DataDog/dd-trace-go/pull/2491) - remoteconfig: remove mutex underscore prefixes by [@​Hellzy](https://togithub.com/Hellzy) in [https://github.com/DataDog/dd-trace-go/pull/2497](https://togithub.com/DataDog/dd-trace-go/pull/2497) - .github/workflows: generalize GH workflow for adding apm:ecosystems label by [@​katiehockman](https://togithub.com/katiehockman) in [https://github.com/DataDog/dd-trace-go/pull/2496](https://togithub.com/DataDog/dd-trace-go/pull/2496) - build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/DataDog/dd-trace-go/pull/2445](https://togithub.com/DataDog/dd-trace-go/pull/2445) - internal/telemetry: export Products field by [@​katiehockman](https://togithub.com/katiehockman) in [https://github.com/DataDog/dd-trace-go/pull/2500](https://togithub.com/DataDog/dd-trace-go/pull/2500) - internal/telemetry: remove DetectLibDl by [@​katiehockman](https://togithub.com/katiehockman) in [https://github.com/DataDog/dd-trace-go/pull/2517](https://togithub.com/DataDog/dd-trace-go/pull/2517) - internal/telemetry: do not send empty container and entity headers by [@​ahmed-mez](https://togithub.com/ahmed-mez) in [https://github.com/DataDog/dd-trace-go/pull/2506](https://togithub.com/DataDog/dd-trace-go/pull/2506) - go.mod: upgrade purego v0.5.0 => upgrade purego v0.5.2 by [@​eliottness](https://togithub.com/eliottness) in [https://github.com/DataDog/dd-trace-go/pull/2524](https://togithub.com/DataDog/dd-trace-go/pull/2524) #### New Contributors - [@​AliDatadog](https://togithub.com/AliDatadog) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2402](https://togithub.com/DataDog/dd-trace-go/pull/2402) - [@​robertomonteromiguel](https://togithub.com/robertomonteromiguel) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2462](https://togithub.com/DataDog/dd-trace-go/pull/2462) - [@​eyasy1217](https://togithub.com/eyasy1217) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2228](https://togithub.com/DataDog/dd-trace-go/pull/2228) **Full Changelog**: https://github.com/DataDog/dd-trace-go/compare/v1.59.0...v1.60.0 ### [`v1.59.1`](https://togithub.com/DataDog/dd-trace-go/releases/tag/v1.59.1) [Compare Source](https://togithub.com/DataDog/dd-trace-go/compare/v1.59.0...v1.59.1) ### Patch Release Notes #### Application Security Management (ASM) - Upgrade github.com/ebitengine/purego: v0.5.0 -> v0.5.2 to forward [ebitengine/purego#189](https://togithub.com/ebitengine/purego/issues/189) fix to upstream āš ļø If you are encoutering the following error ([#​2504](https://togithub.com/DataDog/dd-trace-go/issues/2504)), please upgrade to `v1.59.1`: dlopen: unhandled relocation for purego_dlopen (type 46 (SDYNIMPORT) rtype 7 (R_CALL)) dlsym: unhandled relocation for purego_dlsym (type 46 (SDYNIMPORT) rtype 7 (R_CALL)) dlerror: unhandled relocation for purego_dlerror (type 46 (SDYNIMPORT) rtype 7 (R_CALL)) dlclose: unhandled relocation for purego_dlclose (type 46 (SDYNIMPORT) rtype 7 (R_CALL)) This bug can appear for all users of ASM (using the build tag `appsec`) starting from `v1.53.0` and for all users of dd-trace-go starting from `v1.59.0`. ### [`v1.59.0`](https://togithub.com/DataDog/dd-trace-go/releases/tag/v1.59.0) [Compare Source](https://togithub.com/DataDog/dd-trace-go/compare/v1.58.1...v1.59.0) #### Highlights ##### Important Information :warning: 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](https://togithub.com/DataDog/dd-trace-go/issues/new/choose) 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 ` 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](https://docs.datadoghq.com/agent/remote_config/), 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](https://app.datadoghq.com/security/configuration/asm/services-setup/services-selection) or APM's [Service Catalog](https://app.datadoghq.com/services?lens=Security) (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) - appsec: remove the "appsec" build tag requirement by [@​RomainMuller](https://togithub.com/RomainMuller) in [https://github.com/DataDog/dd-trace-go/pull/2354](https://togithub.com/DataDog/dd-trace-go/pull/2354) - go.mod: go-libddwaf v2.2.2 including major perf improvements and bug fixes by [@​eliottness](https://togithub.com/eliottness) in [https://github.com/DataDog/dd-trace-go/pull/2417](https://togithub.com/DataDog/dd-trace-go/pull/2417) - appsec/api-security: http request schema collection and sensitive data scanning by [@​Hellzy](https://togithub.com/Hellzy) in [https://github.com/DataDog/dd-trace-go/pull/2381](https://togithub.com/DataDog/dd-trace-go/pull/2381) - appsec: support server.response.headers.no_cookies WAF address by [@​eliottness](https://togithub.com/eliottness) in [https://github.com/DataDog/dd-trace-go/pull/2347](https://togithub.com/DataDog/dd-trace-go/pull/2347) ##### Application Performance Monitoring (APM) - contrib/google.golang.org/grpc: improve the memory efficiency of threats detection for grpc by [@​RomainMuller](https://togithub.com/RomainMuller) in [https://github.com/DataDog/dd-trace-go/pull/2338](https://togithub.com/DataDog/dd-trace-go/pull/2338) - contrib: header_tags support on julienschmidt/httprouter by [@​mtoffl01](https://togithub.com/mtoffl01) in [https://github.com/DataDog/dd-trace-go/pull/2331](https://togithub.com/DataDog/dd-trace-go/pull/2331) - contrib/kafka: take env variable into account to enable DSM by [@​vandonr](https://togithub.com/vandonr) in [https://github.com/DataDog/dd-trace-go/pull/2353](https://togithub.com/DataDog/dd-trace-go/pull/2353) - contrib/aws/{aws-sdk-go/aws, aws-sdk-go-v2/aws}: add context example by [@​mackjmr](https://togithub.com/mackjmr) in [https://github.com/DataDog/dd-trace-go/pull/1504](https://togithub.com/DataDog/dd-trace-go/pull/1504) - contrib/dimfeld/httptreemux.v5: parameterize redirects due to trailing slash by [@​laughingman-hass](https://togithub.com/laughingman-hass) in [https://github.com/DataDog/dd-trace-go/pull/2332](https://togithub.com/DataDog/dd-trace-go/pull/2332) - contrib/google.golang.org/grpc: add hostname tag by [@​rarguelloF](https://togithub.com/rarguelloF) in [https://github.com/DataDog/dd-trace-go/pull/2361](https://togithub.com/DataDog/dd-trace-go/pull/2361) - contrib/database/sql: prevent DBM propagation full mode with incompatible dbs by [@​rarguelloF](https://togithub.com/rarguelloF) in [https://github.com/DataDog/dd-trace-go/pull/2328](https://togithub.com/DataDog/dd-trace-go/pull/2328) - contrib: fix span start option races by [@​eliottness](https://togithub.com/eliottness) in [https://github.com/DataDog/dd-trace-go/pull/2418](https://togithub.com/DataDog/dd-trace-go/pull/2418) - tracer: Fix race in spanContext.setSamplingPriority by [@​evanj](https://togithub.com/evanj) in [https://github.com/DataDog/dd-trace-go/pull/2271](https://togithub.com/DataDog/dd-trace-go/pull/2271) - tracer: report config-change telemetry in dynamic config by [@​ahmed-mez](https://togithub.com/ahmed-mez) in [https://github.com/DataDog/dd-trace-go/pull/2350](https://togithub.com/DataDog/dd-trace-go/pull/2350) - tracer: check for (service,env) matching in dynamic config by [@​ahmed-mez](https://togithub.com/ahmed-mez) in [https://github.com/DataDog/dd-trace-go/pull/2365](https://togithub.com/DataDog/dd-trace-go/pull/2365) - ddtrace/opentelemetry,opentracing: fixed the format of telemetry tags by [@​dianashevchenko](https://togithub.com/dianashevchenko) in [https://github.com/DataDog/dd-trace-go/pull/2367](https://togithub.com/DataDog/dd-trace-go/pull/2367) - tracer: report rc capabilities for dynamic config by [@​ahmed-mez](https://togithub.com/ahmed-mez) in [https://github.com/DataDog/dd-trace-go/pull/2369](https://togithub.com/DataDog/dd-trace-go/pull/2369) - tracer: configure global tags via remote-config by [@​ahmed-mez](https://togithub.com/ahmed-mez) in [https://github.com/DataDog/dd-trace-go/pull/2378](https://togithub.com/DataDog/dd-trace-go/pull/2378) - tracer: support dot notation for tags with array values by [@​katiehockman](https://togithub.com/katiehockman) in [https://github.com/DataDog/dd-trace-go/pull/2253](https://togithub.com/DataDog/dd-trace-go/pull/2253) - build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/DataDog/dd-trace-go/pull/2373](https://togithub.com/DataDog/dd-trace-go/pull/2373) - tracer: improve debug message for propagating tag length limit reached by [@​katiehockman](https://togithub.com/katiehockman) in [https://github.com/DataDog/dd-trace-go/pull/2405](https://togithub.com/DataDog/dd-trace-go/pull/2405) ##### General - {telemetry,remoteconfig}: support fraction of second intervals by [@​ahmed-mez](https://togithub.com/ahmed-mez) in [https://github.com/DataDog/dd-trace-go/pull/2364](https://togithub.com/DataDog/dd-trace-go/pull/2364) - remoteconfig: add Subscribe function by [@​ahmed-mez](https://togithub.com/ahmed-mez) in [https://github.com/DataDog/dd-trace-go/pull/2380](https://togithub.com/DataDog/dd-trace-go/pull/2380) - remoteconfig: fix products reporting by [@​ahmed-mez](https://togithub.com/ahmed-mez) in [https://github.com/DataDog/dd-trace-go/pull/2384](https://togithub.com/DataDog/dd-trace-go/pull/2384) #### New Contributors - [@​RomainMuller](https://togithub.com/RomainMuller) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2338](https://togithub.com/DataDog/dd-trace-go/pull/2338) - [@​vandonr](https://togithub.com/vandonr) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2353](https://togithub.com/DataDog/dd-trace-go/pull/2353) - [@​laughingman-hass](https://togithub.com/laughingman-hass) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2332](https://togithub.com/DataDog/dd-trace-go/pull/2332) **Full Changelog**: https://github.com/DataDog/dd-trace-go/compare/v1.58.0...v.1.59.0 ### [`v1.58.1`](https://togithub.com/DataDog/dd-trace-go/releases/tag/v1.58.1) [Compare Source](https://togithub.com/DataDog/dd-trace-go/compare/v1.58.0...v1.58.1) ### Patch Release Notes #### Application Performance Monitoring (APM) - contrib/dimfeld/httptreemux.v5: parameterize redirects due to trailing slash by [@​laughingman-hass](https://togithub.com/laughingman-hass) in [https://github.com/DataDog/dd-trace-go/pull/2332](https://togithub.com/DataDog/dd-trace-go/pull/2332) - contrib: fix span start option races by [@​katiehockman](https://togithub.com/katiehockman) in [https://github.com/DataDog/dd-trace-go/pull/2418](https://togithub.com/DataDog/dd-trace-go/pull/2418) - tracer: Fix race in spanContext.setSamplingPriority by [@​evanj](https://togithub.com/evanj) in [https://github.com/DataDog/dd-trace-go/pull/2271](https://togithub.com/DataDog/dd-trace-go/pull/2271) - ddtrace/opentelemetry,opentracing: fixed the format of telemetry tags by [@​dianashevchenko](https://togithub.com/dianashevchenko) in [#​2367](https://togithub.com/DataDog/dd-trace-go/issues/2367) ### [`v1.58.0`](https://togithub.com/DataDog/dd-trace-go/releases/tag/v1.58.0) [Compare Source](https://togithub.com/DataDog/dd-trace-go/compare/v1.57.0...v1.58.0) ### Summary In this release, Application Performance Monitoring (APM) makes several changes that will improve the OpenTelemetry experience: - The tracer will now generate 128-bit long trace IDs by default. To disable this, set `DD_TRACE_128_BIT_TRACEID_GENERATION_ENABLED` to `false`. - For a distributed trace, the entire [tracestate header](https://www.w3.org/TR/trace-context/#tracestate-header) will be propagated to avoid losing context data from other vendors. This should improve interoperability and migrations when using multiple trace context propagation styles across systems. - There are a number of improvements to the OpenTelemetry API provided under `ddtrace/opentelemetry`: - ***BREAKING CHANGE:*** The operation name of the span will no longer be derived from the [OTel span's name](https://opentelemetry.io/docs/specs/otel/trace/api/#span), and will now be crafted using OTel semantics. The OTel span's name will only be used as the resource name. This should provide a more appropriate span name and improve the UX. To explicitly set the span name when using the OTel API, you can set the `operation.name` attribute on the span. - The OTel API will now recognize reserved attributes, and map those to the corresponding properties of a Datadog span. [The full list of attributes are here](https://togithub.com/DataDog/dd-trace-go/blob/main/ddtrace/opentelemetry/span.go#L168-L173). This is to better match the [OTLP](https://docs.datadoghq.com/opentelemetry/otlp_ingest_in_the_agent/?tab=host) behavior. - We have embedded a no-op struct in the OTel API implementation so that the OTel API now supports [v1.20+, v0.43.0+ of the upstream Go OpenTelemetry API library](https://togithub.com/open-telemetry/opentelemetry-go/releases/tag/v1.20.0). ### Changes #### Application Performance Monitoring (APM) - contrib/globalsign/mgo: err always nil. by [@​tttoad](https://togithub.com/tttoad) in [https://github.com/DataDog/dd-trace-go/pull/2269](https://togithub.com/DataDog/dd-trace-go/pull/2269) - contrib/google.golang.org/grpc: isolate tests using an independent rig instance instead of a shared one by [@​darccio](https://togithub.com/darccio) in [https://github.com/DataDog/dd-trace-go/pull/2278](https://togithub.com/DataDog/dd-trace-go/pull/2278) - tracer: pre-size payload buffer to optimize memory allocations by [@​ahmed-mez](https://togithub.com/ahmed-mez) in [https://github.com/DataDog/dd-trace-go/pull/2319](https://togithub.com/DataDog/dd-trace-go/pull/2319) - ddtrace/opentelemetry: added support for special attributes mapping by [@​dianashevchenko](https://togithub.com/dianashevchenko) in [https://github.com/DataDog/dd-trace-go/pull/2333](https://togithub.com/DataDog/dd-trace-go/pull/2333) - ddtrace/opentelemetry: Introduced OTel name remapping by [@​dianashevchenko](https://togithub.com/dianashevchenko) in [https://github.com/DataDog/dd-trace-go/pull/2337](https://togithub.com/DataDog/dd-trace-go/pull/2337) - tracer: enable 128-bit TraceID generation by default by [@​katiehockman](https://togithub.com/katiehockman) in [https://github.com/DataDog/dd-trace-go/pull/2335](https://togithub.com/DataDog/dd-trace-go/pull/2335) - tracer: always propagate the tracestate header by [@​katiehockman](https://togithub.com/katiehockman) in [https://github.com/DataDog/dd-trace-go/pull/2339](https://togithub.com/DataDog/dd-trace-go/pull/2339) - ddtrace/opentelemetry: Fixed setting a wrong span field (span.kind) by [@​dianashevchenko](https://togithub.com/dianashevchenko) in [https://github.com/DataDog/dd-trace-go/pull/2334](https://togithub.com/DataDog/dd-trace-go/pull/2334) - Export SamplingPriority method on spanContext \[SVLS-3934] by [@​purple4reina](https://togithub.com/purple4reina) in [https://github.com/DataDog/dd-trace-go/pull/2291](https://togithub.com/DataDog/dd-trace-go/pull/2291) - contrib/labstack/echo: Custom tags by [@​rafaeljusto](https://togithub.com/rafaeljusto) in [https://github.com/DataDog/dd-trace-go/pull/2340](https://togithub.com/DataDog/dd-trace-go/pull/2340) #### Application Security Management (ASM) This release includes important optimizations of [ASM Threats Detection](https://docs.datadoghq.com/security/application_security/threats/) by avoiding Go string copies, leading to major savings of memory allocations (note that this internal change is hidden inside the gRPC improvements below but apply to HTTP too which also relies on the same internals). - contrib/google.golang.org/grpc: improve the memory efficiency of threats detection for gRPC by [@​RomainMuller](https://togithub.com/RomainMuller) in [#​2338](https://togithub.com/DataDog/dd-trace-go/issues/2338) - appsec: upgrade security event rules to [v1.8.0](https://togithub.com/DataDog/appsec-event-rules/releases/tag/1.8.0) by [@​eliottness](https://togithub.com/eliottness) in [#​2312](https://togithub.com/DataDog/dd-trace-go/issues/2312) #### Datastreams Monitoring - internal/datastreams: fix memory leak by [@​piochelepiotr](https://togithub.com/piochelepiotr) in [https://github.com/DataDog/dd-trace-go/pull/2266](https://togithub.com/DataDog/dd-trace-go/pull/2266) #### Profiler - profiler: use only one service version value by [@​nsrip-dd](https://togithub.com/nsrip-dd) in [https://github.com/DataDog/dd-trace-go/pull/2322](https://togithub.com/DataDog/dd-trace-go/pull/2322) #### New Contributors - [@​tttoad](https://togithub.com/tttoad) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2269](https://togithub.com/DataDog/dd-trace-go/pull/2269) - [@​RomainMuller](https://togithub.com/RomainMuller) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2338](https://togithub.com/DataDog/dd-trace-go/pull/2338) **Full Changelog**: https://github.com/DataDog/dd-trace-go/compare/v1.57.0...v1.58.0 ### [`v1.57.0`](https://togithub.com/DataDog/dd-trace-go/releases/tag/v1.57.0) [Compare Source](https://togithub.com/DataDog/dd-trace-go/compare/v1.56.1...v1.57.0) ### Summary In this release, Application Performance Monitoring (APM) will now correctly honor the trace context propagation style precedence, where previously W3C `tracecontext` style would always take precedence even when a user specifies it later in the chain. This is a bug fix to align with expected behavior, but could potentially be a breaking change for customers relying on W3C trace context propagation. Other APM changes include deprecation of the old Gorm libraries (`gopkg.in/jinzhu/gorm.v1` and `jinzhu/gorm`), and fixes for `net/http` contrib to now honor `WithHeaderTags` in `WrapHandler`, the `http.route` tag to be correctly collected in all relevant libraries. ### Changes #### Application Performance Monitoring (APM) - contrib: implement http.route in missing contribs by [@​rarguelloF](https://togithub.com/rarguelloF) in [https://github.com/DataDog/dd-trace-go/pull/2234](https://togithub.com/DataDog/dd-trace-go/pull/2234) - contrib/(github and gopkg)/gorm: Mark as deprecated by [@​ajgajg1134](https://togithub.com/ajgajg1134) in [https://github.com/DataDog/dd-trace-go/pull/2304](https://togithub.com/DataDog/dd-trace-go/pull/2304) - go.mod: bump github.com/DataDog/datadog-agent/pkg/obfuscate to v0.48.0 by [@​ahmed-mez](https://togithub.com/ahmed-mez) in [https://github.com/DataDog/dd-trace-go/pull/2256](https://togithub.com/DataDog/dd-trace-go/pull/2256) - go.mod: bump otelhttp to v0.44.0 by [@​ahmed-mez](https://togithub.com/ahmed-mez) in [https://github.com/DataDog/dd-trace-go/pull/2274](https://togithub.com/DataDog/dd-trace-go/pull/2274) - \[deps] update datadog-agent version to stable by [@​ufoot](https://togithub.com/ufoot) in [https://github.com/DataDog/dd-trace-go/pull/2308](https://togithub.com/DataDog/dd-trace-go/pull/2308) - build(deps): bump google.golang.org/grpc from 1.57.0 to 1.57.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/DataDog/dd-trace-go/pull/2294](https://togithub.com/DataDog/dd-trace-go/pull/2294) - tracer.startTestTracer: Call SetServiceName("") when stopping by [@​evanj](https://togithub.com/evanj) in [https://github.com/DataDog/dd-trace-go/pull/2260](https://togithub.com/DataDog/dd-trace-go/pull/2260) - tracer: call SetServiceName("") from tests to reset globals by [@​evanj](https://togithub.com/evanj) in [https://github.com/DataDog/dd-trace-go/pull/2270](https://togithub.com/DataDog/dd-trace-go/pull/2270) - ddtrace/tracer: encode span IDs in execution traces efficiently by [@​nsrip-dd](https://togithub.com/nsrip-dd) in [https://github.com/DataDog/dd-trace-go/pull/2268](https://togithub.com/DataDog/dd-trace-go/pull/2268) - Add `dd-trace-go` macrobenchmark to CI pipeline by [@​igoragoli](https://togithub.com/igoragoli) in [https://github.com/DataDog/dd-trace-go/pull/2285](https://togithub.com/DataDog/dd-trace-go/pull/2285) - remoteconfig: make rc client a singleton by [@​ahmed-mez](https://togithub.com/ahmed-mez) in [https://github.com/DataDog/dd-trace-go/pull/2297](https://togithub.com/DataDog/dd-trace-go/pull/2297) - contrib/net/http: honor WithHeaderTags in WrapHandler by [@​sudolibre](https://togithub.com/sudolibre) in [https://github.com/DataDog/dd-trace-go/pull/2288](https://togithub.com/DataDog/dd-trace-go/pull/2288) #### Application Security Management (ASM) - appsec: update security event rules to [1.8.0](https://togithub.com/DataDog/appsec-event-rules/releases/tag/1.8.0) by [@​eliottness](https://togithub.com/eliottness) in [https://github.com/DataDog/dd-trace-go/pull/2292](https://togithub.com/DataDog/dd-trace-go/pull/2292) #### Profiler - profiler: remove PprofDiff by [@​nsrip-dd](https://togithub.com/nsrip-dd) in [https://github.com/DataDog/dd-trace-go/pull/2267](https://togithub.com/DataDog/dd-trace-go/pull/2267) - profiler: simplify startup logging by [@​nsrip-dd](https://togithub.com/nsrip-dd) in [https://github.com/DataDog/dd-trace-go/pull/2283](https://togithub.com/DataDog/dd-trace-go/pull/2283) - profiler: log cpuProfileRate when starting a trace by [@​felixge](https://togithub.com/felixge) in [https://github.com/DataDog/dd-trace-go/pull/2030](https://togithub.com/DataDog/dd-trace-go/pull/2030) - telemetry: fix profiler not passing config and align data model with spec AIT-7935 by [@​ahmed-mez](https://togithub.com/ahmed-mez) in [https://github.com/DataDog/dd-trace-go/pull/2248](https://togithub.com/DataDog/dd-trace-go/pull/2248) #### General - ci: use older Windows for Go 1.19 tests by [@​nsrip-dd](https://togithub.com/nsrip-dd) in [https://github.com/DataDog/dd-trace-go/pull/2250](https://togithub.com/DataDog/dd-trace-go/pull/2250) - workflows: automatically label ecosystems issues and PRs by [@​katiehockman](https://togithub.com/katiehockman) in [https://github.com/DataDog/dd-trace-go/pull/2254](https://togithub.com/DataDog/dd-trace-go/pull/2254) - build(deps): bump golang.org/x/net from 0.14.0 to 0.17.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/DataDog/dd-trace-go/pull/2264](https://togithub.com/DataDog/dd-trace-go/pull/2264) - source-code-integration: Remove credentials from git repository url. by [@​lraucy](https://togithub.com/lraucy) in [https://github.com/DataDog/dd-trace-go/pull/2296](https://togithub.com/DataDog/dd-trace-go/pull/2296) ### Fixes #### Application Performance Monitoring (APM) - tracer: honor tracecontext propagation style precedence by [@​purple4reina](https://togithub.com/purple4reina) in [https://github.com/DataDog/dd-trace-go/pull/2252](https://togithub.com/DataDog/dd-trace-go/pull/2252) - tracer TestUserMonitoring: Wait for goroutines before test completes by [@​evanj](https://togithub.com/evanj) in [https://github.com/DataDog/dd-trace-go/pull/2263](https://togithub.com/DataDog/dd-trace-go/pull/2263) - tracer TestWithHeaderTags: Clear header tags to work with -count=2 by [@​evanj](https://togithub.com/evanj) in [https://github.com/DataDog/dd-trace-go/pull/2262](https://togithub.com/DataDog/dd-trace-go/pull/2262) - tracer: TestAgentIntegration: Clean up state for -count=2 by [@​evanj](https://togithub.com/evanj) in [https://github.com/DataDog/dd-trace-go/pull/2261](https://togithub.com/DataDog/dd-trace-go/pull/2261) - tracer: Fix TestMalformedTID so it passes on its own by [@​evanj](https://togithub.com/evanj) in [https://github.com/DataDog/dd-trace-go/pull/2257](https://togithub.com/DataDog/dd-trace-go/pull/2257) #### General - internal/log: fix potential integer conversion issue from parsed value by [@​darccio](https://togithub.com/darccio) in [https://github.com/DataDog/dd-trace-go/pull/2289](https://togithub.com/DataDog/dd-trace-go/pull/2289) ### New Contributors - [@​igoragoli](https://togithub.com/igoragoli) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2285](https://togithub.com/DataDog/dd-trace-go/pull/2285) - [@​lraucy](https://togithub.com/lraucy) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2296](https://togithub.com/DataDog/dd-trace-go/pull/2296) - [@​sudolibre](https://togithub.com/sudolibre) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2288](https://togithub.com/DataDog/dd-trace-go/pull/2288) **Full Changelog**: https://github.com/DataDog/dd-trace-go/compare/v1.56.1...v1.57.0 ### [`v1.56.1`](https://togithub.com/DataDog/dd-trace-go/releases/tag/v1.56.1) [Compare Source](https://togithub.com/DataDog/dd-trace-go/compare/v1.56.0...v1.56.1) ### Summary A few minor bug fixes in this release: support for `gofiber/fiber` up to v2.50.0, and a fix for the OpenTelemetry API. ### Changes #### Fixes - \[v1.56.1] opentelemetry: finish a span with an error if one is provided by [@​darccio](https://togithub.com/darccio) in [https://github.com/DataDog/dd-trace-go/pull/2281](https://togithub.com/DataDog/dd-trace-go/pull/2281) - \[v1.56.1] contrib/gofiber/fiber: upgrade to v2.50.0 and fix breaking change by [@​darccio](https://togithub.com/darccio) in [https://github.com/DataDog/dd-trace-go/pull/2280](https://togithub.com/DataDog/dd-trace-go/pull/2280) **Full Changelog**: https://github.com/DataDog/dd-trace-go/compare/v1.56.0...v1.56.1 ### [`v1.56.0`](https://togithub.com/DataDog/dd-trace-go/releases/tag/v1.56.0) [Compare Source](https://togithub.com/DataDog/dd-trace-go/compare/v1.55.0...v1.56.0) ### Summary In this release, Continuous Profiler enables execution tracing by default for Go 1.21+. The [execution tracer](https://pkg.go.dev/runtime/trace) is the data source powering our new [timeline view](https://docs.datadoghq.com/profiler/profile_visualizations/#timeline-view) for analyzing latency and identifying bottlenecks. The profiler additionally adds a new metric for number of active goroutines, and disables profiling in AWS Lambda. Additionally, Data Stream Monitoring (DSM) has a new version tag to track deployments. Finally, some contrib library improvements include support for translating custom errors in `labstack/echo.v4`, and trace context propagation for libraries built on `fasthttp`. This release also includes several bug fixes and documentation improvements: - Downgrade google.golang.org/protobuf and golang.org/x/exp dependencies. - Clarified [service defaulting](https://togithub.com/DataDog/dd-trace-go/pull/2245/files). - Clarified our [policy for contrib dependency version upgrades](https://togithub.com/DataDog/dd-trace-go/pull/2208/files). ### Changes #### Application Performance Monitoring (APM) - contrib/labstack/echo.v4: add WithErrorTranslator Option by [@​mattscamp](https://togithub.com/mattscamp) in [https://github.com/DataDog/dd-trace-go/pull/2169](https://togithub.com/DataDog/dd-trace-go/pull/2169) ##### Profiling - Disable profiling when run in AWS Lambda. by [@​purple4reina](https://togithub.com/purple4reina) in [https://github.com/DataDog/dd-trace-go/pull/2216](https://togithub.com/DataDog/dd-trace-go/pull/2216) - profiler: add go_num_goroutine metric by [@​felixge](https://togithub.com/felixge) in [https://github.com/DataDog/dd-trace-go/pull/2217](https://togithub.com/DataDog/dd-trace-go/pull/2217) - profiler: enable execution traces by default for go1.21+ by [@​felixge](https://togithub.com/felixge) in [https://github.com/DataDog/dd-trace-go/pull/2226](https://togithub.com/DataDog/dd-trace-go/pull/2226) #### General - internal/version: bump to v1.56.0-dev by [@​nsrip-dd](https://togithub.com/nsrip-dd) in [https://github.com/DataDog/dd-trace-go/pull/2210](https://togithub.com/DataDog/dd-trace-go/pull/2210) - all: downgrade google.golang.org/protobuf and golang.org/x/exp dependencies by [@​nsrip-dd](https://togithub.com/nsrip-dd) in [https://github.com/DataDog/dd-trace-go/pull/2212](https://togithub.com/DataDog/dd-trace-go/pull/2212) - datastreams: Add version tag by [@​piochelepiotr](https://togithub.com/piochelepiotr) in [https://github.com/DataDog/dd-trace-go/pull/2211](https://togithub.com/DataDog/dd-trace-go/pull/2211) - security: Add notes for contrib dependencies with instructions by [@​ajgajg1134](https://togithub.com/ajgajg1134) in [https://github.com/DataDog/dd-trace-go/pull/2208](https://togithub.com/DataDog/dd-trace-go/pull/2208) - build(deps): bump github.com/gofiber/fiber/v2 from 2.48.0 to 2.49.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/DataDog/dd-trace-go/pull/2219](https://togithub.com/DataDog/dd-trace-go/pull/2219) - contrib: add validation tests using test-agent by [@​rarguelloF](https://togithub.com/rarguelloF) in [https://github.com/DataDog/dd-trace-go/pull/2047](https://togithub.com/DataDog/dd-trace-go/pull/2047) - ddtrace/mocktracer: use lock in String method by [@​phoenix2x](https://togithub.com/phoenix2x) in [https://github.com/DataDog/dd-trace-go/pull/2229](https://togithub.com/DataDog/dd-trace-go/pull/2229) - fasthttptrace: Add trace context propagation support for libraries built on fasthttp by [@​mtoffl01](https://togithub.com/mtoffl01) in [https://github.com/DataDog/dd-trace-go/pull/2218](https://togithub.com/DataDog/dd-trace-go/pull/2218) - AIT-8312 tracer/option: document service defaulting by [@​ahmed-mez](https://togithub.com/ahmed-mez) in [https://github.com/DataDog/dd-trace-go/pull/2245](https://togithub.com/DataDog/dd-trace-go/pull/2245) #### New Contributors - [@​mattscamp](https://togithub.com/mattscamp) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2169](https://togithub.com/DataDog/dd-trace-go/pull/2169) - [@​mimfgg](https://togithub.com/mimfgg) made their first contribution in [https://github.com/DataDog/dd-trace-go/pull/2221](https://togithub.com/DataDog/dd-trace-go/pull/2221) **Full Changelog**: https://github.com/DataDog/dd-trace-go/compare/v1.55.0...v1.56.0

Configuration

šŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

šŸš¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.

ā™» 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.