1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-24 20:14:40 +02:00

Release v1.5.0 (#2676)

* Bump stable-v1 from v1.4.1 to v1.5.0

* Remove internal/metric module from versions file

This module was removed from the project.

* Prepare stable-v1 for version v1.5.0

* Update changelog

* Update CHANGELOG.md
This commit is contained in:
Tyler Yahn 2022-03-16 09:13:17 -07:00 committed by GitHub
parent b22999748b
commit 2cfc5210f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
31 changed files with 95 additions and 89 deletions

View File

@ -10,13 +10,20 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
### ⚠️ Notice ⚠️
This update is a breaking change of the unstable Metrics API. Code instrumented with the `go.opentelemetry.io/otel/metric` <= v0.27.0 will need to be modified.
This update is a breaking change of the unstable Metrics API.
Code instrumented with the `go.opentelemetry.io/otel/metric` will need to be modified.
### Changed
- The metrics API has been significantly changed. (#2587)
## [1.5.0] - 2022-03-16
### Added
- Log the Exporters configuration in the TracerProviders message. (#2578)
- Added support to configure the span limits with environment variables.
The following environment variables are used. (#2606, #2637)
The following environment variables are supported. (#2606, #2637)
- `OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT`
- `OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT`
- `OTEL_SPAN_EVENT_COUNT_LIMIT`
@ -26,7 +33,7 @@ This update is a breaking change of the unstable Metrics API. Code instrumented
If the provided environment variables are invalid (negative), the default values would be used.
- Rename the `gc` runtime name to `go` (#2560)
- Add container id support to Resource. (#2418)
- Add resource container ID detection. (#2418)
- Add span attribute value length limit.
The new `AttributeValueLengthLimit` field is added to the `"go.opentelemetry.io/otel/sdk/trace".SpanLimits` type to configure this limit for a `TracerProvider`.
The default limit for this resource is "unlimited". (#2637)
@ -38,18 +45,17 @@ This update is a breaking change of the unstable Metrics API. Code instrumented
### Changed
- For tracestate's members, prepend the new element and remove the oldest one, which is over capacity (#2592)
- Drop oldest tracestate `Member` when capacity is reached. (#2592)
- Add event and link drop counts to the exported data from the `oltptrace` exporter. (#2601)
- The metrics API has been significantly changed. (#2587)
- Unify path cleaning functionally in the `otlpmetric` and `otlptrace` config. (#2639)
- Unify path cleaning functionally in the `otlpmetric` and `otlptrace` configuration. (#2639)
- Change the debug message from the `sdk/trace.BatchSpanProcessor` to reflect the count is cumulative. (#2640)
- Introduce new internal envconfig package for OTLP exporters (#2608)
- Introduce new internal `envconfig` package for OTLP exporters. (#2608)
- If `http.Request.Host` is empty, fall back to use `URL.Host` when populating `http.host` in the `semconv` packages. (#2661)
### Fixed
- Remove the OTLP trace exporter limit of SpanEvents when exporting. (#2616)
- Use port `4318` instead of `4317` for default for the `otlpmetrichttp` and `otlptracehttp` client. (#2614, #2625)
- Default to port `4318` instead of `4317` for the `otlpmetrichttp` and `otlptracehttp` client. (#2614, #2625)
- Unlimited span limits are now supported (negative values). (#2636, #2637)
### Deprecated
@ -1740,7 +1746,8 @@ It contains api and sdk for trace and meter.
- CircleCI build CI manifest files.
- CODEOWNERS file to track owners of this project.
[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v1.4.1...HEAD
[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v1.5.0...HEAD
[1.5.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.5.0
[1.4.1]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.4.1
[1.4.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.4.0
[1.3.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.3.0

View File

@ -4,11 +4,11 @@ go 1.16
require (
go.opencensus.io v0.22.6-0.20201102222123-380f4078db9f
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/metric v0.27.0
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/sdk/metric v0.27.0
go.opentelemetry.io/otel/trace v1.4.1
go.opentelemetry.io/otel/trace v1.5.0
)
replace go.opentelemetry.io/otel => ../..

View File

@ -4,10 +4,10 @@ go 1.16
require (
go.opencensus.io v0.23.0
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/bridge/opencensus v0.27.1
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/trace v1.4.1
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
)
replace go.opentelemetry.io/otel => ../../..

View File

@ -6,8 +6,8 @@ replace go.opentelemetry.io/otel => ../..
require (
github.com/opentracing/opentracing-go v1.2.0
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel/trace v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
)
replace go.opentelemetry.io/otel/bridge/opencensus => ../opencensus

View File

@ -3,10 +3,10 @@ module go.opentelemetry.io/otel/example/fib
go 1.16
require (
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.4.1
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/trace v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
)
replace go.opentelemetry.io/otel => ../..

View File

@ -9,9 +9,9 @@ replace (
)
require (
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel/exporters/jaeger v1.4.1
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/jaeger v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
)
replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus

View File

@ -9,10 +9,10 @@ replace (
require (
github.com/go-logr/stdr v1.2.2
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.4.1
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/trace v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
)
replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus

View File

@ -10,11 +10,11 @@ replace (
require (
go.opencensus.io v0.22.6-0.20201102222123-380f4078db9f
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/bridge/opencensus v0.27.1
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v0.27.0
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.4.1
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/sdk/metric v0.27.0
)

View File

@ -8,10 +8,10 @@ replace (
)
require (
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.4.1
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/trace v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
google.golang.org/grpc v1.45.0
)

View File

@ -3,10 +3,10 @@ module go.opentelemetry.io/otel/example/passthrough
go 1.16
require (
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.4.1
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/trace v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
)
replace (

View File

@ -9,7 +9,7 @@ replace (
)
require (
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/prometheus v0.27.0
go.opentelemetry.io/otel/metric v0.27.0
go.opentelemetry.io/otel/sdk/metric v0.27.0

View File

@ -9,10 +9,10 @@ replace (
)
require (
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel/exporters/zipkin v1.4.1
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/trace v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/zipkin v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
)
replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus

View File

@ -5,9 +5,9 @@ go 1.16
require (
github.com/google/go-cmp v0.5.7
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/trace v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
)
replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus

View File

@ -5,10 +5,10 @@ go 1.16
require (
github.com/google/go-cmp v0.5.7
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.5.0
go.opentelemetry.io/otel/metric v0.27.0
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/sdk/metric v0.27.0
go.opentelemetry.io/proto/otlp v0.12.0
google.golang.org/grpc v1.45.0

View File

@ -4,11 +4,11 @@ go 1.16
require (
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.5.0
go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.27.0
go.opentelemetry.io/otel/metric v0.27.0
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/sdk/metric v0.27.0
go.opentelemetry.io/proto/otlp v0.12.0
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013

View File

@ -4,9 +4,9 @@ go 1.16
require (
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.4.1
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.5.0
go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.27.0
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/proto/otlp v0.12.0
google.golang.org/protobuf v1.27.1
)

View File

@ -5,10 +5,10 @@ go 1.16
require (
github.com/google/go-cmp v0.5.7
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.4.1
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/trace v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
go.opentelemetry.io/proto/otlp v0.12.0
google.golang.org/grpc v1.45.0
google.golang.org/protobuf v1.27.1

View File

@ -4,10 +4,10 @@ go 1.16
require (
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.4.1
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.4.1
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.5.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/proto/otlp v0.12.0
go.uber.org/goleak v1.1.12
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013

View File

@ -4,11 +4,11 @@ go 1.16
require (
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.4.1
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.4.1
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/trace v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.5.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
go.opentelemetry.io/proto/otlp v0.12.0
google.golang.org/protobuf v1.27.1
)

View File

@ -5,9 +5,9 @@ go 1.16
require (
github.com/prometheus/client_golang v1.12.1
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/metric v0.27.0
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/sdk/metric v0.27.0
)

View File

@ -9,9 +9,9 @@ replace (
require (
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/metric v0.27.0
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/sdk/metric v0.27.0
)

View File

@ -9,9 +9,9 @@ replace (
require (
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/trace v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
)
replace go.opentelemetry.io/otel/bridge/opencensus => ../../../bridge/opencensus

View File

@ -6,9 +6,9 @@ require (
github.com/google/go-cmp v0.5.7
github.com/openzipkin/zipkin-go v0.4.0
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/trace v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
)
replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus

2
go.mod
View File

@ -7,7 +7,7 @@ require (
github.com/go-logr/stdr v1.2.2
github.com/google/go-cmp v0.5.7
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel/trace v1.4.1
go.opentelemetry.io/otel/trace v1.5.0
)
replace go.opentelemetry.io/otel => ./

View File

@ -2,7 +2,7 @@ module go.opentelemetry.io/otel/metric
go 1.16
require go.opentelemetry.io/otel v1.4.1
require go.opentelemetry.io/otel v1.5.0
replace go.opentelemetry.io/otel => ../

View File

@ -40,7 +40,7 @@ replace go.opentelemetry.io/otel/sdk/metric => ../../metric
replace go.opentelemetry.io/otel/trace => ../../../trace
require (
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/sdk/metric v0.27.0
)

View File

@ -8,8 +8,8 @@ require (
github.com/go-logr/logr v1.2.2
github.com/google/go-cmp v0.5.7
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel/trace v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7
)

View File

@ -41,9 +41,9 @@ replace go.opentelemetry.io/otel/trace => ../../trace
require (
github.com/benbjohnson/clock v1.3.0
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/metric v0.27.0
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/sdk v1.5.0
)
replace go.opentelemetry.io/otel/example/passthrough => ../../example/passthrough

View File

@ -41,7 +41,7 @@ replace go.opentelemetry.io/otel/trace => ./
require (
github.com/google/go-cmp v0.5.7
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel v1.5.0
)
replace go.opentelemetry.io/otel/example/passthrough => ../example/passthrough

View File

@ -16,5 +16,5 @@ package otel // import "go.opentelemetry.io/otel"
// Version is the current release version of OpenTelemetry in use.
func Version() string {
return "1.4.1"
return "1.5.0"
}

View File

@ -14,7 +14,7 @@
module-sets:
stable-v1:
version: v1.4.1
version: v1.5.0
modules:
- go.opentelemetry.io/otel
- go.opentelemetry.io/otel/bridge/opentracing
@ -42,7 +42,6 @@ module-sets:
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
- go.opentelemetry.io/otel/exporters/prometheus
- go.opentelemetry.io/otel/exporters/stdout/stdoutmetric
- go.opentelemetry.io/otel/internal/metric
- go.opentelemetry.io/otel/metric
- go.opentelemetry.io/otel/sdk/export/metric
- go.opentelemetry.io/otel/sdk/metric