Skip to content

Commit

Permalink
Merge branch 'master' into johananl/span-interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias authored Dec 11, 2020
2 parents 2b66366 + 61e07a0 commit eea2c3f
Show file tree
Hide file tree
Showing 18 changed files with 54 additions and 42 deletions.
24 changes: 18 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

### Added

- `trace.WithIDGenerator()` `TracerProviderOption`. (#1363)
- Add the `ReadOnlySpan` and `ReadWriteSpan` interfaces to provide better control for accessing span data. (#1360)

### Changed

- Zipkin exporter relies on the status code for success rather than body read but still read the response body. (#1328)
- Move the OpenCensus example into `example` directory. (#1359)
- Moved the SDK's `internal.IDGenerator` interface in to the `sdk/trace` package to enable support for externally-defined ID generators. (#1363)
- `NewExporter` and `Start` functions in `go.opentelemetry.io/otel/exporters/otlp` now receive `context.Context` as a first parameter. (#1357)
- Rename `export.SpanData` to `export.SpanSnapshot` and use it only for exporting spans. (#1360)
- Store the parent's full `SpanContext` rather than just its span ID in the `span` struct. (#1360)
- Improve span duration accuracy. (#1360)
Expand All @@ -27,6 +22,22 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

- Remove `errUninitializedSpan` as its only usage is now obsolete. (#1360)

## [0.15.0] - 2020-12-10

### Added

- The `WithIDGenerator` `TracerProviderOption` is added to the `go.opentelemetry.io/otel/trace` package to configure an `IDGenerator` for the `TracerProvider`. (#1363)

### Changed

- The Zipkin exporter now uses the Span status code to determine. (#1328)
- `NewExporter` and `Start` functions in `go.opentelemetry.io/otel/exporters/otlp` now receive `context.Context` as a first parameter. (#1357)
- Move the OpenCensus example into `example` directory. (#1359)
- Moved the SDK's `internal.IDGenerator` interface in to the `sdk/trace` package to enable support for externally-defined ID generators. (#1363)
- Bump `github.com/google/go-cmp` from 0.5.3 to 0.5.4 (#1374)
- Bump `github.com/golangci/golangci-lint` in `/internal/tools` (#1375)


### Fixed

- Metric SDK `SumObserver` and `UpDownSumObserver` instruments correctness fixes. (#1381)
Expand Down Expand Up @@ -983,7 +994,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.14.0...HEAD
[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v0.15.0...HEAD
[0.15.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.15.0
[0.14.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.14.0
[0.13.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.13.0
[0.12.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.12.0
Expand Down
2 changes: 1 addition & 1 deletion bridge/opencensus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.14

require (
go.opencensus.io v0.22.6-0.20201102222123-380f4078db9f
go.opentelemetry.io/otel v0.14.0
go.opentelemetry.io/otel v0.15.0
)

replace go.opentelemetry.io/otel => ../..
2 changes: 1 addition & 1 deletion bridge/opentracing/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ replace go.opentelemetry.io/otel => ../..

require (
github.com/opentracing/opentracing-go v1.2.0
go.opentelemetry.io/otel v0.14.0
go.opentelemetry.io/otel v0.15.0
)
6 changes: 3 additions & 3 deletions example/basic/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ replace (
)

require (
go.opentelemetry.io/otel v0.14.0
go.opentelemetry.io/otel/exporters/stdout v0.14.0
go.opentelemetry.io/otel/sdk v0.14.0
go.opentelemetry.io/otel v0.15.0
go.opentelemetry.io/otel/exporters/stdout v0.15.0
go.opentelemetry.io/otel/sdk v0.15.0
)
6 changes: 3 additions & 3 deletions example/jaeger/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ replace (
)

require (
go.opentelemetry.io/otel v0.14.0
go.opentelemetry.io/otel/exporters/trace/jaeger v0.14.0
go.opentelemetry.io/otel/sdk v0.14.0
go.opentelemetry.io/otel v0.15.0
go.opentelemetry.io/otel/exporters/trace/jaeger v0.15.0
go.opentelemetry.io/otel/sdk v0.15.0
)
6 changes: 3 additions & 3 deletions example/namedtracer/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ replace (
)

require (
go.opentelemetry.io/otel v0.14.0
go.opentelemetry.io/otel/exporters/stdout v0.14.0
go.opentelemetry.io/otel/sdk v0.14.0
go.opentelemetry.io/otel v0.15.0
go.opentelemetry.io/otel/exporters/stdout v0.15.0
go.opentelemetry.io/otel/sdk v0.15.0
)
8 changes: 4 additions & 4 deletions example/opencensus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ replace (

require (
go.opencensus.io v0.22.6-0.20201102222123-380f4078db9f
go.opentelemetry.io/otel v0.14.0
go.opentelemetry.io/otel/bridge/opencensus v0.14.0
go.opentelemetry.io/otel/exporters/stdout v0.14.0
go.opentelemetry.io/otel/sdk v0.14.0
go.opentelemetry.io/otel v0.15.0
go.opentelemetry.io/otel/bridge/opencensus v0.15.0
go.opentelemetry.io/otel/exporters/stdout v0.15.0
go.opentelemetry.io/otel/sdk v0.15.0
)
2 changes: 1 addition & 1 deletion example/otel-collector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The complete flow is:

```
-----> Jaeger (trace)
App + SDK ---> OpenTelemtry Collector ---|
App + SDK ---> OpenTelemetry Collector ---|
-----> Prometheus (metrics)
```

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

require (
go.opentelemetry.io/otel v0.14.0
go.opentelemetry.io/otel/exporters/otlp v0.14.0
go.opentelemetry.io/otel/sdk v0.14.0
go.opentelemetry.io/otel v0.15.0
go.opentelemetry.io/otel/exporters/otlp v0.15.0
go.opentelemetry.io/otel/sdk v0.15.0
google.golang.org/grpc v1.32.0
)
4 changes: 2 additions & 2 deletions example/prometheus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ replace (
)

require (
go.opentelemetry.io/otel v0.14.0
go.opentelemetry.io/otel/exporters/metric/prometheus v0.14.0
go.opentelemetry.io/otel v0.15.0
go.opentelemetry.io/otel/exporters/metric/prometheus v0.15.0
)
6 changes: 3 additions & 3 deletions example/zipkin/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ replace (
)

require (
go.opentelemetry.io/otel v0.14.0
go.opentelemetry.io/otel/exporters/trace/zipkin v0.14.0
go.opentelemetry.io/otel/sdk v0.14.0
go.opentelemetry.io/otel v0.15.0
go.opentelemetry.io/otel/exporters/trace/zipkin v0.15.0
go.opentelemetry.io/otel/sdk v0.15.0
)
4 changes: 2 additions & 2 deletions exporters/metric/prometheus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ replace (
require (
github.com/prometheus/client_golang v1.7.1
github.com/stretchr/testify v1.6.1
go.opentelemetry.io/otel v0.14.0
go.opentelemetry.io/otel/sdk v0.14.0
go.opentelemetry.io/otel v0.15.0
go.opentelemetry.io/otel/sdk v0.15.0
)
4 changes: 2 additions & 2 deletions exporters/otlp/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ require (
github.com/golang/protobuf v1.4.2 // indirect
github.com/google/go-cmp v0.5.4
github.com/stretchr/testify v1.6.1
go.opentelemetry.io/otel v0.14.0
go.opentelemetry.io/otel/sdk v0.14.0
go.opentelemetry.io/otel v0.15.0
go.opentelemetry.io/otel/sdk v0.15.0
golang.org/x/net v0.0.0-20191002035440-2ec189313ef0 // indirect
google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884 // indirect
google.golang.org/grpc v1.32.0
Expand Down
4 changes: 2 additions & 2 deletions exporters/stdout/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ replace (

require (
github.com/stretchr/testify v1.6.1
go.opentelemetry.io/otel v0.14.0
go.opentelemetry.io/otel/sdk v0.14.0
go.opentelemetry.io/otel v0.15.0
go.opentelemetry.io/otel/sdk v0.15.0
)
4 changes: 2 additions & 2 deletions exporters/trace/jaeger/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/apache/thrift v0.13.0
github.com/google/go-cmp v0.5.4
github.com/stretchr/testify v1.6.1
go.opentelemetry.io/otel v0.14.0
go.opentelemetry.io/otel/sdk v0.14.0
go.opentelemetry.io/otel v0.15.0
go.opentelemetry.io/otel/sdk v0.15.0
google.golang.org/api v0.32.0
)
4 changes: 2 additions & 2 deletions exporters/trace/zipkin/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ require (
github.com/google/go-cmp v0.5.4
github.com/openzipkin/zipkin-go v0.2.5
github.com/stretchr/testify v1.6.1
go.opentelemetry.io/otel v0.14.0
go.opentelemetry.io/otel/sdk v0.14.0
go.opentelemetry.io/otel v0.15.0
go.opentelemetry.io/otel/sdk v0.15.0
)
2 changes: 1 addition & 1 deletion sdk/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ require (
github.com/google/go-cmp v0.5.4
github.com/google/gofuzz v1.1.0 // indirect
github.com/stretchr/testify v1.6.1
go.opentelemetry.io/otel v0.14.0
go.opentelemetry.io/otel v0.15.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.14.0"
return "0.15.0"
}

0 comments on commit eea2c3f

Please sign in to comment.