OpenTelemetry - CNCF/opentelemetry-go-instrumentation: Release v0.15.0-alpha
Name: opentelemetry-go-instrumentation
Owner: OpenTelemetry - CNCF
Release: v0.15.0-alpha
Released: 2024-10-03
License: Apache-2.0
Release Assets:
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 toInstrumentation
via the newWithSampler
option. This is wireframe configuration, it currently has not effect. It will be used to allows customization of what sampler is used by theInstrumentation
. Implementation, of this feature is expected in the next release. (#982)- The
OTEL_TRACES_SAMPLER
andOTEL_TRACES_SAMPLER_ARG
environment variables are now supported when theWithEnv
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 forWithLogLevel
. Anslog.Logger
can now be configured by the user any way they want and then passed to theInstrumentation
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 newSampler
interface instead oftrace.Sampler
. (#982)
Fixed
Removed
WithLogLevel
is removed. UseWithLogger
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 https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/949
- Fix license headers and check for license headers by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/955
- Update rlimit.RemoveMemlock comment by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/959
- Rename utilities.bash to utilities.sh by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/956
- Test
arm64
builds by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/958 - Bump docker/build-push-action from 6.3.0 to 6.4.1 by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/963
- Document that only tracing is supported by @pellared in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/964
- Update libbpf to v1.4.5 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/957
- Bump docker/setup-buildx-action from 3.4.0 to 3.5.0 by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/966
- Bump docker/login-action from 3.2.0 to 3.3.0 by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/969
- Bump docker/build-push-action from 6.4.1 to 6.5.0 by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/968
- Bump docker/setup-qemu-action from 3.1.0 to 3.2.0 by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/967
- Bump github.com/docker/docker from 27.0.3+incompatible to 27.1.1+incompatible in /internal/tools by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/970
- Bump github.com/cilium/ebpf from 0.15.0 to 0.16.0 by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/965
- Fix spelling error by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/977
- Ignore built Go bin by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/979
- Fix comuunity link by @RonFed in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/983
- Bump docker/setup-buildx-action from 3.5.0 to 3.6.1 by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/985
- [auto] Update generated offsets by @github-actions in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/988
- Bump golang from 1.22.5 to 1.22.6 in /examples/rolldice by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/990
- Bump golang from 1.22.4-bullseye to 1.22.6-bullseye by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/991
- Bump golang.org/x/arch from 0.8.0 to 0.9.0 by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/993
- Bump golang.org/x/sync from 0.7.0 to 0.8.0 in /internal/tools by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/992
- Fix shutdown panic by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/980
- Bump docker/build-push-action from 6.5.0 to 6.6.1 by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/996
- Bump golang from 1.22.5 to 1.22.6 in /examples/kafka-go by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1001
- Bump golang from 1.22.5 to 1.22.6 in /examples/httpPlusdb by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/999
- [auto] Update generated offsets by @github-actions in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1007
- Add probe loading tests across multiple kernel versions using vimto by @RonFed in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1005
- Bump github.com/docker/docker from 27.1.1+incompatible to 27.1.2+incompatible in /internal/tools by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1012
- Bump golang from 1.22.6-bullseye to 1.23.0-bullseye by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1014
- Bump docker/build-push-action from 6.6.1 to 6.7.0 by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1019
- Bump golang from 1.22.6 to 1.23.0 in /examples/httpPlusdb by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1016
- Bump golang from 1.22.6 to 1.23.0 in /examples/rolldice by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1020
- Bump golang from 1.22.6 to 1.23.0 in /examples/kafka-go by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1024
- Bump golang.org/x/sys from 0.22.0 to 0.24.0 by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/994
- Bump golang from 1.22.5 to 1.23.0 in /internal/test/e2e/databasesql by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1011
- Bump golang from 1.22.5 to 1.23.0 in /internal/test/e2e/otelglobal by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1015
- Bump golang from 1.22.5 to 1.23.0 in /internal/test/e2e/nethttp_custom by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1017
- Bump golang from 1.22.5 to 1.23.0 in /internal/test/e2e/gin by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1018
- Bump golang from 1.22.5 to 1.23.0 in /internal/test/e2e/nethttp by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1021
- Bump golang from 1.22.5 to 1.23.0 in /internal/test/e2e/kafka-go by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1022
- Bump golang from 1.22.5 to 1.23.0 in /internal/test/e2e/grpc by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1023
- Bump github.com/golangci/golangci-lint from 1.59.1 to 1.60.1 in /internal/tools by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1013
- fix typo err and add env ref by @minimAluminiumalism in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1009
- Introduce Config Provider as an option to set the initial configuration and update it. by @RonFed in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1010
- Flush on shutdown by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1028
- Increase BSP timeout for a more consistent batch size in e2e tests by @RonFed in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1029
- Add @RonFed as a project maintainer :tada: by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1030
- Add @damemi as a project maintainer :tada: by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1031
- [auto] Update generated offsets by @github-actions in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1032
- Bump go.opentelemetry.io/otel from 1.28.0 to 1.29.0 by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1039
- Bump go.opentelemetry.io/contrib/exporters/autoexport from 0.53.0 to 0.54.0 by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1042
- Bump github.com/golangci/golangci-lint from 1.60.1 to 1.60.3 in /internal/tools by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1034
- [auto] Update generated offsets by @github-actions in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1046
- Bump google.golang.org/grpc from 1.65.0 to 1.66.0 in /internal/test/e2e/grpc by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1047
- Bump github.com/docker/docker from 27.1.2+incompatible to 27.2.0+incompatible in /internal/tools by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1048
- [auto] Update generated offsets by @github-actions in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1051
- Add sampling config for instrumentation by @RonFed in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/982
- Include dependency info in logged error by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1055
- fix doc typo error:
Cillium
toCilium
by @minimAluminiumalism in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1076 - Bump golang from 1.23.0 to 1.23.1 in /examples/kafka-go by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1073
- Bump golang from 1.23.0 to 1.23.1 in /examples/rolldice by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1071
- Bump github.com/mattn/go-sqlite3 from 1.14.22 to 1.14.23 in /internal/test/e2e/databasesql by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1069
- Bump github.com/mattn/go-sqlite3 from 1.14.22 to 1.14.23 in /examples/httpPlusdb by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1066
- Bump peter-evans/create-pull-request from 6 to 7 by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1064
- Bump golang.org/x/arch from 0.9.0 to 0.10.0 by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1059
- Bump golang from 1.23.0-bullseye to 1.23.1-bullseye by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1061
- Bump distroless/base-debian12 from
1aae189
toc925d12
by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1062 - Bump golang from 1.23.0 to 1.23.1 in /examples/httpPlusdb by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1063
- Bump golang from 1.23.0 to 1.23.1 in /internal/test/e2e/databasesql by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1057
- Bump golang from 1.23.0 to 1.23.1 in /internal/test/e2e/nethttp by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1058
- Bump golang from 1.23.0 to 1.23.1 in /internal/test/e2e/nethttp_custom by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1065
- [auto] Update generated offsets by @github-actions in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1078
- Bump golang from 1.23.0 to 1.23.1 in /internal/test/e2e/grpc by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1067
- Bump golang from 1.23.0 to 1.23.1 in /internal/test/e2e/otelglobal by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1068
- Bump golang from 1.23.0 to 1.23.1 in /internal/test/e2e/gin by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1070
- Bump golang from 1.23.0 to 1.23.1 in /internal/test/e2e/kafka-go by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1072
- Bump golang.org/x/sys from 0.24.0 to 0.25.0 by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1060
- Flatten
auto/config
intoauto
by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1054 - Log the CLI version by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1077
- Instrument gRPC status code for client spans by @damemi in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1044
- Add @grcevski as a Project Approver :tada: by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1082
- [auto] Update generated offsets by @github-actions in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1083
- Add the auto-instrumentation SDK wireframe by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1050
- Bump go.opentelemetry.io/contrib/exporters/autoexport from 0.54.0 to 0.55.0 by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1096
- Bump go.opentelemetry.io/otel/trace from 1.29.0 to 1.30.0 in /sdk by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1089
- Bump go.opentelemetry.io/otel/trace from 1.29.0 to 1.30.0 in /internal/test/e2e/otelglobal by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1085
- Bump google.golang.org/grpc from 1.66.0 to 1.66.2 in /internal/test/e2e/grpc by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1086
- Bump go.opentelemetry.io/otel/trace from 1.29.0 to 1.30.0 in /examples/kafka-go/consumer by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1087
- Bump github.com/golangci/golangci-lint from 1.60.3 to 1.61.0 in /internal/tools by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1094
- Bump go.opentelemetry.io/collector/pdata from 1.14.1 to 1.15.0 in /sdk by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1095
- Bump github.com/docker/docker from 27.2.0+incompatible to 27.2.1+incompatible in /internal/tools by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1097
- Test Span operations do not panic for nil values by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1099
- Add example test to SDK for documentation by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1100
- Switch
SpanEvent
times to usetime.Time
by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1101 - Use slog instead of logr by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1080
- [auto] Update generated offsets by @github-actions in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1116
- Bump Go supported versions by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1115
- Test the SDK's
Span.TracerProvider
method by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1109 - Test SDK's Span.IsRecording by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1113
- Add the SDK probe by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1107
- Bump google.golang.org/grpc from 1.66.2 to 1.67.0 in /internal/test/e2e/grpc by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1119
- Bump distroless/base-debian12 from
c925d12
to88e0a2a
by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1120 - Bump github.com/docker/docker from 27.2.1+incompatible to 27.3.1+incompatible in /internal/tools by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1121
- Remove private consts type redeclaration by @damemi in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1118
- Implement the SDK's Span.SetAttributes method by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1111
- Implement the SDK's Span.SetStatus method by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1112
- Test the SDK's Span.SpanContext method by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1114
- Implement the Span.SetName method by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1110
- Add end-to-end tests for the SDK by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1108
- Bump distroless/base-debian12 from
88e0a2a
to6ae5fe6
by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1129 - Bump docker/build-push-action from 6.7.0 to 6.8.0 by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1130
- Bump go.opentelemetry.io/collector/pdata from 1.15.0 to 1.16.0 by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1131
- Bump go.opentelemetry.io/collector/pdata from 1.15.0 to 1.16.0 in /sdk by @dependabot in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1132
- Build the auto-instrumentation image once in e2e workflow by @RonFed in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1138
- Update COMPATIBILITY documentation by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1137
- [auto] Update generated offsets by @github-actions in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1143
- Add span start attributes to the SDK data by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1133
- Add span kind support to SDK and SDK probe by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1134
- Remove unneeded setup-go steps by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1145
- Set the span status in the SDK probe by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1144
- Add autosdk as target library for kind workflows by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1147
- Add span links to the SDK and SDK probe by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1135
- Add span events to the SDK and SDK probe by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1136
- Add env var page to docs by @pauljwil in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/981
- Release v0.15.0-alpha by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1142
New Contributors
- @minimAluminiumalism made their first contribution in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1009
- @pauljwil made their first contribution in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/981
Full Changelog: https://github.com/open-telemetry/opentelemetry-go-instrumentation/compare/v0.14.0-alpha...v0.15.0-alpha