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

Pre release v0.18.0 #1635

Merged
merged 3 commits into from
Mar 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [Unreleased]

## [0.18.0] - 2020-03-03

### Added

- Added `resource.Default()` for use with meter and tracer providers. (#1507)
- AttributePerEventCountLimit and AttributePerLinkCountLimit for SpanLimits. (#1535)
- `AttributePerEventCountLimit` and `AttributePerLinkCountLimit` for `SpanLimits`. (#1535)
- Added `Keys()` method to `propagation.TextMapCarrier` and `propagation.HeaderCarrier` to adapt `http.Header` to this interface. (#1544)
- Added `code` attributes to `go.opentelemetry.io/otel/semconv` package. (#1558)
- Compatibility testing suite in the CI system for the following systems. (#1567)
Expand All @@ -27,18 +29,18 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
| Windows | 1.14 | amd64 |
| Windows | 1.15 | 386 |
| Windows | 1.14 | 386 |
- Changed all examples to use `WithBatchTimeout(5 * time.Second)` rather than `WithBatchTimeout(5)` (#1621)

### Changed

- Replaced interface `oteltest.SpanRecorder` with its existing implementation
`StandardSpanRecorder` (#1542).
- Default span limit values to 128. (#1535)
- Rename MaxEventsPerSpan, MaxAttributesPerSpan and MaxLinksPerSpan to EventCountLimit, AttributeCountLimit and LinkCountLimit, and move these fieds into SpanLimits. (#1535)
- Rename `MaxEventsPerSpan`, `MaxAttributesPerSpan` and `MaxLinksPerSpan` to `EventCountLimit`, `AttributeCountLimit` and `LinkCountLimit`, and move these fields into `SpanLimits`. (#1535)
- Renamed the `otel/label` package to `otel/attribute`. (#1541)
- Vendor the Jaeger exporter's dependency on Apache Thrift. (#1551)
- Parallelize the CI linting and testing. (#1567)
- Stagger timestamps in exact aggregator tests. (#1569)
- Changed all examples to use `WithBatchTimeout(5 * time.Second)` rather than `WithBatchTimeout(5)`. (#1621)
- Prevent end-users from implementing some interfaces (#1575)
```
"otel/exporters/otlp/otlphttp".Option
Expand All @@ -59,7 +61,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

- Removed attempt to resample spans upon changing the span name with `span.SetName()`. (#1545)
- The `test-benchmark` is no longer a dependency of the `precommit` make target. (#1567)
- The `test-386` make target.
- Removed the `test-386` make target.
This was replaced with a full compatibility testing suite (i.e. multi OS/arch) in the CI system. (#1567)

### Fixed
Expand Down Expand Up @@ -1107,7 +1109,8 @@ It contains api and sdk for trace and meter.
- CODEOWNERS file to track owners of this project.


[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v0.17.0...HEAD
[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v0.18.0...HEAD
[0.18.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.18.0
[0.17.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.17.0
[0.16.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.16.0
[0.15.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.15.0
Expand Down
6 changes: 3 additions & 3 deletions bridge/opencensus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ go 1.14

require (
go.opencensus.io v0.22.6-0.20201102222123-380f4078db9f
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel/oteltest v0.17.0
go.opentelemetry.io/otel/trace v0.17.0
go.opentelemetry.io/otel v0.18.0
go.opentelemetry.io/otel/oteltest v0.18.0
go.opentelemetry.io/otel/trace v0.18.0
)

replace go.opentelemetry.io/otel => ../..
Expand Down
4 changes: 2 additions & 2 deletions bridge/opentracing/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ replace go.opentelemetry.io/otel => ../..

require (
github.com/opentracing/opentracing-go v1.2.0
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel/trace v0.17.0
go.opentelemetry.io/otel v0.18.0
go.opentelemetry.io/otel/trace v0.18.0
)

replace go.opentelemetry.io/otel/bridge/opencensus => ../opencensus
Expand Down
6 changes: 3 additions & 3 deletions example/jaeger/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ replace (
)

require (
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel/exporters/trace/jaeger v0.17.0
go.opentelemetry.io/otel/sdk v0.17.0
go.opentelemetry.io/otel v0.18.0
go.opentelemetry.io/otel/exporters/trace/jaeger v0.18.0
go.opentelemetry.io/otel/sdk v0.18.0
)

replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus
Expand Down
8 changes: 4 additions & 4 deletions example/namedtracer/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ replace (
)

require (
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel/exporters/stdout v0.17.0
go.opentelemetry.io/otel/sdk v0.17.0
go.opentelemetry.io/otel/trace v0.17.0
go.opentelemetry.io/otel v0.18.0
go.opentelemetry.io/otel/exporters/stdout v0.18.0
go.opentelemetry.io/otel/sdk v0.18.0
go.opentelemetry.io/otel/trace v0.18.0
)

replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus
Expand Down
8 changes: 4 additions & 4 deletions example/opencensus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ replace (

require (
go.opencensus.io v0.22.6-0.20201102222123-380f4078db9f
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel/bridge/opencensus v0.17.0
go.opentelemetry.io/otel/exporters/stdout v0.17.0
go.opentelemetry.io/otel/sdk v0.17.0
go.opentelemetry.io/otel v0.18.0
go.opentelemetry.io/otel/bridge/opencensus v0.18.0
go.opentelemetry.io/otel/exporters/stdout v0.18.0
go.opentelemetry.io/otel/sdk v0.18.0
)

replace go.opentelemetry.io/otel/bridge/opentracing => ../../bridge/opentracing
Expand Down
12 changes: 6 additions & 6 deletions example/otel-collector/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ replace (
)

require (
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel/exporters/otlp v0.17.0
go.opentelemetry.io/otel/metric v0.17.0
go.opentelemetry.io/otel/sdk v0.17.0
go.opentelemetry.io/otel/sdk/metric v0.17.0
go.opentelemetry.io/otel/trace v0.17.0
go.opentelemetry.io/otel v0.18.0
go.opentelemetry.io/otel/exporters/otlp v0.18.0
go.opentelemetry.io/otel/metric v0.18.0
go.opentelemetry.io/otel/sdk v0.18.0
go.opentelemetry.io/otel/sdk/metric v0.18.0
go.opentelemetry.io/otel/trace v0.18.0
google.golang.org/grpc v1.36.0
)

Expand Down
12 changes: 6 additions & 6 deletions example/prom-collector/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ replace (
)

require (
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel/exporters/metric/prometheus v0.17.0
go.opentelemetry.io/otel/exporters/otlp v0.17.0
go.opentelemetry.io/otel/metric v0.17.0
go.opentelemetry.io/otel/sdk v0.17.0
go.opentelemetry.io/otel/sdk/metric v0.17.0
go.opentelemetry.io/otel v0.18.0
go.opentelemetry.io/otel/exporters/metric/prometheus v0.18.0
go.opentelemetry.io/otel/exporters/otlp v0.18.0
go.opentelemetry.io/otel/metric v0.18.0
go.opentelemetry.io/otel/sdk v0.18.0
go.opentelemetry.io/otel/sdk/metric v0.18.0
google.golang.org/grpc v1.36.0
)

Expand Down
6 changes: 3 additions & 3 deletions example/prometheus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ replace (
)

require (
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel/exporters/metric/prometheus v0.17.0
go.opentelemetry.io/otel/metric v0.17.0
go.opentelemetry.io/otel v0.18.0
go.opentelemetry.io/otel/exporters/metric/prometheus v0.18.0
go.opentelemetry.io/otel/metric v0.18.0
)

replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus
Expand Down
6 changes: 3 additions & 3 deletions example/zipkin/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ replace (
)

require (
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel/exporters/trace/zipkin v0.17.0
go.opentelemetry.io/otel/sdk v0.17.0
go.opentelemetry.io/otel v0.18.0
go.opentelemetry.io/otel/exporters/trace/zipkin v0.18.0
go.opentelemetry.io/otel/sdk v0.18.0
)

replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus
Expand Down
10 changes: 5 additions & 5 deletions exporters/metric/prometheus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ replace (
require (
github.com/prometheus/client_golang v1.9.0
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel/metric v0.17.0
go.opentelemetry.io/otel/sdk v0.17.0
go.opentelemetry.io/otel/sdk/export/metric v0.17.0
go.opentelemetry.io/otel/sdk/metric v0.17.0
go.opentelemetry.io/otel v0.18.0
go.opentelemetry.io/otel/metric v0.18.0
go.opentelemetry.io/otel/sdk v0.18.0
go.opentelemetry.io/otel/sdk/export/metric v0.18.0
go.opentelemetry.io/otel/sdk/metric v0.18.0
)

replace go.opentelemetry.io/otel/bridge/opencensus => ../../../bridge/opencensus
Expand Down
12 changes: 6 additions & 6 deletions exporters/otlp/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ require (
github.com/gogo/protobuf v1.3.2
github.com/google/go-cmp v0.5.4
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel/metric v0.17.0
go.opentelemetry.io/otel/sdk v0.17.0
go.opentelemetry.io/otel/sdk/export/metric v0.17.0
go.opentelemetry.io/otel/sdk/metric v0.17.0
go.opentelemetry.io/otel/trace v0.17.0
go.opentelemetry.io/otel v0.18.0
go.opentelemetry.io/otel/metric v0.18.0
go.opentelemetry.io/otel/sdk v0.18.0
go.opentelemetry.io/otel/sdk/export/metric v0.18.0
go.opentelemetry.io/otel/sdk/metric v0.18.0
go.opentelemetry.io/otel/trace v0.18.0
google.golang.org/grpc v1.36.0
)

Expand Down
12 changes: 6 additions & 6 deletions exporters/stdout/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ replace (

require (
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel/metric v0.17.0
go.opentelemetry.io/otel/sdk v0.17.0
go.opentelemetry.io/otel/sdk/export/metric v0.17.0
go.opentelemetry.io/otel/sdk/metric v0.17.0
go.opentelemetry.io/otel/trace v0.17.0
go.opentelemetry.io/otel v0.18.0
go.opentelemetry.io/otel/metric v0.18.0
go.opentelemetry.io/otel/sdk v0.18.0
go.opentelemetry.io/otel/sdk/export/metric v0.18.0
go.opentelemetry.io/otel/sdk/metric v0.18.0
go.opentelemetry.io/otel/trace v0.18.0
)

replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus
Expand Down
6 changes: 3 additions & 3 deletions exporters/trace/jaeger/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ replace (
require (
github.com/google/go-cmp v0.5.4
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel/sdk v0.17.0
go.opentelemetry.io/otel/trace v0.17.0
go.opentelemetry.io/otel v0.18.0
go.opentelemetry.io/otel/sdk v0.18.0
go.opentelemetry.io/otel/trace v0.18.0
google.golang.org/api v0.40.0
)

Expand Down
6 changes: 3 additions & 3 deletions exporters/trace/zipkin/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ require (
github.com/google/go-cmp v0.5.4
github.com/openzipkin/zipkin-go v0.2.5
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel/sdk v0.17.0
go.opentelemetry.io/otel/trace v0.17.0
go.opentelemetry.io/otel v0.18.0
go.opentelemetry.io/otel/sdk v0.18.0
go.opentelemetry.io/otel/trace v0.18.0
)

replace go.opentelemetry.io/otel/bridge/opencensus => ../../../bridge/opencensus
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ go 1.14
require (
github.com/google/go-cmp v0.5.4
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel/metric v0.17.0
go.opentelemetry.io/otel/oteltest v0.17.0
go.opentelemetry.io/otel/trace v0.17.0
go.opentelemetry.io/otel/metric v0.18.0
go.opentelemetry.io/otel/oteltest v0.18.0
go.opentelemetry.io/otel/trace v0.18.0
)

replace go.opentelemetry.io/otel => ./
Expand Down
4 changes: 2 additions & 2 deletions metric/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ replace go.opentelemetry.io/otel/trace => ../trace
require (
github.com/google/go-cmp v0.5.4
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel/oteltest v0.17.0
go.opentelemetry.io/otel v0.18.0
go.opentelemetry.io/otel/oteltest v0.18.0
)
6 changes: 3 additions & 3 deletions oteltest/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ replace go.opentelemetry.io/otel/sdk/metric => ../sdk/metric
replace go.opentelemetry.io/otel/trace => ../trace

require (
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel/metric v0.17.0
go.opentelemetry.io/otel/trace v0.17.0
go.opentelemetry.io/otel v0.18.0
go.opentelemetry.io/otel/metric v0.18.0
go.opentelemetry.io/otel/trace v0.18.0
)
6 changes: 3 additions & 3 deletions sdk/export/metric/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ replace go.opentelemetry.io/otel/trace => ../../../trace

require (
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel/metric v0.17.0
go.opentelemetry.io/otel/sdk v0.17.0
go.opentelemetry.io/otel v0.18.0
go.opentelemetry.io/otel/metric v0.18.0
go.opentelemetry.io/otel/sdk v0.18.0
)
6 changes: 3 additions & 3 deletions sdk/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ replace go.opentelemetry.io/otel => ../
require (
github.com/google/go-cmp v0.5.4
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel/oteltest v0.17.0
go.opentelemetry.io/otel/trace v0.17.0
go.opentelemetry.io/otel v0.18.0
go.opentelemetry.io/otel/oteltest v0.18.0
go.opentelemetry.io/otel/trace v0.18.0
)

replace go.opentelemetry.io/otel/bridge/opencensus => ../bridge/opencensus
Expand Down
8 changes: 4 additions & 4 deletions sdk/metric/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ replace go.opentelemetry.io/otel/trace => ../../trace
require (
github.com/benbjohnson/clock v1.0.3 // do not upgrade to v1.1.x because it would require Go >= 1.15
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel/metric v0.17.0
go.opentelemetry.io/otel/sdk v0.17.0
go.opentelemetry.io/otel/sdk/export/metric v0.17.0
go.opentelemetry.io/otel v0.18.0
go.opentelemetry.io/otel/metric v0.18.0
go.opentelemetry.io/otel/sdk v0.18.0
go.opentelemetry.io/otel/sdk/export/metric v0.18.0
)
2 changes: 1 addition & 1 deletion trace/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ replace go.opentelemetry.io/otel/trace => ./

require (
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v0.17.0
go.opentelemetry.io/otel v0.18.0
)
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 "0.17.0"
return "0.18.0"
}