Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.15.0-alpha #1142

Merged
merged 13 commits into from
Oct 3, 2024
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -19,7 +21,9 @@ OpenTelemetry Go Automatic Instrumentation adheres to [Semantic Versioning](http
- Support `go.opentelemetry.io/[email protected]`. ([#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))
Expand Down Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions instrumentation.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
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.14.0-alpha"
"stringValue": "v0.15.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.14.0-alpha"
"stringValue": "v0.15.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.14.0-alpha"
"version": "v0.15.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.14.0-alpha"
"version": "v0.15.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.14.0-alpha"
"stringValue": "v0.15.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.14.0-alpha"
"version": "v0.15.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.14.0-alpha"
"stringValue": "v0.15.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.14.0-alpha"
"version": "v0.15.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.14.0-alpha"
"stringValue": "v0.15.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.14.0-alpha"
"version": "v0.15.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.14.0-alpha"
"stringValue": "v0.15.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.14.0-alpha"
"version": "v0.15.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.14.0-alpha"
"stringValue": "v0.15.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.14.0-alpha"
"version": "v0.15.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.14.0-alpha"
"stringValue": "v0.15.0-alpha"
}
},
{
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.14.0-alpha"
return "v0.15.0-alpha"
}
3 changes: 2 additions & 1 deletion versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

module-sets:
alpha:
version: v0.14.0-alpha
version: v0.15.0-alpha
modules:
- go.opentelemetry.io/auto
excluded-modules:
Expand All @@ -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
Expand Down
Loading