Skip to content

Commit

Permalink
Release v0.16.0-alpha (#1210)
Browse files Browse the repository at this point in the history
* Bump versions.yaml

* Include auto/sdk in released modules

* Run prerelease

* Prepare alpha for version v0.16.0-alpha

* Update changelog

* Add changelog entry for sdk module

* Update the expected test values

* Do no publish the sdk/telemetry/test module

* Split the auto and sdk release modules
  • Loading branch information
MrAlias authored Oct 23, 2024
1 parent 78eb1f5 commit f924116
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 23 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,18 @@ 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))
- Support `google.golang.org/grpc` `1.65.1`. ([#1174](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1174))
- Support `go.opentelemetry.io/[email protected]`. ([#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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion internal/test/e2e/autosdk/traces.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{
"key": "telemetry.distro.version",
"value": {
"stringValue": "v0.15.0-alpha"
"stringValue": "v0.16.0-alpha"
}
},
{
Expand Down
6 changes: 3 additions & 3 deletions internal/test/e2e/databasesql/traces.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{
"key": "telemetry.distro.version",
"value": {
"stringValue": "v0.15.0-alpha"
"stringValue": "v0.16.0-alpha"
}
},
{
Expand All @@ -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": [
{
Expand All @@ -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": [
{
Expand Down
4 changes: 2 additions & 2 deletions internal/test/e2e/gin/traces.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{
"key": "telemetry.distro.version",
"value": {
"stringValue": "v0.15.0-alpha"
"stringValue": "v0.16.0-alpha"
}
},
{
Expand All @@ -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": [
{
Expand Down
4 changes: 2 additions & 2 deletions internal/test/e2e/grpc/traces.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{
"key": "telemetry.distro.version",
"value": {
"stringValue": "v0.15.0-alpha"
"stringValue": "v0.16.0-alpha"
}
},
{
Expand All @@ -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": [
{
Expand Down
4 changes: 2 additions & 2 deletions internal/test/e2e/kafka-go/traces.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{
"key": "telemetry.distro.version",
"value": {
"stringValue": "v0.15.0-alpha"
"stringValue": "v0.16.0-alpha"
}
},
{
Expand All @@ -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": [
{
Expand Down
4 changes: 2 additions & 2 deletions internal/test/e2e/nethttp/traces.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{
"key": "telemetry.distro.version",
"value": {
"stringValue": "v0.15.0-alpha"
"stringValue": "v0.16.0-alpha"
}
},
{
Expand All @@ -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": [
{
Expand Down
4 changes: 2 additions & 2 deletions internal/test/e2e/nethttp_custom/traces.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{
"key": "telemetry.distro.version",
"value": {
"stringValue": "v0.15.0-alpha"
"stringValue": "v0.16.0-alpha"
}
},
{
Expand All @@ -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": [
{
Expand Down
2 changes: 1 addition & 1 deletion internal/test/e2e/otelglobal/traces.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{
"key": "telemetry.distro.version",
"value": {
"stringValue": "v0.15.0-alpha"
"stringValue": "v0.16.0-alpha"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion sdk/telemetry/test/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
2 changes: 1 addition & 1 deletion version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
}
9 changes: 6 additions & 3 deletions versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit f924116

Please sign in to comment.