Skip to content

Releases: open-telemetry/opentelemetry-go-instrumentation

Release v0.16.0-alpha

23 Oct 16:24
v0.16.0-alpha
f924116
Compare
Choose a tag to compare

Overview

Added

  • Support golang.org/x/net v0.30.0. (#1149)
  • Support google.golang.org/grpc 1.65.1. (#1174)
  • Support go.opentelemetry.io/[email protected]. (#1178)
  • Support google.golang.org/grpc 1.69.0-dev. (#1203)
  • Implement traceID ratio and parent-based samplers. (#1150)
  • The go.opentelemetry.io/auto/sdk module. 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.StreamID offset for version 0.8.0 is corrected. (#1208)
  • The "golang.org/x/net/http2".MetaHeadersFrame.Fields offset for version 0.8.0 is 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/telemetry package 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/test package 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 telemetry package by @MrAlias in #1196
  • Implement traceID-ratio and parent-based samplers in eBPF by @RonFed in #1150
  • Use sdk/telemetry instead of pdata for the autosdk probe by @MrAlias in #1195
  • Use bookworm image instead of bullseye by @RonFed in #1205
  • Fix offsets for golang.org/x/net/http2 by @MrAlias in #1208
  • Release v0.16.0-alpha by @MrAlias in #1210

Full Changelog: v0.15.0-alpha...v0.16.0-alpha

Release v0.15.0-alpha

03 Oct 17:55
v0.15.0-alpha
8da41a6
Compare
Choose a tag to compare

Overview

Added

  • Support Go v1.21.13. (#988)
  • Support Go v1.22.6. (#988)
  • Support golang.org/x/net v0.28.0. (#988)
  • Support google.golang.org/grpc 1.67.0-dev. (#1007)
  • Support Go 1.23.0. (#1007)
  • Introduce config.Provider as an option to set the initial configuration and update it in runtime. (#1010)
  • Support go.opentelemetry.io/[email protected]. (#1032)
  • Support google.golang.org/grpc 1.66.0. (#1046)
  • Sampler interface that can be passed to Instrumentation via the new WithSampler option. This is wireframe configuration, it currently has not effect. It will be used to allows customization of what sampler is used by the Instrumentation. Implementation, of this feature is expected in the next release. (#982)
  • The OTEL_TRACES_SAMPLER and OTEL_TRACES_SAMPLER_ARG environment variables are now supported when the WithEnv option is used. (#982)
  • Support golang.org/x/net v0.29.0. (#1051)
  • Support Go 1.22.7. (#1051)
  • Support Go 1.23.1. (#1051)
  • Log version information in the CLI. (#1077)
  • Support google.golang.org/grpc 1.66.1. (#1078)
  • Add gRPC status code attribute for client spans (rpc.grpc.status_code). (#1044)
  • Support google.golang.org/grpc 1.68.0-dev. (#1044)
  • Support go.opentelemetry.io/[email protected]. (#1044)
  • The WithLogger InstrumentationOption is added as a replacement for WithLogLevel.
    An slog.Logger can now be configured by the user any way they want and then passed to the Instrumentation for its logging with this option. (#1080)
  • Support google.golang.org/grpc 1.66.2. (#1083)
  • Support google.golang.org/grpc 1.67.0. (#1116)

Changed

  • The WithSampler option function now accepts the new Sampler interface instead of trace.Sampler. (#982)

Fixed

  • Fix dirty shutdown caused by panic. (#980)
  • Flush pending span exports on shutdown. (#1028)

Removed

  • WithLogLevel is removed. Use WithLogger instead. (#1080)
  • The unused LogLevelDebug constant is removed. (#1080)
  • The unused LogLevelInfo constant is removed. (#1080)
  • The unused LogLevelWarn constant is removed. (#1080)
  • The unused LogLevelError constant is removed. (#1080)
  • The unused LogLevel type is removed. (#1080)
  • The unused ParseLogLevel function is removed. (#1080)
  • Drop agent build support for Go 1.21. (#1115)

What's Changed

  • Refactor span creation by @RonFed in #949
  • Fix license headers and check for license headers by @MrAlias in #955
  • Update rlimit.RemoveMemlock comment by @MrAlias in #959
  • Rename utilities.bash to utilities.sh by @MrAlias in #956
  • Test arm64 builds by @MrAlias in #958
  • Bump docker/build-push-action from 6.3.0 to 6.4.1 by @dependabot in #963
  • Document that only tracing is supported by @pellared in #964
  • Update libbpf to v1.4.5 by @MrAlias in #957
  • Bump docker/setup-buildx-action from 3.4.0 to 3.5.0 by @dependabot in #966
  • Bump docker/login-action from 3.2.0 to 3.3.0 by @dependabot in #969
  • Bump docker/build-push-action from 6.4.1 to 6.5.0 by @dependabot in #968
  • Bump docker/setup-qemu-action from 3.1.0 to 3.2.0 by @dependabot in #967
  • Bump github.com/docker/docker from 27.0.3+incompatible to 27.1.1+incompatible in /internal/tools by @dependabot in #970
  • Bump github.com/cilium/ebpf from 0.15.0 to 0.16.0 by @dependabot in #965
  • Fix spelling error by @MrAlias in #977
  • Ignore built Go bin by @MrAlias in #979
  • Fix comuunity link by @RonFed in #983
  • Bump docker/setup-buildx-action from 3.5.0 to 3.6.1 by @dependabot in #985
  • [auto] Update generated offsets by @github-actions in #988
  • Bump golang from 1.22.5 to 1.22.6 in /examples/rolldice by @dependabot in #990
  • Bump golang from 1.22.4-bullseye to 1.22.6-bullseye by @dependabot in #991
  • Bump golang.org/x/arch from 0.8.0 to 0.9.0 by @dependabot in #993
  • Bump golang.org/x/sync from 0.7.0 to 0.8.0 in /internal/tools by @dependabot in #992
  • Fix shutdown panic by @MrAlias in #980
  • Bump docker/build-push-action from 6.5.0 to 6.6.1 by @dependabot in #996
  • Bump golang from 1.22.5 to 1.22.6 in /examples/kafka-go by @dependabot in #1001
  • Bump golang from 1.22.5 to 1.22.6 in /examples/httpPlusdb by @dependabot in #999
  • [auto] Update generated offsets by @github-actions in #1007
  • Add probe loading tests across multiple kernel versions using vimto by @RonFed in #1005
  • Bump github.com/docker/docker from 27.1.1+incompatible to 27.1.2+incompatible in /internal/tools by @dependabot in #1012
  • Bump golang from 1.22.6-bullseye to 1.23.0-bullseye by @dependabot in #1014
  • Bump docker/build-push-action from 6.6.1 to 6.7.0 by @dependabot in #1019
  • Bump golang from 1.22.6 to 1.23.0 in /examples/httpPlusdb by @dependabot in #1016
  • Bump golang from 1.22.6 to 1.23.0 in /examples/rolldice by @dependabot in #1020
  • Bump golang from 1.22.6 to 1.23.0 in /examples/kafka-go by @dependabot in #1024
  • Bump golang.org/x/sy...
Read more

Release v0.14.0-alpha

16 Jul 14:46
v0.14.0-alpha
f1baf6d
Compare
Choose a tag to compare

Overview

Added

  • Add support to log level through command line flag. (#842)
  • The WithLogLevel function and LogLevel type are added to set the log level for Instrumentation. (#842)
  • The otelglobal probe now collects the user provided tracer name, version and schemaURL. (#844)
  • Add codespell make target. (#863)
  • Initial support for trace-flags. (#868)
  • Support google.golang.org/grpc 1.66.0-dev. (#872)
  • Add telemetry distro name & version resource attributes. (#897)
  • Support google.golang.org/grpc 1.65.0. (#904)
  • Support Go v1.21.12. (#905)
  • Support Go v1.22.5. (#905)
  • Support go.opentelemetry.io/[email protected]. (#905)
  • Support google.golang.org/grpc 1.63.3. (#916)
  • Support google.golang.org/grpc 1.64.1. (#916)
  • Support golang.org/x/net v0.27.0. (#917)

Changed

  • Upgrade semconv from v1.24.0 to v1.26.0 in github.com/segmentio/kafka-go instrumentation. (#909)
    • The messaging.operation attribute key is renamed to messaging.operation.type.
    • The messaging.kafka.destination.partition key is renamed to messaging.destination.partition.id
  • Upgrade semconv from v1.21.0 to v1.26.0 in database/sql instrumentation. (#911)
    • The db.statement attribute key is renamed to db.query.text.
  • Upgrade semconv from v1.24.0 to v1.26.0 in google.golang.org/grpc instrumentation. (#912)
    • The net.peer.name attribute key in client instrumentation is renamed to server.address.
  • Upgrade semconv to v1.26.0 in net/http instrumentation. (#913)
  • Upgrade go.opentelemetry.io/auto semconv to v1.26.0. (#914)

Fixed

  • The HTTP client now uses the Host field from the URL if the Request.Host is not present. (#888)

What's Changed

  • [auto] Update generated offsets by @github-actions in #872
  • Initial support for Trace-flags by @RonFed in #868
  • Bump golang from 1.22.3-bullseye to 1.22.4-bullseye by @dependabot in #880
  • Bump golang from 1.22.3 to 1.22.4 in /examples/rolldice by @dependabot in #883
  • Bump github.com/docker/docker from 26.1.3+incompatible to 26.1.4+incompatible in /internal/tools by @dependabot in #884
  • Bump golang from 1.22.3 to 1.22.4 in /examples/kafka-go by @dependabot in #885
  • Bump golang from 1.22.3 to 1.22.4 in /examples/httpPlusdb by @dependabot in #886
  • Bump golang from 1.22.3 to 1.22.4 in /internal/test/e2e/gin by @dependabot in #874
  • Bump golang from 1.22.3 to 1.22.4 in /internal/test/e2e/nethttp_custom by @dependabot in #875
  • Bump golang from 1.22.3 to 1.22.4 in /internal/test/e2e/grpc by @dependabot in #876
  • Bump golang from 1.22.3 to 1.22.4 in /internal/test/e2e/nethttp by @dependabot in #877
  • Bump golang from 1.22.3 to 1.22.4 in /internal/test/e2e/kafka-go by @dependabot in #878
  • Bump golang from 1.22.3 to 1.22.4 in /internal/test/e2e/otelglobal by @dependabot in #879
  • Bump golang from 1.22.3 to 1.22.4 in /internal/test/e2e/databasesql by @dependabot in #881
  • Bump golang.org/x/sys from 0.20.0 to 0.21.0 by @dependabot in #882
  • HTTP client: Use Host field in URL if the Request Host is not present by @RonFed in #888
  • Bump github.com/docker/docker from 26.1.4+incompatible to 27.0.0+incompatible in /internal/tools by @dependabot in #889
  • Bump docker/build-push-action from 5.3.0 to 5.4.0 by @dependabot in #891
  • Add make target 'codespell' by @rockdaboot in #863
  • Bump docker/build-push-action from 5.4.0 to 6.1.0 by @dependabot in #894
  • Bump codespell from 2.2.4 to 2.3.0 by @dependabot in #895
  • Add build constraints for linux/non-linux systems by @RonFed in #892
  • Bump docker/build-push-action from 6.1.0 to 6.2.0 by @dependabot in #901
  • Add support to custom log level through command line flag and environment variable by @vitorhugoro1 in #842
  • Bump github.com/docker/docker from 27.0.0+incompatible to 27.0.2+incompatible in /internal/tools by @dependabot in #900
  • [auto] Update generated offsets by @github-actions in #904
  • Add telemetry distro name & version resource attributes by @marctc in #897
  • [auto] Update generated offsets by @github-actions in #905
  • Move unreleased changes to "Unreleased" in CHANGELOG by @MrAlias in #910
  • [auto] Update generated offsets by @github-actions in #916
  • Refactor probe loading to use ebpf.Collection by @RonFed in #899
  • [auto] Update generated offsets by @github-actions in #917
  • Bump distroless/base-debian12 from 786007f to 1aae189 by @dependabot in #921
  • Bump go.opentelemetry.io/otel from 1.27.0 to 1.28.0 in /examples/kafka-go by @dependabot in #923
  • Bump go.opentelemetry.io/contrib/exporters/autoexport from 0.52.0 to 0.53.0 by @dependabot in #941
  • Bump go.opentelemetry.io/otel from 1.27.0 to 1.28.0 in /internal/test/e2e/otelglobal by @dependabot in #924
  • Bump docker/setup-qemu-action from 3.0.0 to 3.1.0 by @dependabot in #929
  • Bump docker/setup-buildx-action from 3.3.0 to 3.4.0 by @dependabot in #930
  • Bump docker/build-push-action from 6.2.0 to 6.3.0 by @dependabot in #931
  • Bump golang from 1.22.4 to 1.22.5 in /examples/rolldice by @dependabot in #932
  • Bump google.golang.org/grpc from 1.64.0 to 1.65.0 in /internal/test/e2e/grpc by @dependabot in #933
  • Bump golang from 1.22.4 to 1.22.5 in /examples/kafka-go by @dependabot in #934
  • Bump golang from 1.22.4 to 1.22.5 in /examples/httpPlusdb by @dependabot in #935
    ...
Read more

Release v0.13.0-alpha

05 Jun 18:25
v0.13.0-alpha
dd12347
Compare
Choose a tag to compare

Overview

Added

  • github.com/segmentio/kafka-go instrumentation. (#709)
  • Support go.opentelemetry.io/[email protected]. (#796)
  • Support HTTP server path template added in Go version 1.22.
  • The http.route attribute is included and the span name updated to use this information. (#740)
  • Support golang.org/x/net v0.25.0. (#821)
  • Support Go v1.21.10. (#824)
  • Support Go v1.22.3. (#824)
  • Support google.golang.org/grpc 1.65.0-dev. (#827)
  • Support google.golang.org/grpc 1.64.0. (#843)
  • WithLoadedIndicator InstrumentationOption to configure an Instrumentation to notify the caller once all the eBPF probes are loaded. (#848)
  • Add env var equivalent to the WithGlobal InstrumentationOption. (#849)
  • Support go.opentelemetry.io/[email protected]. (#850)
  • Support golang.org/x/net v0.26.0. (#871)
  • Support Go v1.21.11. (#871)
  • Support Go v1.22.4. (#871)

Fixed

  • Change HTTP client span name to {http.request.method}. (#775)
  • Don't set empty URL path in HTTP client probe. (#810)
  • Don't fail HTTP client probe attribute resolution on empty URL path. (#810)
  • Extract process.runtime.version and process.runtime.name from instrumented process. (#811)
  • Support Go versions from apps defining GOEXPERIMENT. (#813)
  • Update net/http instrumentation to comply with semantic conventions v1.25.0. (#790)
  • Update existing 3rd party licenses. (#864)

What's Changed

  • Remove high cardinality path from HTTP client span name. by @RonFed in #775
  • Bump azure/setup-helm from 3.5 to 4 by @dependabot in #784
  • Bump github.com/docker/docker from 26.0.0+incompatible to 26.0.1+incompatible in /internal/tools by @dependabot in #782
  • Remove gin specific probes by @grcevski in #780
  • kafka-go instrumentation by @RonFed in #709
  • Fix offsetgen by @RonFed in #781
  • [auto] Update generated offsets by @github-actions in #796
  • Switch HTTP client to not use external memory for header injection by @grcevski in #705
  • Bump github.com/docker/docker from 26.0.1+incompatible to 26.1.0+incompatible in /internal/tools by @dependabot in #794
  • Bump golang from 1.22.1 to 1.22.2 in /internal/test/e2e/kafka-go by @dependabot in #789
  • Bump golang from 1.22.0 to 1.22.2 in /examples/kafka-go by @dependabot in #788
  • Bump github.com/cilium/ebpf from 0.12.3 to 0.15.0 by @dependabot in #795
  • [chore] dependabot updates Sun Apr 28 14:20:35 UTC 2024 by @opentelemetrybot in #808
  • Bump lycheeverse/lychee-action from 1.9.3 to 1.10.0 by @dependabot in #807
  • Bump helm/kind-action from 1.9.0 to 1.10.0 by @dependabot in #806
  • Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.25.0 to 1.26.0 by @dependabot in #802
  • Bump go.opentelemetry.io/contrib/exporters/autoexport from 0.50.0 to 0.51.0 by @dependabot in #805
  • Support empty url path in HTTP client probe by @RonFed in #810
  • Add null offsets to cache file by @RonFed in #809
  • Extract go version and compiler from instrumneted process by @RonFed in #811
  • Support template paths as part of span names for go versions >= 1.22 by @RonFed in #740
  • Add parseGoVersion to support versions with GOEXPERIMENT by @RonFed in #813
  • [auto] Update generated offsets by @github-actions in #822
  • Commit go.mod for e2e test apps by @damemi in #820
  • [auto] Update generated offsets by @github-actions in #824
  • Bump golang.org/x/arch from 0.7.0 to 0.8.0 by @dependabot in #819
  • Bump github.com/docker/docker from 26.1.0+incompatible to 26.1.1+incompatible in /internal/tools by @dependabot in #815
  • Bump distroless/base-debian12 from 611d30d to 786007f by @dependabot in #817
  • Bump github.com/gin-gonic/gin from 1.9.1 to 1.10.0 in /internal/test/e2e/gin by @dependabot in #823
  • Bump golang.org/x/sys from 0.19.0 to 0.20.0 by @dependabot in #818
  • [auto] Update generated offsets by @github-actions in #827
  • Bump golang from 1.22.2 to 1.22.3 in /examples/httpPlusdb by @dependabot in #831
  • Bump github.com/docker/docker from 26.1.1+incompatible to 26.1.2+incompatible in /internal/tools by @dependabot in #832
  • Bump golang from 1.22.2-bullseye to 1.22.3-bullseye by @dependabot in #835
  • Bump golang from 1.22.2 to 1.22.3 in /examples/rolldice by @dependabot in #838
  • Bump golang from 1.22.2 to 1.22.3 in /examples/kafka-go by @dependabot in #839
  • Bump golang from 1.22.2 to 1.22.3 in /internal/test/e2e/nethttp_custom by @dependabot in #840
  • Bump golang from 1.22.2 to 1.22.3 in /internal/test/e2e/kafka-go by @dependabot in #837
  • Bump golang from 1.22.2 to 1.22.3 in /internal/test/e2e/databasesql by @dependabot in #836
  • Bump golang from 1.22.2 to 1.22.3 in /internal/test/e2e/gin by @dependabot in #834
  • Bump golang from 1.22.2 to 1.22.3 in /internal/test/e2e/otelglobal by @dependabot in #830
  • Bump golang from 1.22.2 to 1.22.3 in /internal/test/e2e/grpc by @dependabot in #829
  • Bump golang from 1.22.2 to 1.22.3 in /internal/test/e2e/nethttp by @dependabot in #828
  • Update net/http instrumentation to comply with semantic conventions by @damemi in #790
  • [auto] Update generated offsets by @github-actions in #843
  • Change Ron and E...
Read more

Release v0.12.0-alpha

10 Apr 14:32
v0.12.0-alpha
2874b92
Compare
Choose a tag to compare

Added

Fixed

  • Handle Ctrl-C signal while searching for the target PID (#731)
  • Pass PID to UprobeOptions (#742)

New Contributors

  • @s4s7 made their first contribution in #736

Full Changelog: v0.11.0-alpha...v0.12.0-alpha

Release v0.11.0-alpha

28 Mar 19:15
v0.11.0-alpha
53b7621
Compare
Choose a tag to compare

Added

  • Test build using Go 1.22. (#672)
  • Base Dockerfile and build caching (#683)
  • Add server.address, server.port and network.protocol.version to HTTP client spans (#696)
  • Update http server attributes to latest semantic conventions (#708)

Fixed

  • Don't call manager.Close() when Analyze() fails. (#638)
  • Close proc file when done discovering PID. (#649)
  • Use debug packages to parse Go and modules' versions. (#653)
  • Clean up warn in otelglobal SetStatus() when grabbing the status code. (#675)
  • Reset proc offset after a failed iteration. (#681)
  • Avoid using runtime.NumCPU to get the number of CPUs on the system before remote mmap (#680)
  • Cleanup eBPF maps only when we stop using the memory (#682)
  • Fix start offset calculation in mmaped memory area (#738)

New Contributors

Full Changelog: v0.10.1-alpha...v0.11.0-alpha

Release v0.10.1-alpha

10 Jan 17:40
v0.10.1-alpha
0f23507
Compare
Choose a tag to compare

Added

  • Support version v0.20.0 of golang.org/x/net. (#587)
  • Support version v1.20.13 and v1.21.6 of Go. (#589)

Fixed

  • Log any failures to close running probes. (#586)

Full Changelog: v0.10.0-alpha...v0.10.1-alpha

Release v0.10.0-alpha

03 Jan 16:35
v0.10.0-alpha
cf64eab
Compare
Choose a tag to compare

Added

  • Add net.host.name, net.protocol.name, net.peer.name, and net.peer.port attributes to HTTP server spans. (#470
  • Support version v1.60.1 of google.golang.org/grpc. (#568)

Fixed

  • Correct the target probe argument positions for the v1.60.0 and greater versions of the google.golang.org/grpc server instrumentation. (#574, #576)
  • Do not instrument the OpenTelemetry default global implementation if the user has already set a delegate. (#569)

New Contributors

Full Changelog: v0.9.0-alpha...v0.10.0-alpha

Release v0.9.0-alpha

14 Dec 15:42
v0.9.0-alpha
d25d8d4
Compare
Choose a tag to compare

Added

  • The CLI flag global-impl is added.
    This flag, when used, enables the instrumentation of the OpenTelemetry default global implementation (https://pkg.go.dev/go.opentelemetry.io/otel).
    This means that all trace telemetry from this implementation that would normally be dropped will instead be recorded with the auto-instrumentation pipeline. ([#523]#523)
  • Add WithResourceAttributes InstrumentationOption to configure Instrumentation to add additional resource attributes. (#522)
  • Support versions v0.18.0 and v0.19.0 of golang.org/x/net. (#524)
  • Add the status code to HTTP client instrumentation. (#527)
  • Support versions v1.20.12, v1.21.4, and v1.21.5 of Go standard library. (#535)
  • Support version v1.60.0 of google.golang.org/grpc. (#555)

Changed

  • The instrumentation scope name for the database/sql instrumentation is now go.opentelemtry.io/auto/database/sql. (#507)
  • The instrumentation scope name for the gin instrumentation is now go.opentelemtry.io/auto/github.com/gin-gonic/gin. (#507)
  • The instrumentation scope name for the google.golang.org/grpc/client instrumentation is now go.opentelemtry.io/auto/google.golang.org/grpc. (#507)
  • The instrumentation scope name for the google.golang.org/grpc/server instrumentation is now go.opentelemtry.io/auto/google.golang.org/grpc. (#507)
  • The instrumentation scope name for the net/http/client instrumentation is now go.opentelemtry.io/auto/net/http. (#507)
  • The instrumentation scope name for the net/http/server instrumentation is now go.opentelemtry.io/auto/net/http. (#507)
  • The instrumentation for client.Do was changed to instrumentation for Transport.roundTrip. (#529)

Fixed

  • Support commit hash version for dependencies.
    If a dependency falls within a known version range used by instrumentation, and its offset structure has not changed, instrumentation will default to the known offset value instead of failing to run. (#503)

Release v0.8.0-alpha

14 Nov 20:21
v0.8.0-alpha
32e956f
Compare
Choose a tag to compare

Added

  • Add the WithEnv InstrumentationOption to configure Instrumentation to parse the environment. The Instrumentation will no longer by default parse the environment. This option needs to be used to enable environment parsing, and the order it is passed influences the environment precedence. All options passed before this one will be overridden if there are conflicts, and those passed after will override the environment. (#417)
  • Add the WithTraceExporter InstrumentationOption to configure the trace SpanExporter used by an Instrumentation. (#426)
  • Add HTTP status code attribute to net/http server instrumentation. (#428)
  • The instrumentation scope now includes the version of the auto-instrumentation project. (#442)
  • Add a new WithSampler method allowing end-users to provide their own implementation of OpenTelemetry sampler directly through the package API. (#468).
  • Add uprobes to execDC in order to instrument SQL DML. (#475)

Changed

  • Documentation no longer says that SYS_PTRACE capability is needed. (#388)
  • The NewInstrumentation no longer parses environment variables by default. Use the new WithEnv option to enable environment parsing. (#417)
  • NewInstrumentation now requires a context.Context as its first argument. This context is used in the instantiation of exporters. (#426)
  • Instrumentation now uses an OTLP over HTTP/protobuf exporter (changed from gRPC/protobuf). (#426)

Fixed

  • Parse Go versions that contain GOEXPERIMENT suffixes. (#389)
  • Include the schema URL for the semantic convention used in the exported resource. (#426)
  • Support Go module replace directives for the golang.org/x/net within the google.golang.org/grpc server instrumentation. (#450)

Removed

  • The deprecated go.opentelemetry.io/auto/examples/rolldice module is removed. (#423)

New Contributors

Full Changelog: v0.7.0-alpha...v0.8.0-alpha