Releases: open-telemetry/opentelemetry-go-instrumentation
sdk/v1.2.1
Overview
Fixed
- Fix
uint32bounding on 32 bit architectures in thego.opentelemetry.io/auto/sdkmodule. (#2810)
Removed
- Build support for Go 1.23 in
go.opentelemetry.io/auto/sdkhas been removed.
Use Go >= 1.24 to develop and build the project. (#2799)
What's Changed
- Drop development support for Go 1.23 by @MrAlias in #2799
- fix(deps): update golang.org/x by @renovate[bot] in #2762
- Fix 32bit arch
intoverflow insdkby @MrAlias in https://github.com/open- - Release
go.opentelemetry.io/auto/sdkv1.2.1 by @MrAlias in #2811
Full Changelog: v0.23.0...sdk/v1.2.1
v0.23.0/v1.2.0
Overview
Note
This is the last release version that will support building the auto-instrumentation CLI using Go 1.23.
The next release will require development to be done using Go >= 1.24.
Added
- Cache offsets for
golang.org/x/net0.42.0. (#2503) - Cache offsets for
google.golang.org/grpc1.74.2. (#2546) - Cache offsets for
google.golang.org/grpc1.76.0-dev. (#2596) - Allow configuration of the resource using a resource.Detector. (#2598)
- The
WithResourceDetectorfunction is added togo.opentelemetry.io/auto/pipeline/otelsdk. - The
WithEnvfunction is updated to parse theOTEL_RESOURCE_DETECTORenvironment variable.
Values are expected to be a comma-separated list of resource detector IDs registered with theautodetectpackage.
- The
- Cache offsets for Go
1.23.12. (#2603) - Cache offsets for Go
1.24.6. (#2603) - Cache offsets for
golang.org/x/net0.43.0. (#2615) - Cache offsets for Go
1.25.0. (#2651) - Cache offsets for
google.golang.org/grpc1.75.0. (#2686) - Cache offsets for
github.com/segmentio/kafka-go0.4.49. (#2699) - Cache offsets for
go.opentelemetry.io/otelv1.38.0. (#2726) - Cache offsets for Go
1.24.7. (#2747) - Cache offsets for Go
1.25.1. (#2747) - Cache offsets for
golang.org/x/net0.44.0. (#2773) - Cache offsets for
google.golang.org/grpc1.72.3. (#2787) - Cache offsets for
google.golang.org/grpc1.73.1. (#2787) - Cache offsets for
google.golang.org/grpc1.74.3. (#2787) - Cache offsets for
google.golang.org/grpc1.75.1. (#2787)
Changed
- Upgrade
go.opentelemetry.io/autosemconv tov1.37.0. (#2763) - Upgrade
go.opentelemetry.io/auto/sdksemconv tov1.37.0. (#2763)
Fixed
- Add
telemetry.distro.versionresource attribute to theotelsdkhandler. (#2383) active_spans_by_span_ptreBPF map used in the traceglobal probe changed to LRU. (#2509)
What's Changed
- chore(deps): update golang:1.24.4 docker digest to 20a022e by @renovate[bot] in #2474
- chore(deps): update module github.com/prometheus/procfs to v0.17.0 by @renovate[bot] in #2481
- chore(deps): update golang:1.24.4-bookworm docker digest to 10f549d by @renovate[bot] in #2475
- fix(deps): update google.golang.org/grpc/examples digest to aa57e6a by @renovate[bot] in #2476
- chore(deps): update module github.com/go-playground/validator/v10 to v10.27.0 by @renovate[bot] in #2477
- chore(deps): update module github.com/sonatard/noctx to v0.3.5 by @renovate[bot] in #2478
- chore(deps): update module github.com/bombsimon/wsl/v5 to v5.1.0 by @renovate[bot] in #2479
- fix(deps): update module github.com/docker/docker to v28.3.1+incompatible by @renovate[bot] in #2480
- chore(deps): update jaegertracing/jaeger docker tag to v2.8.0 by @renovate[bot] in #2484
- chore(deps): update module github.com/alwxsin/noinlineerr to v1.0.4 by @renovate[bot] in #2486
- chore(deps): update github.com/golangci/gofmt digest to 3e58ba0 by @renovate[bot] in #2482
- chore(deps): update jaegertracing/all-in-one docker tag to v1.71.0 by @renovate[bot] in #2483
- chore(deps): update module github.com/bytedance/sonic/loader to v0.3.0 by @renovate[bot] in #2487
- fix(deps): update google.golang.org/grpc/examples digest to 64a6b62 by @renovate[bot] in #2485
- chore(deps): update module go.opentelemetry.io/build-tools to v0.24.0 by @renovate[bot] in #2489
- chore(deps): update googleapis to 8d1bb00 by @renovate[bot] in #2488
- fix(deps): update build-tools to v0.24.0 by @renovate[bot] in #2490
- fix(deps): update google.golang.org/grpc/examples digest to a21e374 by @renovate[bot] in #2491
- [auto] Update generated offsets by @github-actions[bot] in #2493
- add distro version and name by default to otelsdk handler by @RonFed in #2383
- fix(deps): update google.golang.org/grpc/examples digest to 12f9d9c by @renovate[bot] in #2494
- chore(deps): update module github.com/pjbgf/sha1cd to v0.4.0 by @renovate[bot] in #2495
- Sort contributor listings and remove affiliation from emeriti by @opentelemetrybot in #2496
- fix(deps): update module github.com/docker/docker to v28.3.2+incompatible by @renovate[bot] in #2498
- chore(deps): update golang docker tag to v1.24.5 by @renovate[bot] in #2497
- fix(deps): update golang.org/x by @renovate[bot] in #2499
- [auto] Update generated offsets by @github-actions[bot] in #2503
- chore(deps): update golang.org/x by @renovate[bot] in #2501
- fix(deps): update google.golang.org/grpc/examples digest to af2600d by @renovate[bot] in #2504
- fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.2.2 by @renovate[bot] in #2505
- chore(deps): update module github.com/mgechev/revive to v1.11.0 by @renovate[bot] in #2506
- chore(deps): update module go-simpler.org/sloglint to v0.11.1 by @renovate[bot] in #2507
- chore(deps): update module github.com/klauspost/cpuid/v2 to v2.3.0 by @renovate[bot] in #2508
- fix(deps): update google.golang.org/grpc/examples digest to 7208cdc by @renovate[bot] in #2510
- Change active_spans_by_span_ptr to LRU map by @grcevski in #2509
- fix(deps): update module go.opentelemetry.io/collector/pdata to v1.36.0 by @renovate[bot] in #2511
- fix(deps): update google.golang.org/grpc/examples digest to bed551a by @renovate[bot] in #2512
- chore(deps): update module github.com/go-viper/mapstructure/v2 to v2.4.0 by @renovate[bot] in htt...
v0.22.1
Overview
Added
- Cache offsets for
google.golang.org/grpc1.71.3. (#2374) - Cache offsets for
google.golang.org/grpc1.72.2. (#2374) - Cache offsets for
golang.org/x/net0.41.0. (#2402) - Cache offsets for
google.golang.org/grpc1.73.0. (#2402) - Cache offsets for Go
1.23.10. (#2402) - Cache offsets for Go
1.24.4. (#2402) - Cache offsets for
go.opentelemetry.io/otelv1.37.0. (#2450) - Cache offsets for
google.golang.org/grpc1.75.0-dev. (#2450)
Fixed
- Build go binaries using the provided
TARGETARCHof the Dockerfile.
This fixes the bug where images for alternate architectures (e.g.arm64) were built using theamd64architecture. (#2411) - Do not fail run when a module has a version of
(devel). (#2437)
What's Changed
- chore(deps): update module github.com/sashamelentyev/usestdlibvars to v1.29.0 by @renovate in #2371
- fix(deps): update google.golang.org/grpc/examples digest to e3ca7f9 by @renovate in #2372
- [auto] Update generated offsets by @github-actions in #2374
- fix(deps): update module google.golang.org/grpc to v1.72.2 by @renovate in #2373
- chore(deps): update module github.com/golangci/plugin-module-register to v0.1.2 by @renovate in #2377
- fix(deps): update google.golang.org/grpc/examples digest to 4cab0e6 by @renovate in #2375
- fix(deps): update module go.opentelemetry.io/collector/pdata to v1.33.0 by @renovate in #2376
- chore(deps): update module github.com/ugorji/go/codec to v1.2.14 by @renovate in #2378
- chore(deps): update docker/build-push-action action to v6.18.0 by @renovate in #2379
- chore(deps): update googleapis to 200df99 by @renovate in #2384
- fix(deps): update google.golang.org/grpc/examples digest to ec4810c by @renovate in #2380
- chore(deps): update module github.com/abirdcfly/dupword to v0.1.5 by @renovate in #2381
- chore(deps): update module github.com/go-logr/logr to v1.4.3 by @renovate in #2385
- chore(deps): update bitnami/kafka:latest docker digest to a5182b6 by @renovate in #2389
- chore(deps): update module github.com/abirdcfly/dupword to v0.1.6 by @renovate in #2387
- fix(deps): update module github.com/docker/docker to v28.2.1+incompatible by @renovate in #2386
- fix(deps): update google.golang.org/grpc/examples digest to 4275c5b by @renovate in #2391
- chore(deps): update module go.opentelemetry.io/proto/otlp to v1.7.0 by @renovate in #2390
- chore(deps): update bitnami/kafka:latest docker digest to 6cd4f5e by @renovate in #2392
- chore(deps): update golang.org/x to 65e9200 by @renovate in #2394
- chore(deps): update ossf/scorecard-action action to v2.4.2 by @renovate in #2395
- fix(deps): update module github.com/docker/docker to v28.2.2+incompatible by @renovate in #2393
- [auto] Update generated offsets by @github-actions in #2402
- chore(deps): update gcr.io/distroless/base-debian12 docker digest to 201ef91 by @renovate in #2410
- fix(deps): update golang.org/x by @renovate in #2396
- chore(deps): update golang:1.24.3 docker digest to 81bf592 by @renovate in #2397
- chore(deps): update googleapis to 513f239 by @renovate in #2403
- fix(deps): update google.golang.org/grpc/examples digest to 9c62b1c by @renovate in #2404
- chore(deps): update golang docker tag to v1.24.4 by @renovate in #2406
- chore(deps): update module github.com/bytedance/sonic to v1.13.3 by @renovate in #2407
- chore(deps): update module github.com/go-git/go-git/v5 to v5.16.2 by @renovate in #2408
- chore(deps): update github/codeql-action action to v3.29.0 by @renovate in #2405
- chore(deps): update jaegertracing/all-in-one docker tag to v1.70.0 by @renovate in #2416
- chore(deps): update python docker tag to v3.13.5 by @renovate in #2409
- chore(deps): update module github.com/ldez/exptostd to v0.4.4 by @renovate in #2412
- chore(deps): update module github.com/securego/gosec/v2 to v2.22.5 by @renovate in #2414
- chore(deps): update docker/setup-buildx-action action to v3.11.0 by @renovate in #2415
- chore(deps): update jaegertracing/jaeger docker tag to v2.7.0 by @renovate in #2417
- chore(deps): update module github.com/go-viper/mapstructure/v2 to v2.3.0 by @renovate in #2418
- chore(deps): update module github.com/ldez/gomoddirectives to v0.7.0 by @renovate in #2419
- fix(deps): update google.golang.org/grpc/examples digest to e5de1e2 by @renovate in #2420
- chore(deps): update module github.com/ldez/usetesting to v0.5.0 by @renovate in #2421
- chore(deps): update module github.com/sergi/go-diff to v1.4.0 by @renovate in #2422
- chore(deps): update module github.com/spf13/cast to v1.9.2 by @renovate in #2423
- chore(deps): update module github.com/ugorji/go/codec to v1.3.0 by @renovate in #2424
- fix(deps): update module google.golang.org/grpc to v1.73.0 by @renovate in #2427
- fix(deps): update module go.opentelemetry.io/collector/pdata to v1.34.0 by @renovate in #2425
- Update CHANGELOG and COMPATIBILITY for #2402 by @MrAlias in #2413
- chore(deps): update module github.com/charmbracelet/x/ansi to v0.9.3 by @renovate in #2428
- Set docker build args to environment variables by @MrAlias in #2411
- chore(deps): update docker/setup-buildx-action action to v3.11.1 by @renovate in #2431
- fix(deps): update google.golang.org/grpc/examples digest to 0100d21 by @renovate in #2433
- chore(deps): update golang.org/x to b7579e2 by @renovate in #2435
- chore(deps): update module github.co...
v0.22.0
Overview
Added
- Cache offsets for
google.golang.org/grpc1.72.0-dev. (#1849) - The
go.opentelemtry.io/auto/pipelinepackage is added. This package contains interface definitions for types that want to handle the telemetry generated by auto-instrumentation. (#1859) - The
go.opentelemtry.io/auto/pipeline/otelsdkpackage is added. This package a default handler that uses the OpenTelemetry Go SDK to handle telemetry generated by auto-instrumentation. (#1859) - The
WithHandlerfunction is added to configureInstrumentationingo.opentelemtry.io/autowith the desired handler implementation. (#1859) - The auto binary (built from
auto/cli) can now be passed the target process PID directly using the-target-pidCLI option. (#1890) - The auto binary (built from
auto/cli) can now be passed the path of the target process executable directly using the-target-exeCLI option. (#1890) - The auto binary (built from
auto/cli) now resolves the target PID from the environment variable"OTEL_GO_AUTO_TARGET_PID"if no target options are passed. (#1890) - The auto binary (built from
auto/cli) will now only resolve the target process executable from the environment variable"OTEL_GO_AUTO_TARGET_EXE"if no target options are passed and"OTEL_GO_AUTO_TARGET_PID"is not set. (#1890) - Cache offsets for
golang.org/x/net0.36.0. (#1940) - Cache offsets for
google.golang.org/grpc1.71.0. (#1940) - Cache offsets for Go
1.23.7. (#1940) - Cache offsets for Go
1.24.1. (#1940) - Cache offsets for
go.opentelemetry.io/otelv1.35.0. (#1948) - Cache offsets for
golang.org/x/net0.37.0. (#1948) - Cache offsets for
golang.org/x/net0.38.0. (#2063) - Cache offsets for
google.golang.org/grpc1.71.1. (#2078) - Cache offsets for Go
1.23.8. (#2081) - Cache offsets for Go
1.24.2. (#2081) - Cache offsets for
google.golang.org/grpc1.73.0-dev. (#2091) - Cache offsets for
golang.org/x/net0.39.0. (#2107) - The new
Multiplexertype is added togo.opentelemetry.io/auto/pipeline/otelsdk. This type is used to support multiple process instrumentation using the same telemetry pipeline. (#2016) - Cache offsets for
google.golang.org/grpc1.72.0. (#2190) - Cache offsets for
golang.org/x/net0.40.0. (#2281) - Cache offsets for Go
1.23.9. (#2292) - Cache offsets for Go
1.24.3. (#2292) - Cache offsets for
github.com/segmentio/kafka-go0.4.48. (#2319) - Cache offsets for
google.golang.org/grpc1.71.2. (#2319) - Cache offsets for
google.golang.org/grpc1.72.1. (#2319) - Cache offsets for
google.golang.org/grpc1.74.0-dev. (#2337) - Cache offsets for
go.opentelemetry.io/otelv1.36.0. (#2352)
Changed
- The
WithEnvfunction no longer parsesOTEL_GO_AUTO_GLOBAL. This is included by default. (#1859) - The
WithEnvfunction no longer parsesOTEL_SERVICE_NAMEorOTEL_TRACES_EXPORTER. Use theHandlerfromgo.opentelemtry.io/auto/pipeline/otelsdkwith its ownWithEnvto replace functionality. (#1859) - Instrument spans created with the OpenTelemetry trace API from an empty context. (#2001)
- Upgrade OpenTelemetry semantic conventions to
v1.30.0. (#2032) - Modify how the pattern is fetch from
net/http.Request. Now it usesRequest.Patterninstead ofRequest.pat.strunless using go1.22, which continue usingRequest.pat.str. (#2090)
Removed
- Build support for Go 1.22 has been removed. Use Go >= 1.23 to develop and build the project. (#1841)
- The
WithGlobalfunction is removed fromgo.opentelemtry.io/auto. This option is on by default. (#1859) - The
WithServiceNamefunction is removed fromgo.opentelemtry.io/auto. UseWithServiceNameingo.opentelemtry.io/auto/pipeline/otelsdkalong withWithHandlerto replace functionality. (#1859) - The
WithTraceExporterfunction is removed fromgo.opentelemtry.io/auto. UseWithTraceExporteringo.opentelemtry.io/auto/pipeline/otelsdkalong withWithHandlerto replace functionality. (#1859) - The
WithResourceAttributesfunction is removed fromgo.opentelemtry.io/auto. UseWithResourceAttributesingo.opentelemtry.io/auto/pipeline/otelsdkalong withWithHandlerto replace functionality. (#1859) - Resolution of the environment variable
"OTEL_GO_AUTO_TARGET_EXE"has been removed fromWithEnv.
Note, the built binary (auto/cli) still supports resolution and use of this value.
If using theautopackage directly, you will need to resolve this value yourself and pass the discovered process PID usingWithPID. (#1890) - The
WithTargetfunction is removed. Theautopackage no longer supports process discovery (note: the built binary (auto/cli) still supports process discovery). Once a target process has been identified, useWithPIDto configureInstrumentationinstead. (#1890)
Fixed
- Fix spans parsing from eBPF for the legacy (go version < 1.24 otel-go < 1.33) otel global instrumentation. (#1960)
- The
process.runtime.versionresource attribute is now the exact value returned fromdebugto match what OpenTelemetry semantic conventions recommend. (#1985) - Stop adding
process.runtime.descriptiontoResourceto follow OpenTelemetry semantic conventions. (#1986) - Reset Kafka producer span underlying memory before each span. (#1937)
- Stop pinning collector image in e2e tests. (#2072)
- Fallback to avoid context propagation in
kafka-goinstrumentation if the kernel does not supportbpf_probe_write_user. (#2105) - Make sure Go strings being read from eBPF are null terminated. (#1936)
- Handle dynamic goroutine stack resizes in the
autosdkandotel/traceprobes. (#2263)
What's Changed
- chore(deps): update googleapis to 56aae31 by @renovate in #1838
- chore(deps): update module github.com/catenacyber/perfsprint to v0.8.2 by @renovate in https://github.com/open-tele...
v0.21.0
Overview
Warning
The net/http instrumentation support for versions < 1.19 has been dropped.
Warning
The database/sql instrumentation support for versions < 1.19 has been dropped.
Note
This is the last release version that will support building the auto-instrumentation CLI using Go 1.22.
The next release will require development to be done using Go >= 1.23.
Added
- Update instrumentation for
net/httpto support Go1.24SwissMap. (#1636) - Cache offsets for Go
1.22.12. (#1743) - Cache offsets for Go
1.23.6. (#1743) - Cache offsets for
golang.org/x/net0.35.0. (#1783) - Cache offsets for Go
1.24.0. (#1795, #1798)
Changed
- Unused support for instrumentation of Go < 1.19 has been dropped. (#1815)
What's Changed
- Fix DOCKERPY ownership by @MrAlias in #1718
- fix(deps): update google.golang.org/grpc/examples digest to 7e1c9b2 by @renovate in #1720
- chore(deps): update module github.com/spf13/pflag to v1.0.6 by @renovate in #1721
- fix(deps): update module go.opentelemetry.io/auto to v0.20.0 by @renovate in #1722
- Switch to using per header field parsing for Go versions >= 1.24 by @grcevski in #1636
- fix(deps): update google.golang.org/grpc/examples digest to 39f0e5a by @renovate in #1724
- Add defensive checks for CGO stripped binaries by @grcevski in #1725
- chore(deps): update module github.com/skeema/knownhosts to v1.3.1 by @renovate in #1727
- fix(deps): update google.golang.org/grpc/examples digest to 7dbf12e by @renovate in #1726
- Update how-it-works.md by @CharlieTLe in #1730
- chore(deps): update module github.com/polyfloyd/go-errorlint to v1.7.1 by @renovate in #1729
- fix(deps): update google.golang.org/grpc/examples digest to ee3e8d9 by @renovate in #1731
- fix(deps): update module go.opentelemetry.io/collector/pdata to v1.25.0 by @renovate in #1733
- fix(deps): update google.golang.org/grpc/examples digest to 947e2a4 by @renovate in #1734
- chore(deps): update golang:1.23 docker digest to e213430 by @renovate in #1735
- chore(deps): update golang:1.23.5 docker digest to e213430 by @renovate in #1736
- fix(deps): update golang.org/x by @renovate in #1738
- chore(deps): update golang:1.23.5-bookworm docker digest to 9c79a16 by @renovate in #1737
- chore(deps): update googleapis to 7023788 by @renovate in #1740
- chore(deps): update module golang.org/x/text to v0.22.0 by @renovate in #1741
- [auto] Update generated offsets by @github-actions in #1743
- fix(deps): update google.golang.org/grpc/examples digest to 79b6830 by @renovate in #1742
- chore(deps): update lycheeverse/lychee-action action to v2.3.0 by @renovate in #1744
- chore(deps): update golang:1.23 docker digest to e40ac81 by @renovate in #1745
- chore(deps): update golang docker tag to v1.23.6 by @renovate in #1746
- chore(deps): update module github.com/cloudflare/circl to v1.6.0 by @renovate in #1747
- chore(deps): update golang:1.23 docker digest to 9271129 by @renovate in #1748
- chore(deps): update bitnami/kafka:latest docker digest to dde3b5f by @renovate in #1749
- chore(deps): update module github.com/catenacyber/perfsprint to v0.8.0 by @renovate in #1750
- chore(deps): update golang:1.23.6-bookworm docker digest to 441f59f by @renovate in #1752
- chore(deps): update golang:1.23.6 docker digest to 9271129 by @renovate in #1751
- fix(deps): update google.golang.org/grpc/examples digest to f227ba9 by @renovate in #1755
- chore(deps): update docker/setup-buildx-action action to v3.9.0 by @renovate in #1759
- chore(deps): update module google.golang.org/protobuf to v1.36.5 by @renovate in #1758
- chore(deps): update docker/setup-qemu-action action to v3.4.0 by @renovate in #1760
- chore(deps): update module go.opentelemetry.io/build-tools to v0.18.0 by @renovate in #1761
- fix(deps): update build-tools to v0.18.0 by @renovate in #1763
- chore(deps): update jaegertracing/jaeger docker tag to v2.3.0 by @renovate in #1764
- Document we are not currently accepting new instrumentation probe PRs by @MrAlias in #1739
- Rename PackageConstrainsts to PackageConstraints by @CharlieTLe in #1754
- chore(deps): update golang.org/x to f9890c6 by @renovate in #1768
- fix(deps): update google.golang.org/grpc/examples digest to e0d191d by @renovate in #1769
- Fix new instrumentation issue template by @MrAlias in #1770
- Fix database instrumentation for Go < 1.17 by @MrAlias in #1772
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.26.1 by @renovate in #1773
- chore(deps): update googleapis to e9438ea by @renovate in #1776
- chore(deps): update module 4d63.com/gochecknoglobals to v0.2.2 by @renovate in #1778
- chore(deps): update module golang.org/x/crypto to v0.33.0 by @renovate in #1777
- chore(deps): update module gotest.tools/v3 to v3.5.2 by @renovate in #1779
- chore(deps): update module go-simpler.org/sloglint to v0.9.0 by @renovate in #1780
- chore(deps): update module github.com/catenacyber/perfsprint to v0.8.1 by @renovate in #1781
- [auto] Update generated offsets by @github-actions in #1783
- chore(deps): update module golang.org/x/net to v0.35.0 by @renovate in #1782
- chore(deps): update golang.org/x by @renovate in #1784
- fix(deps): update google.golang.org/grpc/examples digest to e95a4b7 by @renovate in #1785
- chore(deps): update bitnami/kafka:latest docker digest to eb33fb4 by @renovate in #1786
- [auto] ...
v0.20.0
Overview
This release is the first beta release of the OpenTelemetry Go Auto-Instrumentation project.
Added
- Support
SELECT,INSERT,UPDATE, andDELETEfor database span names anddb.operation.nameattribute. (#1253) - Support the full tracing API with the
otelglobalprobe. (#1405) - Support
go.opentelemetry.io/[email protected]. (#1417) - Support
google.golang.org/grpc1.69.0. (#1417) - Update
google.golang.org/grpcprobe to work with versions>= 1.69.0. (#1431) - Support
google.golang.org/grpc1.67.3. (#1452) - Support
google.golang.org/grpc1.68.2. (#1462) - Support
google.golang.org/grpc1.69.2. (#1467) - Support
google.golang.org/grpc1.71.0-dev. (#1467) - Support
golang.org/x/net0.33.0. (#1471) - Use
OTEL_GO_AUTO_PARSE_DB_STATEMENTenvironment variable in thehttpPlusdbdemo. (#1523) - Include gRPC error message for client spans. (#1528)
- Support
golang.org/x/net0.34.0. (#1552) - Support
google.golang.org/grpc1.69.4. (#1590) - Support
go.opentelemetry.io/[email protected]. (#1638) - Support Go
1.22.11. (#1638) - Support Go
1.23.5. (#1638) - Support
google.golang.org/grpc1.70.0. (#1682)
Changed
- Update the
rolldiceexample to better show the functionality of the project. (#1566) - Preemptively drop support for the
traceglobalprobe whenGo >= 1.24is used. (#1573) - Support non-cached offsets. If the target process uses an unknown version of an instrumented package but has DAWRF data included, the offset is now found on startup instead of returning an error. (#1593)
Fixed
- Respect
OTEL_EXPORTER_OTLP_PROTOCOLwhenOTEL_TRACES_EXPORTERis not set. (#1572) - Support stripped binaries, including those built with CGO libraries. (#1641)
What's Changed
- fix(deps): update module go.opentelemetry.io/auto/sdk to v1.1.0 by @renovate in #1384
- fix(deps): update google.golang.org/grpc/examples digest to adad26d by @renovate in #1385
- fix(deps): update google.golang.org/grpc/examples digest to 66ba4b2 by @renovate in #1387
- chore(deps): update googleapis to a4fef06 by @renovate in #1386
- fix(deps): update module github.com/docker/docker to v27.4.0+incompatible by @renovate in #1388
- Support SELECT/INSERT/UPDATE/DELETE db operation + span names by @damemi in #1253
- chore(deps): update googleapis to e6fa225 by @renovate in #1389
- Remove use of zap in rolldice example by @MrAlias in #1392
- Remove use of zap in httpPlusdb example by @MrAlias in #1391
- Remove use of zap from databasesql test by @MrAlias in #1390
- fix(deps): update google.golang.org/grpc/examples digest to b1f70ce by @renovate in #1396
- chore(deps): update golang.org/x/exp digest to 1443442 by @renovate in #1401
- fix(deps): update google.golang.org/grpc/examples digest to e4d084a by @renovate in #1402
- chore(deps): update golang.org/x/exp digest to 1829a12 by @renovate in #1404
- chore(deps): update actions/setup-go digest to 3041bf5 by @renovate in #1407
- fix(deps): update google.golang.org/grpc/examples digest to c1b6b37 by @renovate in #1408
- chore(deps): update module github.com/goccy/go-json to v0.10.4 by @renovate in #1413
- chore(deps): update module golang.org/x/crypto to v0.31.0 by @renovate in #1411
- chore(deps): update golang:1.23.4 docker digest to 7003184 by @renovate in #1412
- fix(deps): update google.golang.org/grpc/examples digest to 38a8b9a by @renovate in #1414
- Ignore renovate updates in LICENSES/** by @MrAlias in #1410
- [auto] Update generated offsets by @github-actions in #1417
- chore(deps): update module github.com/pierrec/lz4/v4 to v4.1.22 by @renovate in #1415
- fix(deps): update opentelemetry-go monorepo by @renovate in #1418
- chore(deps): update module go.opentelemetry.io/contrib/bridges/prometheus to v0.58.0 by @renovate in #1419
- fix(deps): update module go.opentelemetry.io/contrib/exporters/autoexport to v0.58.0 by @renovate in #1420
- Clean up e2e Dockerfiles by @MrAlias in #1393
- Only setup BATS if needed in kind workflow by @MrAlias in #1394
- Verify autosdk traces.json with BATS by @MrAlias in #1409
- chore(deps): update bitnami/kafka:latest docker digest to 3fb376e by @renovate in #1422
- fix(deps): update google.golang.org/grpc/examples digest to 3f76275 by @renovate in #1423
- chore(deps): update golang.org/x/exp digest to 4a55095 by @renovate in #1424
- chore(deps): update helm/kind-action action to v1.11.0 by @renovate in #1428
- fix(deps): update google.golang.org/grpc/examples digest to d0716f9 by @renovate in #1425
- chore(deps): update module github.com/bytedance/sonic to v1.12.6 by @renovate in #1426
- chore(deps): update docker/setup-buildx-action action to v3.8.0 by @renovate in #1427
- chore(deps): update googleapis to 9240e9c by @renovate in #1433
- fix(deps): update module go.opentelemetry.io/collector/pdata to v1.22.0 by @renovate in #1435
- chore(deps): update module google.golang.org/protobuf to v1.36.0 by @renovate in #1434
- Renovate: update indirect tools dependencies by @MrAlias in #1437
- fix(deps): update google.golang.org/grpc/examples digest to e8055ea by @renovate in #1438
- Pin opentelemetry-collector-contrib to 0.115.1 by @MrAlias in htt...
v0.19.0-alpha
Overview
Added
- Support span attribute limits to
go.opentelemtry.io/auto/sdk. (#1315) - Support span link limits to
go.opentelemtry.io/auto/sdk. (#1320) - Support span event limits to
go.opentelemtry.io/auto/sdk. (#1324) - Support attribute value limits to
go.opentelemtry.io/auto/sdk. (#1325) - Support Go
1.22.10. (#1367) - Support Go
1.23.4. (#1367) - Support
golang.org/x/net0.32.0. (#1382) - Support
google.golang.org/grpc1.67.2. (#1382) - Support
google.golang.org/grpc1.68.1. (#1382) - Support
google.golang.org/grpc1.70.0-dev. (#1382)
Fixed
- The parsing of the tracers map for
go.opentelemetry.io/[email protected]is fixed. (#1319)
What's Changed
- Bump go.opentelemetry.io/collector/pdata from 1.19.0 to 1.20.0 in /sdk/internal/telemetry/test by @dependabot in #1308
- Bump docker/metadata-action from 5.5.1 to 5.6.1 by @dependabot in #1313
- Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 in /sdk/internal/telemetry/test by @dependabot in #1309
- Bump go.opentelemetry.io/collector/pdata from 1.19.0 to 1.20.0 by @dependabot in #1312
- Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 in /sdk by @dependabot in #1310
- Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 by @dependabot in #1311
- Switch to Renovate by @MrAlias in #1317
- Add span attribute limit to
auto/sdkby @MrAlias in #1315 - chore(deps): pin dependencies by @renovate in #1321
- chore(deps): update googleapis to e639e21 by @renovate in #1322
- fix(deps): update module go.opentelemetry.io/auto/sdk to v1 by @renovate in #1328
- chore(deps): update golang.org/x by @renovate in #1329
- chore(deps): update module github.com/goccy/go-json to v0.10.3 by @renovate in #1330
- chore(deps): update module github.com/klauspost/cpuid/v2 to v2.2.9 by @renovate in #1331
- fix(deps): update module go.opentelemetry.io/auto/sdk to v1.0.0 by @renovate in #1332
- fix(deps): update google.golang.org/grpc/examples digest to 4c07bca by @renovate in #1326
- chore(deps): update module github.com/gabriel-vasile/mimetype to v1.4.7 by @renovate in #1327
- chore(deps): update module github.com/pelletier/go-toml/v2 to v2.2.3 by @renovate in #1333
- chore(deps): update module github.com/pierrec/lz4/v4 to v4.1.21 by @renovate in #1334
- fix(deps): update module github.com/golangci/golangci-lint to v1.62.2 by @renovate in #1335
- chore(deps): update actions/cache action to v3.3.3 by @renovate in #1336
- chore(deps): update actions/checkout action to v3.6.0 by @renovate in #1337
- chore(deps): update actions/upload-artifact action to v3.2.1 by @renovate in #1338
- chore(deps): update docker/build-push-action action to v6.10.0 by @renovate in #1339
- chore(deps): update module github.com/bytedance/sonic to v1.12.5 by @renovate in #1341
- chore(deps): update module github.com/bytedance/sonic/loader to v0.2.1 by @renovate in #1343
- chore(deps): update module github.com/go-playground/validator/v10 to v10.23.0 by @renovate in #1344
- chore(deps): update module github.com/klauspost/compress to v1.17.11 by @renovate in #1346
- chore(deps): update module github.com/stretchr/testify to v1.10.0 by @renovate in #1348
- chore(deps): update module go.uber.org/multierr to v1.11.0 by @renovate in #1349
- chore(deps): update module google.golang.org/protobuf to v1.35.2 by @renovate in #1351
- chore(deps): update actions/cache action to v4 by @renovate in #1352
- chore(deps): update actions/checkout action to v4 by @renovate in #1353
- chore(deps): update actions/setup-go action to v5 by @renovate in #1354
- fix: parse of tracers map for otel-go 1.32 by @RonFed in #1319
- Update sdk go.mod by @MrAlias in #1342
- chore(deps): update actions/upload-artifact action to v4 by @renovate in #1355
- chore(deps): update dependency ubuntu to v24 by @renovate in #1356
- chore(deps): update module github.com/rogpeppe/go-internal to v1.13.1 by @renovate in #1347
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.24.0 by @renovate in #1345
- chore(deps): update gcr.io/distroless/base-debian12 docker digest to e9d0321 by @renovate in #1357
- Add span link limits by @MrAlias in #1320
- chore(deps): update module go.opentelemetry.io/proto/otlp to v1.4.0 by @renovate in #1358
- Add span event limits by @MrAlias in #1324
- chore(deps): update golang:1.23.3 docker digest to 2b01164 by @renovate in #1362
- chore(deps): update googleapis to 19429a9 by @renovate in #1360
- chore(deps): update golang:1.23.3-bookworm docker digest to c59a9d7 by @renovate in #1363
- fix(deps): update google.golang.org/grpc/examples digest to 634497b by @renovate in #1361
- [auto] Update generated offsets by @github-actions in #1367
- chore(deps): update golang docker tag to v1.23.4 by @renovate in #1368
- Add attribute value limits by @MrAlias in #1325
- fix(deps): update module go.opentelemetry.io/collector/pdata to v1.21.0 by @renovate in #1369
- chore(deps): update golang:1.23.4 docker digest to 574185e by @renovate in #1370
- chore(deps): update golang:1.23.4-bookworm docker digest to ef30001 by @renovate in #1371
- fix(deps): update google.golang.org/grpc/examples digest to 5565631 by @renovate in https://github.com/open-telemetry/opentelemetry...
v0.18.0-alpha
Overview
This release includes the first v1 stable release of the go.opentelemetry.io/auto/sdk module.
Changed
- Split the functionality of
Instrumentation.RuntoInstrumentation.LoadandInstrumentation.Run.Loadwill report any errors in the loading and attaching phase of the probes. (#1245)
Added
- Include
server.addressandserver.portin gRPC spans (>=v1.60.0). (#1242) - Support Go standard libraries for 1.22.9 and 1.23.3. (#1250)
- Support
google.golang.org/grpc1.68.0. (#1251) - Support
golang.org/x/net0.31.0. (#1254) - Support
go.opentelemetry.io/[email protected]. (#1302)
Fixed
- Don't include
db.query.textattribute indatabase/sqlif the query string is empty or not collected. (#1246) - Handle a
ConfigProviderwhich doesn't provide a sampling config in the initial configuration by applying the default sampler. (#1292)
Removed
- The deprecated
go.opentelemetry.io/auto/sdk/telemetrypackage is removed. (#1252) - The deprecated
go.opentelemetry.io/auto/sdk/telemetry/testmodule is removed. (#1252) - Remove the
WithLoadedIndicatorInstrumentationOptionsince theInstrumentation.Loadwill indicate whether the probes are loaded in a synchronous way. (#1245)
What's Changed
- Don't include db.query if it is empty by @RonFed in #1246
- [auto] Update generated offsets by @github-actions in #1250
- [auto] Update generated offsets by @github-actions in #1251
- Add concurrency testing by @MrAlias in #1249
- [auto] Update generated offsets by @github-actions in #1254
- [auto] Update generated offsets by @github-actions in #1255
- Add gRPC server address and port by @damemi in #1242
- Remove the telemetry package by @MrAlias in #1252
- Pass telemetry directly to the
Controllerby @MrAlias in #1248 - Bump golang.org/x/sync from 0.8.0 to 0.9.0 in /internal/tools by @dependabot in #1286
- Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.31.0 to 1.32.0 by @dependabot in #1280
- Bump lycheeverse/lychee-action from 2.0.2 to 2.1.0 by @dependabot in #1268
- Bump golang from 1.23.2 to 1.23.3 in /internal/test/e2e/otelglobal by @dependabot in #1267
- Bump golang from 1.23.2 to 1.23.3 in /internal/test/e2e/nethttp_custom by @dependabot in #1266
- Bump golang from 1.23.2 to 1.23.3 in /internal/test/e2e/autosdk by @dependabot in #1265
- Bump golang from 1.23.2 to 1.23.3 in /internal/test/e2e/databasesql by @dependabot in #1264
- Bump go.opentelemetry.io/otel/trace from 1.31.0 to 1.32.0 in /internal/test/e2e/autosdk by @dependabot in #1276
- Bump golang from 1.23.2 to 1.23.3 in /internal/test/e2e/grpc by @dependabot in #1263
- Bump golang from 1.23.2 to 1.23.3 in /internal/test/e2e/nethttp by @dependabot in #1262
- Bump golang from 1.23.2 to 1.23.3 in /internal/test/e2e/kafka-go by @dependabot in #1260
- Bump golang from 1.23.2 to 1.23.3 in /examples/rolldice by @dependabot in #1256
- Bump golang from 1.23.2 to 1.23.3 in /examples/kafka-go by @dependabot in #1258
- Bump go.opentelemetry.io/collector/pdata from 1.18.0 to 1.19.0 by @dependabot in #1285
- Bump go.opentelemetry.io/build-tools/multimod from 0.14.0 to 0.15.0 in /internal/tools by @dependabot in #1284
- Bump golang from 1.23.2 to 1.23.3 in /examples/httpPlusdb by @dependabot in #1261
- Bump golang from 1.23.2-bookworm to 1.23.3-bookworm by @dependabot in #1259
- Bump golang from 1.23.2 to 1.23.3 in /internal/test/e2e/gin by @dependabot in #1257
- Bump google.golang.org/grpc from 1.67.1 to 1.68.0 in /internal/test/e2e/grpc by @dependabot in #1278
- Bump google.golang.org/grpc from 1.67.1 to 1.68.0 by @dependabot in #1288
- Bump golang.org/x/arch from 0.11.0 to 0.12.0 by @dependabot in #1271
- Bump go.opentelemetry.io/otel/trace from 1.31.0 to 1.32.0 in /examples/kafka-go/consumer by @dependabot in #1269
- Bump go.opentelemetry.io/collector/pdata from 1.18.0 to 1.19.0 in /sdk/internal/telemetry/test by @dependabot in #1277
- Bump go.opentelemetry.io/otel from 1.31.0 to 1.32.0 in /sdk by @dependabot in #1279
- Bump go.opentelemetry.io/build-tools/dbotconf from 0.14.0 to 0.15.0 in /internal/tools by @dependabot in #1282
- Bump go.opentelemetry.io/contrib/exporters/autoexport from 0.56.0 to 0.57.0 by @dependabot in #1287
- Bump distroless/base-debian12 from
8fe31fbto7a4bffcby @dependabot in #1294 - Bump github.com/golangci/golangci-lint from 1.61.0 to 1.62.0 in /internal/tools by @dependabot in #1293
- Handle nil sampling config by @RonFed in #1292
- Split Instrumentation.Run to Load and Run by @RonFed in #1245
- Add VERSIONING.md to sdk module by @MrAlias in #1296
- Make SDK span concurrent safe by @MrAlias in #1300
- Test SDK Tracer by @MrAlias in #1299
- Test SDK TracerProvider by @MrAlias in #1298
- Move
spanKindtotracer.goby @MrAlias in #1304 - Rename
auto/sdk/trace.goby @MrAlias in #1303 - Remove unused
ctxparameter fromtracer.tracesby @MrAlias in #1305 - otelglobal: add support for v1.32.0 of otel-go by @RonFed in #1302
- Release v0.18.0-alpha by @MrAlias in #1306
Full Changelog: v0.17.0-alpha...v0.18.0-alpha
v0.17.0-alpha
Overview
Changed
- The SDK provided in
go.opentelemtry.io/auto/sdknow defaults to No-Op behavior for unimplemented methods of the OpenTelemetry API. This is changed from causing a compilation error for unimplemented methods. (#1230) - The
GetTracerProviderfunction ingo.opentelemtry.io/auto/sdkis renamed toTracerProvider. (#1231)
Fixed
- Sporadic shutdown deadlock. (#1220)
- Only support status codes for versions of
google.golang.org/grpc>=1.40. (#1235)
Deprecated
- The
go.opentelemetry.io/auto/sdk/telemetrypackage is deprecated. This package will be removed in the next release. (#1238) - The
go.opentelemetry.io/auto/sdk/telemetry/testmodule is deprecated. This module will be removed in the next release. (#1238)
What's Changed
- Improve multi-platform builds by @RonFed in #1214
- Clean-up Makefile test target by @MrAlias in #1216
- Add CONTRIBUTING.md to sdk module by @MrAlias in #1217
- Fix
Manager.Runstop deadlock by @MrAlias in #1220 - Bump actions/cache from 4.1.1 to 4.1.2 by @dependabot in #1223
- Bump go.opentelemetry.io/collector/pdata from 1.17.0 to 1.18.0 in /sdk/telemetry/test by @dependabot in #1222
- Bump distroless/base-debian12 from
6ae5fe6to8fe31fbby @dependabot in #1221 - Instrument gRPC server span status codes by @damemi in #1127
- [chore] Remove unused variables in Makefile by @MrAlias in #1215
- Rename GetTracerProvider to TracerProvider in
sdkpackage by @MrAlias in #1231 - Embed noop into sdk instead of embedded by @MrAlias in #1230
- Use CGO_ENBABLED=0 for build by @RonFed in #1232
- Update Makefile to only generate what is needed by @MrAlias in #1213
- Support gRPC status for versions >=1.40 by @damemi in #1235
- Fix make generate target by @RonFed in #1237
- Replace
probe.Eventwithptrace.ScopeSpansby @MrAlias in #1207 - Deprecate the sdk/telemetry package by @MrAlias in #1238
- Bump go.opentelemetry.io/collector/pdata from 1.17.0 to 1.18.0 by @dependabot in #1241
- offsetgen: support Docker username and password by @damemi in #1239
- Release v0.17.0-alpha by @MrAlias in #1243
Full Changelog: v0.16.0-alpha...v0.17.0-alpha
v0.16.0-alpha
Overview
Added
- Support
golang.org/x/netv0.30.0. (#1149) - Support
google.golang.org/grpc1.65.1. (#1174) - Support
go.opentelemetry.io/[email protected]. (#1178) - Support
google.golang.org/grpc1.69.0-dev. (#1203) - Implement traceID ratio and parent-based samplers. (#1150)
- The
go.opentelemetry.io/auto/sdkmodule. This module is used directly when you want to explicilty use auto-instrumentation to process OTel API telemetry. It is also provided so the default OTel global API will use this when auto-instrumentation is loaded (WIP). (#1210)
Fixed
- The
"golang.org/x/net/http2".FrameHeader.StreamIDoffset for version0.8.0is corrected. (#1208) - The
"golang.org/x/net/http2".MetaHeadersFrame.Fieldsoffset for version0.8.0is corrected. (#1208)
What's Changed
- [auto] Update generated offsets by @github-actions in #1149
- Bump golang from 1.23.1 to 1.23.2 in /examples/kafka-go by @dependabot in #1173
- Bump golang from 1.23.1 to 1.23.2 in /examples/rolldice by @dependabot in #1172
- Bump github.com/mattn/go-sqlite3 from 1.14.23 to 1.14.24 in /examples/httpPlusdb by @dependabot in #1169
- Bump actions/cache from 4.0.2 to 4.1.0 by @dependabot in #1168
- Bump golang from 1.23.1 to 1.23.2 in /examples/httpPlusdb by @dependabot in #1159
- Bump golang from 1.23.1-bullseye to 1.23.2-bullseye by @dependabot in #1162
- Bump google.golang.org/grpc from 1.67.0 to 1.67.1 in /internal/test/e2e/grpc by @dependabot in #1153
- Bump golang.org/x/arch from 0.10.0 to 0.11.0 by @dependabot in #1155
- Bump docker/setup-buildx-action from 3.6.1 to 3.7.1 by @dependabot in #1167
- Bump docker/build-push-action from 6.8.0 to 6.9.0 by @dependabot in #1166
- Bump golang from 1.23.1 to 1.23.2 in /internal/test/e2e/autosdk by @dependabot in #1160
- Bump github.com/mattn/go-sqlite3 from 1.14.23 to 1.14.24 in /internal/test/e2e/databasesql by @dependabot in #1157
- [auto] Update generated offsets by @github-actions in #1174
- Bump golang.org/x/sys from 0.25.0 to 0.26.0 by @dependabot in #1154
- Bump golang from 1.23.1 to 1.23.2 in /internal/test/e2e/gin by @dependabot in #1152
- Bump go.opentelemetry.io/collector/pdata from 1.16.0 to 1.17.0 by @dependabot in #1156
- Bump golang from 1.23.1 to 1.23.2 in /internal/test/e2e/otelglobal by @dependabot in #1158
- Bump golang from 1.23.1 to 1.23.2 in /internal/test/e2e/kafka-go by @dependabot in #1161
- Bump golang from 1.23.1 to 1.23.2 in /internal/test/e2e/databasesql by @dependabot in #1163
- Bump golang from 1.23.1 to 1.23.2 in /internal/test/e2e/nethttp by @dependabot in #1165
- Bump golang from 1.23.1 to 1.23.2 in /internal/test/e2e/nethttp_custom by @dependabot in #1170
- Bump golang from 1.23.1 to 1.23.2 in /internal/test/e2e/grpc by @dependabot in #1171
- Bump go.opentelemetry.io/collector/pdata from 1.16.0 to 1.17.0 in /sdk by @dependabot in #1164
- Use a specific version of jaeger image in examples. by @RonFed in #1151
- Add changelog entry for #1149 by @MrAlias in #1175
- [auto] Update generated offsets by @github-actions in #1178
- Bump actions/cache from 4.1.0 to 4.1.1 by @dependabot in #1190
- Add
sdk/telemetrypackage by @MrAlias in #1148 - Bump go.opentelemetry.io/otel from 1.30.0 to 1.31.0 in /internal/test/e2e/autosdk by @dependabot in #1191
- Bump lycheeverse/lychee-action from 1.10.0 to 2.0.2 by @dependabot in #1193
- Bump go.opentelemetry.io/otel/trace from 1.30.0 to 1.31.0 in /sdk by @dependabot in #1188
- Bump go.opentelemetry.io/otel from 1.30.0 to 1.31.0 in /examples/kafka-go/consumer by @dependabot in #1185
- Bump go.opentelemetry.io/otel from 1.30.0 to 1.31.0 in /internal/test/e2e/otelglobal by @dependabot in #1184
- Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.30.0 to 1.31.0 by @dependabot in #1181
- Add
telemetry/testpackage by @MrAlias in #1194 - Remove build-context from make fixtures by @damemi in #1198
- Bump go.opentelemetry.io/contrib/exporters/autoexport from 0.55.0 to 0.56.0 by @dependabot in #1197
- [auto] Update generated offsets by @github-actions in #1203
- Fix Dockerfile casing by @MrAlias in #1202
- Remove String and Size methods of TraceID and SpanID by @MrAlias in #1199
- Add encoding tests to the
telemetrypackage by @MrAlias in #1196 - Implement traceID-ratio and parent-based samplers in eBPF by @RonFed in #1150
- Use
sdk/telemetryinstead of pdata for theautosdkprobe by @MrAlias in #1195 - Use bookworm image instead of bullseye by @RonFed in #1205
- Fix offsets for
golang.org/x/net/http2by @MrAlias in #1208 - Release v0.16.0-alpha by @MrAlias in #1210
Full Changelog: v0.15.0-alpha...v0.16.0-alpha