From 8da41a63744dc701f36e79bed17af145924c169b Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Thu, 3 Oct 2024 10:54:12 -0700 Subject: [PATCH] Release v0.15.0-alpha (#1142) * Bump alpha modset version * Add missing mod entry for autosdk * Prepare alpha for version v0.15.0-alpha * Run pre-release * Update changelog * Update expected traces * Document the lack of sampler impl --- CHANGELOG.md | 9 +++++++-- instrumentation.go | 2 ++ internal/test/e2e/autosdk/traces.json | 2 +- internal/test/e2e/databasesql/traces.json | 6 +++--- internal/test/e2e/gin/traces.json | 4 ++-- internal/test/e2e/grpc/traces.json | 4 ++-- internal/test/e2e/kafka-go/traces.json | 4 ++-- internal/test/e2e/nethttp/traces.json | 4 ++-- internal/test/e2e/nethttp_custom/traces.json | 4 ++-- internal/test/e2e/otelglobal/traces.json | 2 +- version.go | 2 +- versions.yaml | 3 ++- 12 files changed, 27 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51ee4c5bd..c34db38ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ OpenTelemetry Go Automatic Instrumentation adheres to [Semantic Versioning](http ## [Unreleased] +## [v0.15.0-alpha] - 2024-10-01 + ### Added - Support Go `v1.21.13`. ([#988](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/988)) @@ -19,7 +21,9 @@ OpenTelemetry Go Automatic Instrumentation adheres to [Semantic Versioning](http - Support `go.opentelemetry.io/otel@v1.29.0`. ([#1032](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1032)) - Support `google.golang.org/grpc` `1.66.0`. ([#1046](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1046)) - `Sampler` interface that can be passed to `Instrumentation` via the new `WithSampler` option. - This configuration allows customization of what sampler is used by the `Instrumentation`. ([#982](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/982)) + 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](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/982)) - The `OTEL_TRACES_SAMPLER` and `OTEL_TRACES_SAMPLER_ARG` environment variables are now supported when the `WithEnv` option is used. ([#982](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/982)) - Support `golang.org/x/net` `v0.29.0`. ([#1051](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1051)) - Support Go `1.22.7`. ([#1051](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1051)) @@ -429,7 +433,8 @@ OpenTelemetry Go Automatic Instrumentation adheres to [Semantic Versioning](http This is the first release of OpenTelemetry Go Automatic Instrumentation. -[Unreleased]: https://github.com/open-telemetry/opentelemetry-go-instrumentation/compare/v0.14.0-alpha...HEAD +[Unreleased]: https://github.com/open-telemetry/opentelemetry-go-instrumentation/compare/v0.15.0-alpha...HEAD +[v0.15.0-alpha]: https://github.com/open-telemetry/opentelemetry-go-instrumentation/releases/tag/v0.15.0-alpha [v0.14.0-alpha]: https://github.com/open-telemetry/opentelemetry-go-instrumentation/releases/tag/v0.14.0-alpha [v0.13.0-alpha]: https://github.com/open-telemetry/opentelemetry-go-instrumentation/releases/tag/v0.13.0-alpha [v0.12.0-alpha]: https://github.com/open-telemetry/opentelemetry-go-instrumentation/releases/tag/v0.12.0-alpha diff --git a/instrumentation.go b/instrumentation.go index f924b5f9b..0aeb1a800 100644 --- a/instrumentation.go +++ b/instrumentation.go @@ -488,6 +488,8 @@ func WithTraceExporter(exp trace.SpanExporter) InstrumentationOption { // WithSampler returns an [InstrumentationOption] that will configure // an [Instrumentation] to use the provided sampler to sample OpenTelemetry traces. +// +// This currently is a no-op. It is expected to take effect in the next release. func WithSampler(sampler Sampler) InstrumentationOption { return fnOpt(func(_ context.Context, c instConfig) (instConfig, error) { c.sampler = sampler diff --git a/internal/test/e2e/autosdk/traces.json b/internal/test/e2e/autosdk/traces.json index 3d75037a4..577271428 100644 --- a/internal/test/e2e/autosdk/traces.json +++ b/internal/test/e2e/autosdk/traces.json @@ -36,7 +36,7 @@ { "key": "telemetry.distro.version", "value": { - "stringValue": "v0.14.0-alpha" + "stringValue": "v0.15.0-alpha" } }, { diff --git a/internal/test/e2e/databasesql/traces.json b/internal/test/e2e/databasesql/traces.json index c48e9fb8b..2131d6ef8 100644 --- a/internal/test/e2e/databasesql/traces.json +++ b/internal/test/e2e/databasesql/traces.json @@ -36,7 +36,7 @@ { "key": "telemetry.distro.version", "value": { - "stringValue": "v0.14.0-alpha" + "stringValue": "v0.15.0-alpha" } }, { @@ -53,7 +53,7 @@ "schemaUrl": "https://opentelemetry.io/schemas/1.26.0", "scope": { "name": "go.opentelemetry.io/auto/database/sql", - "version": "v0.14.0-alpha" + "version": "v0.15.0-alpha" }, "spans": [ { @@ -79,7 +79,7 @@ "schemaUrl": "https://opentelemetry.io/schemas/1.26.0", "scope": { "name": "go.opentelemetry.io/auto/net/http", - "version": "v0.14.0-alpha" + "version": "v0.15.0-alpha" }, "spans": [ { diff --git a/internal/test/e2e/gin/traces.json b/internal/test/e2e/gin/traces.json index ae9bcb217..7881a3732 100644 --- a/internal/test/e2e/gin/traces.json +++ b/internal/test/e2e/gin/traces.json @@ -36,7 +36,7 @@ { "key": "telemetry.distro.version", "value": { - "stringValue": "v0.14.0-alpha" + "stringValue": "v0.15.0-alpha" } }, { @@ -53,7 +53,7 @@ "schemaUrl": "https://opentelemetry.io/schemas/1.26.0", "scope": { "name": "go.opentelemetry.io/auto/net/http", - "version": "v0.14.0-alpha" + "version": "v0.15.0-alpha" }, "spans": [ { diff --git a/internal/test/e2e/grpc/traces.json b/internal/test/e2e/grpc/traces.json index 20baa8664..784b7b4a1 100644 --- a/internal/test/e2e/grpc/traces.json +++ b/internal/test/e2e/grpc/traces.json @@ -36,7 +36,7 @@ { "key": "telemetry.distro.version", "value": { - "stringValue": "v0.14.0-alpha" + "stringValue": "v0.15.0-alpha" } }, { @@ -53,7 +53,7 @@ "schemaUrl": "https://opentelemetry.io/schemas/1.26.0", "scope": { "name": "go.opentelemetry.io/auto/google.golang.org/grpc", - "version": "v0.14.0-alpha" + "version": "v0.15.0-alpha" }, "spans": [ { diff --git a/internal/test/e2e/kafka-go/traces.json b/internal/test/e2e/kafka-go/traces.json index a46e389be..366b57dae 100644 --- a/internal/test/e2e/kafka-go/traces.json +++ b/internal/test/e2e/kafka-go/traces.json @@ -36,7 +36,7 @@ { "key": "telemetry.distro.version", "value": { - "stringValue": "v0.14.0-alpha" + "stringValue": "v0.15.0-alpha" } }, { @@ -53,7 +53,7 @@ "schemaUrl": "https://opentelemetry.io/schemas/1.26.0", "scope": { "name": "go.opentelemetry.io/auto/github.com/segmentio/kafka-go", - "version": "v0.14.0-alpha" + "version": "v0.15.0-alpha" }, "spans": [ { diff --git a/internal/test/e2e/nethttp/traces.json b/internal/test/e2e/nethttp/traces.json index cc1c99a31..82116f1b2 100644 --- a/internal/test/e2e/nethttp/traces.json +++ b/internal/test/e2e/nethttp/traces.json @@ -36,7 +36,7 @@ { "key": "telemetry.distro.version", "value": { - "stringValue": "v0.14.0-alpha" + "stringValue": "v0.15.0-alpha" } }, { @@ -53,7 +53,7 @@ "schemaUrl": "https://opentelemetry.io/schemas/1.26.0", "scope": { "name": "go.opentelemetry.io/auto/net/http", - "version": "v0.14.0-alpha" + "version": "v0.15.0-alpha" }, "spans": [ { diff --git a/internal/test/e2e/nethttp_custom/traces.json b/internal/test/e2e/nethttp_custom/traces.json index e4b6dbcc1..239890da0 100644 --- a/internal/test/e2e/nethttp_custom/traces.json +++ b/internal/test/e2e/nethttp_custom/traces.json @@ -36,7 +36,7 @@ { "key": "telemetry.distro.version", "value": { - "stringValue": "v0.14.0-alpha" + "stringValue": "v0.15.0-alpha" } }, { @@ -53,7 +53,7 @@ "schemaUrl": "https://opentelemetry.io/schemas/1.26.0", "scope": { "name": "go.opentelemetry.io/auto/net/http", - "version": "v0.14.0-alpha" + "version": "v0.15.0-alpha" }, "spans": [ { diff --git a/internal/test/e2e/otelglobal/traces.json b/internal/test/e2e/otelglobal/traces.json index e9f478743..aa4b12acc 100644 --- a/internal/test/e2e/otelglobal/traces.json +++ b/internal/test/e2e/otelglobal/traces.json @@ -36,7 +36,7 @@ { "key": "telemetry.distro.version", "value": { - "stringValue": "v0.14.0-alpha" + "stringValue": "v0.15.0-alpha" } }, { diff --git a/version.go b/version.go index 3671d1334..28031c664 100644 --- a/version.go +++ b/version.go @@ -5,5 +5,5 @@ package auto // Version is the current release version of OpenTelemetry Go auto-instrumentation in use. func Version() string { - return "v0.14.0-alpha" + return "v0.15.0-alpha" } diff --git a/versions.yaml b/versions.yaml index 57445644e..16a517e08 100644 --- a/versions.yaml +++ b/versions.yaml @@ -3,7 +3,7 @@ module-sets: alpha: - version: v0.14.0-alpha + version: v0.15.0-alpha modules: - go.opentelemetry.io/auto excluded-modules: @@ -13,6 +13,7 @@ excluded-modules: - go.opentelemetry.io/auto/examples/kafka-go/producer - go.opentelemetry.io/auto/examples/kafka-go/consumer - go.opentelemetry.io/auto/examples/rolldice + - go.opentelemetry.io/auto/internal/test/e2e/autosdk - go.opentelemetry.io/auto/internal/test/e2e/databasesql - go.opentelemetry.io/auto/internal/test/e2e/gin - go.opentelemetry.io/auto/internal/test/e2e/grpc