diff --git a/CHANGELOG.md b/CHANGELOG.md index b75bd2795..ed2e45ed8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ OpenTelemetry Go Automatic Instrumentation adheres to [Semantic Versioning](http ## [Unreleased] +## [v0.16.0-alpha] - 2024-10-22 + ### Added - Support `golang.org/x/net` `v0.30.0`. ([#1149](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1149)) @@ -15,6 +17,9 @@ OpenTelemetry Go Automatic Instrumentation adheres to [Semantic Versioning](http - Support `go.opentelemetry.io/otel@v1.31.0`. ([#1178](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1178)) - Support `google.golang.org/grpc` `1.69.0-dev`. ([#1203](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1203)) - Implement traceID ratio and parent-based samplers. ([#1150](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/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](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1210)) ### Fixed @@ -446,7 +451,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.15.0-alpha...HEAD +[Unreleased]: https://github.com/open-telemetry/opentelemetry-go-instrumentation/compare/v0.16.0-alpha...HEAD +[v0.16.0-alpha]: https://github.com/open-telemetry/opentelemetry-go-instrumentation/releases/tag/v0.16.0-alpha [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 diff --git a/go.mod b/go.mod index be148446e..f5a0431a8 100644 --- a/go.mod +++ b/go.mod @@ -22,7 +22,7 @@ require ( github.com/hashicorp/go-version v1.7.0 github.com/pkg/errors v0.9.1 github.com/stretchr/testify v1.9.0 - go.opentelemetry.io/auto/sdk v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/auto/sdk v0.1.0-alpha go.opentelemetry.io/contrib/exporters/autoexport v0.56.0 go.opentelemetry.io/otel v1.31.0 go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.31.0 diff --git a/internal/test/e2e/autosdk/traces.json b/internal/test/e2e/autosdk/traces.json index 577271428..491fe9cdb 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.15.0-alpha" + "stringValue": "v0.16.0-alpha" } }, { diff --git a/internal/test/e2e/databasesql/traces.json b/internal/test/e2e/databasesql/traces.json index 8fde5cf04..44b8e723e 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.15.0-alpha" + "stringValue": "v0.16.0-alpha" } }, { @@ -53,7 +53,7 @@ "schemaUrl": "https://opentelemetry.io/schemas/1.26.0", "scope": { "name": "go.opentelemetry.io/auto/database/sql", - "version": "v0.15.0-alpha" + "version": "v0.16.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.15.0-alpha" + "version": "v0.16.0-alpha" }, "spans": [ { diff --git a/internal/test/e2e/gin/traces.json b/internal/test/e2e/gin/traces.json index ee5f2dece..7c0b59c62 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.15.0-alpha" + "stringValue": "v0.16.0-alpha" } }, { @@ -53,7 +53,7 @@ "schemaUrl": "https://opentelemetry.io/schemas/1.26.0", "scope": { "name": "go.opentelemetry.io/auto/net/http", - "version": "v0.15.0-alpha" + "version": "v0.16.0-alpha" }, "spans": [ { diff --git a/internal/test/e2e/grpc/traces.json b/internal/test/e2e/grpc/traces.json index 99b24f7a1..d4f7894a6 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.15.0-alpha" + "stringValue": "v0.16.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.15.0-alpha" + "version": "v0.16.0-alpha" }, "spans": [ { diff --git a/internal/test/e2e/kafka-go/traces.json b/internal/test/e2e/kafka-go/traces.json index a1859f15f..ea4c755ab 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.15.0-alpha" + "stringValue": "v0.16.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.15.0-alpha" + "version": "v0.16.0-alpha" }, "spans": [ { diff --git a/internal/test/e2e/nethttp/traces.json b/internal/test/e2e/nethttp/traces.json index d0a96e7c5..2663f6658 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.15.0-alpha" + "stringValue": "v0.16.0-alpha" } }, { @@ -53,7 +53,7 @@ "schemaUrl": "https://opentelemetry.io/schemas/1.26.0", "scope": { "name": "go.opentelemetry.io/auto/net/http", - "version": "v0.15.0-alpha" + "version": "v0.16.0-alpha" }, "spans": [ { diff --git a/internal/test/e2e/nethttp_custom/traces.json b/internal/test/e2e/nethttp_custom/traces.json index e19799de7..0f30a233c 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.15.0-alpha" + "stringValue": "v0.16.0-alpha" } }, { @@ -53,7 +53,7 @@ "schemaUrl": "https://opentelemetry.io/schemas/1.26.0", "scope": { "name": "go.opentelemetry.io/auto/net/http", - "version": "v0.15.0-alpha" + "version": "v0.16.0-alpha" }, "spans": [ { diff --git a/internal/test/e2e/otelglobal/traces.json b/internal/test/e2e/otelglobal/traces.json index abadd11b9..a9daa6a7e 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.15.0-alpha" + "stringValue": "v0.16.0-alpha" } }, { diff --git a/sdk/telemetry/test/go.mod b/sdk/telemetry/test/go.mod index 313c555b1..dfd7ce9dc 100644 --- a/sdk/telemetry/test/go.mod +++ b/sdk/telemetry/test/go.mod @@ -4,7 +4,7 @@ go 1.22.0 require ( github.com/stretchr/testify v1.9.0 - go.opentelemetry.io/auto/sdk v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/auto/sdk v0.1.0-alpha go.opentelemetry.io/collector/pdata v1.17.0 ) diff --git a/version.go b/version.go index 28031c664..f2a57a44f 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.15.0-alpha" + return "v0.16.0-alpha" } diff --git a/version_test.go b/version_test.go index 489a3a54f..1c4e27744 100644 --- a/version_test.go +++ b/version_test.go @@ -38,6 +38,6 @@ func TestVersionMatchesYaml(t *testing.T) { } // incredibad, but it's where the intended version is declared at the moment - expectedVersion := versionInfo["module-sets"].(map[string]interface{})["alpha"].(map[string]interface{})["version"] + expectedVersion := versionInfo["module-sets"].(map[string]interface{})["auto"].(map[string]interface{})["version"] assert.Equal(t, expectedVersion, Version(), "Build version should match versions.yaml.") } diff --git a/versions.yaml b/versions.yaml index 5d8e5c54e..0ea9380b2 100644 --- a/versions.yaml +++ b/versions.yaml @@ -2,10 +2,14 @@ # SPDX-License-Identifier: Apache-2.0 module-sets: - alpha: - version: v0.15.0-alpha + auto: + version: v0.16.0-alpha modules: - go.opentelemetry.io/auto + sdk: + version: v0.1.0-alpha + modules: + - go.opentelemetry.io/auto/sdk excluded-modules: - github.com/hashicorp/go-version - go.opentelemetry.io/auto/examples @@ -21,5 +25,4 @@ excluded-modules: - go.opentelemetry.io/auto/internal/test/e2e/nethttp - go.opentelemetry.io/auto/internal/test/e2e/otelglobal - go.opentelemetry.io/auto/internal/tools - - go.opentelemetry.io/auto/sdk - go.opentelemetry.io/auto/sdk/telemetry/test