Anthony Mirabella
1b5b662136
Remove resampling on span.SetName ( #1545 )
...
The spec makes it optional to attempt resampling when changing the name
of a span and we're not sure whether it can be done in an appropriate
manner, so it's best to not do it at all for now. We can try again
later if we find a good way to do it.
2021-02-18 09:49:10 -08:00
Kacper Stasik
8da5299621
fix: grpc reconnection ( #1521 )
...
* fix: grpc reconnection fixed
* chore: changelog update
* fix: grpc reconnection issue - red test
* fix: grpc reconnection #1524
* fix: grpc reconnection issue cleanup
2021-02-17 15:19:23 -05:00
Punya Biswal
3bce9c97f8
Add Keys() method to propagation.TextMapCarrier ( #1544 )
...
...and propagation.HeaderCarrier to adapt http.Header to this interface.
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-02-17 08:04:49 -08:00
Punya Biswal
0b1a1c7237
Make oteltest.SpanRecorder into a concrete type ( #1542 )
...
* Make oteltest.SpanRecorder into a concrete time
* Fixes
* Fix PR #
* Re-run
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-02-17 07:31:59 -08:00
Tyler Yahn
7d0e3e52b6
SDK span no modification after ended ( #1543 )
...
* Document SDK span ending stops recording
* Guard SDK span set methods with record check
* Document SDK span exported API
Make note of methods that do nothing if span is not recording.
* Document SDK span End recording check
* Document the SetName method
2021-02-17 06:41:18 -08:00
Daniil Rutskiy
7de3b58ce9
Remove extra labels types ( #1314 )
...
* Remove extra labels types
Remove the following labels types: INT32, UINT32, UINT64
and FLOAT32.
Fix all extra labels types occurrences in the project.
Signed-off-by: Daniil Rutskiy <dstdfx@gmail.com>
* Update CHANGELOG.md
Signed-off-by: Daniil Rutskiy <dstdfx@gmail.com>
* Delete unused helpers
Signed-off-by: Daniil Rutskiy <dstdfx@gmail.com>
* Convert passed values into remaining types
Signed-off-by: Daniil Rutskiy <dstdfx@gmail.com>
* Clarify func description
* Fix uint64 convertion
Signed-off-by: Daniil Rutskiy <dstdfx@gmail.com>
* Fix uint conversion
Signed-off-by: Daniil Rutskiy <dstdfx@gmail.com>
* Update OTLP exporter label types
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
2021-02-16 16:23:58 -08:00
dependabot[bot]
73194e44db
Bump google.golang.org/api from 0.39.0 to 0.40.0 in /exporters/trace/jaeger ( #1536 )
...
* Bump google.golang.org/api in /exporters/trace/jaeger
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.39.0 to 0.40.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.39.0...v0.40.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-02-16 09:04:51 -08:00
ET
8fae0a644a
Create resource.Default() with required attributes/default values ( #1507 )
...
* Create resource.Default() with required attributes/default values
Add metric controller and tracer provider tests for resources
* Updated CHANGELOG
* PR comments
+ some small CHANGELOG PR addition, rewording
+ change default resource servicename to `unknown_service:go` (this
matches the Java codebase which uses `unknown_service:java`)
2021-02-15 12:28:37 -08:00
Tyler Yahn
76f9342277
Release v0.17.0 ( #1534 )
...
* Prepare for releasing v0.17.0
* Update CHANGELOG
trace/v0.17.0
exporters/stdout/v0.17.0
sdk/v0.17.0
sdk/metric/v0.17.0
sdk/export/metric/v0.17.0
oteltest/v0.17.0
metric/v0.17.0
exporters/trace/zipkin/v0.17.0
exporters/trace/jaeger/v0.17.0
exporters/metric/prometheus/v0.17.0
exporters/otlp/v0.17.0
bridge/opencensus/v0.17.0
example/namedtracer/v0.17.0
example/prometheus/v0.17.0
example/prom-collector/v0.17.0
bridge/opentracing/v0.17.0
example/opencensus/v0.17.0
example/zipkin/v0.17.0
example/jaeger/v0.17.0
example/otel-collector/v0.17.0
v0.17.0
2021-02-15 10:48:14 -08:00
Punya Biswal
9b242bc401
Organize API into Go modules based on stability and dependencies ( #1528 )
...
* Add a tool to auto-generate replace directives
* Auto-generated changes from previous commit
* Create new modules required for trace release
* otel/metric
* otel/trace
* otel/oteltest
* otel/sdk/export/metric
* otel/sdk/metric
Relates to #1467
* Move metric-related public API out of otel/ pkg
Move GetMeterProvider, Meter and SetMeterProvider to new package
otel/metric/global in the otel/metric module.
This will allow otel/ module to be released as v1.0.
* Include PR references in CHANGELOG
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Check for root dir
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-02-12 08:23:51 -08:00
dependabot[bot]
e50a1c8cec
Bump actions/cache from v2 to v2.1.4 ( #1518 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from v2 to v2.1.4.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-02-09 08:09:25 -08:00
dependabot[bot]
a6aa7f00d0
Bump google.golang.org/api from 0.38.0 to 0.39.0 in /exporters/trace/jaeger ( #1517 )
...
* Bump google.golang.org/api in /exporters/trace/jaeger
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.38.0 to 0.39.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.38.0...v0.39.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2021-02-09 07:57:36 -08:00
Leon Wang
38efc875cf
Code Improvement - Error strings should not be capitalized ( #1488 )
...
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-02-04 11:32:43 -08:00
Tyler Yahn
6b340501b3
Update default branch name ( #1505 )
...
* Update README master branch URL to main
* Remove master branch from workflow triggers
The master branch has been renamed to main.
* Add changes to CHANGELOG
* Rename other projects default branch
All of OpenTelemetry is moving to rename `master` to `main`, this
updates all other URLs for those projects.
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2021-02-04 11:13:25 -08:00
Yoshi Yamaguchi
b39fd052d4
nit: Fix comment to be up-to-date ( #1510 )
...
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-02-04 10:36:34 -08:00
Leon Wang
186c29539f
Fix golint error of package comment form ( #1487 )
...
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-02-04 09:55:44 -08:00
dependabot[bot]
9308d6628e
Bump google.golang.org/api from 0.37.0 to 0.38.0 in /exporters/trace/jaeger ( #1506 )
...
* Bump google.golang.org/api in /exporters/trace/jaeger
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.37.0 to 0.38.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.37.0...v0.38.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2021-02-01 10:57:14 -08:00
ET
1952d7b6af
Reverse order of attribute precedence when merging two Resources ( #1501 )
...
* Reverse order of attribute precedence when merging two Resources
This reflects a change in the specification itself.
https://github.com/open-telemetry/opentelemetry-specification/pull/1345
* Resolves #1500
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-01-29 12:50:55 -08:00
Tyler Yahn
ad7b471586
Remove build flags for runtime/trace support ( #1498 )
...
The minimum version of Go this project supports is 1.14 meaning that all
supported versions of Go support the runtime/trace package. Remove
specific build overrides for versions of Go prior to 1.11 that are not
supported by this project.
2021-01-29 12:41:49 -08:00
Punya Biswal
4bf4b69050
Remove inaccurate and unnecessary import comment ( #1481 )
...
Based on its module, it should be go.opencensus.io/otel/example/opencensus.
However, it's simpler to get rid of it since main packages shouldn't be imported at all.
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-01-29 12:26:49 -08:00
dependabot[bot]
7e19eb6a76
Bump google.golang.org/api from 0.36.0 to 0.37.0 in /exporters/trace/jaeger ( #1504 )
...
* Bump google.golang.org/api in /exporters/trace/jaeger
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.36.0 to 0.37.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.36.0...v0.37.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-01-29 12:08:13 -08:00
dependabot[bot]
c6a4406a58
Bump github.com/golangci/golangci-lint in /internal/tools ( #1503 )
...
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.35.2 to 1.36.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases )
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.35.2...v1.36.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-29 12:00:07 -08:00
Tyler Yahn
9524ac0954
Update workflows to include main branch as trigger ( #1497 )
2021-01-29 11:37:52 -08:00
dependabot[bot]
c066f15ed7
Bump github.com/gogo/protobuf from 1.3.1 to 1.3.2 in /internal/tools ( #1478 )
...
Bumps [github.com/gogo/protobuf](https://github.com/gogo/protobuf ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/gogo/protobuf/releases )
- [Commits](https://github.com/gogo/protobuf/compare/v1.3.1...v1.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-01-19 12:56:46 -08:00
dependabot[bot]
894e024027
Bump github.com/golangci/golangci-lint in /internal/tools ( #1477 )
...
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.35.0 to 1.35.2.
- [Release notes](https://github.com/golangci/golangci-lint/releases )
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.35.0...v1.35.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-01-19 12:45:15 -08:00
dependabot[bot]
71ffba39d1
Bump google.golang.org/grpc from 1.34.0 to 1.35.0 in /exporters/otlp ( #1471 )
...
* Bump google.golang.org/grpc from 1.34.0 to 1.35.0 in /exporters/otlp
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.34.0 to 1.35.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.34.0...v1.35.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-01-19 12:35:26 -08:00
dependabot[bot]
515809a845
Bump github.com/itchyny/gojq from 0.12.0 to 0.12.1 in /internal/tools ( #1472 )
...
Bumps [github.com/itchyny/gojq](https://github.com/itchyny/gojq ) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/itchyny/gojq/releases )
- [Changelog](https://github.com/itchyny/gojq/blob/master/CHANGELOG.md )
- [Commits](https://github.com/itchyny/gojq/compare/v0.12.0...v0.12.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-01-19 12:23:32 -08:00
Hu Shuai
3e96ad1ee6
gitignore: remove unused example path ( #1474 )
...
* gitignore: remove unused example path
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
* example: remove unnecessary file
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
2021-01-19 12:13:49 -08:00
Joshua MacDonald
c56227771d
Histogram aggregator functional options ( #1434 )
...
* Add a Config/Option for histogram
* Just one option here
* Test fixes
* Support and test int64 histograms
* Changelog
* Lint
* Un-export three things.
2021-01-15 18:29:02 -05:00
Joe Schafer
0df8cd620c
Rename Makefile.proto to avoid interpretation as proto file ( #1468 )
...
The main reason for the change is I'm trying to use this library with Bazel,
using gazelle. Gazelle automates creation of the Bazel rules for a Go module.
Gazelle assumes files ending in '.proto' are Protocol Buffer files and invokes
protoc on the file to generate the Go code for the proto file. Unfortunately,
protoc doesn't seem to like Makefiles.
As a side-benefit, editors that don't support Emacs mode hints
`-*- mode: makefile; -*-` won't try to highlight the Makefile as a protobuf
file.
2021-01-15 07:38:29 -08:00
dependabot[bot]
979ff51f22
Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 ( #1453 )
...
* Bump github.com/stretchr/testify from 1.6.1 to 1.7.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-01-14 12:52:19 -08:00
dependabot[bot]
1df8b3b881
Bump github.com/gogo/protobuf from 1.3.1 to 1.3.2 in /exporters/otlp ( #1456 )
...
* Bump github.com/gogo/protobuf from 1.3.1 to 1.3.2 in /exporters/otlp
Bumps [github.com/gogo/protobuf](https://github.com/gogo/protobuf ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/gogo/protobuf/releases )
- [Commits](https://github.com/gogo/protobuf/compare/v1.3.1...v1.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-01-14 12:40:38 -08:00
dependabot[bot]
4c30a90a45
Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /sdk ( #1455 )
...
* Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /sdk
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-01-14 11:40:11 -08:00
dependabot[bot]
5a9f8f6e4e
Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /exporters/stdout ( #1454 )
...
* Bump github.com/stretchr/testify in /exporters/stdout
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-01-14 11:25:33 -08:00
dependabot[bot]
7786f34cff
Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /exporters/trace/zipkin ( #1457 )
...
* Bump github.com/stretchr/testify in /exporters/trace/zipkin
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-01-14 11:16:01 -08:00
dependabot[bot]
4352a7a671
Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /exporters/otlp ( #1460 )
...
* Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /exporters/otlp
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-01-14 10:59:38 -08:00
dependabot[bot]
6990b3b3ea
Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /exporters/metric/prometheus ( #1461 )
...
* Bump github.com/stretchr/testify in /exporters/metric/prometheus
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-01-14 10:15:00 -08:00
dependabot[bot]
7af40d2221
Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /exporters/trace/jaeger ( #1463 )
...
* Bump github.com/stretchr/testify in /exporters/trace/jaeger
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-01-14 09:55:32 -08:00
dependabot[bot]
f16f18929b
Bump google.golang.org/grpc in /example/otel-collector ( #1465 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.34.0 to 1.35.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.34.0...v1.35.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-01-14 09:39:14 -08:00
Tyler Yahn
fe363be399
Move Span Event to API ( #1452 )
...
* Move Span Event to API
* Add changes to CHANGELOG
2021-01-14 09:07:25 -08:00
dependabot[bot]
439222408b
Bump google.golang.org/grpc in /example/prom-collector ( #1466 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.34.0 to 1.35.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.34.0...v1.35.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-14 08:49:18 -08:00
Anthony Mirabella
0aadfb27bc
Prepare release v0.16.0 ( #1464 )
...
* Prepare for releasing v0.16.0
* Prepare CHANGELOG for v0.16.0 release
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
sdk/v0.16.0
exporters/trace/zipkin/v0.16.0
exporters/trace/jaeger/v0.16.0
exporters/stdout/v0.16.0
exporters/otlp/v0.16.0
exporters/metric/prometheus/v0.16.0
example/zipkin/v0.16.0
example/prometheus/v0.16.0
example/prom-collector/v0.16.0
example/otel-collector/v0.16.0
example/opencensus/v0.16.0
example/namedtracer/v0.16.0
example/jaeger/v0.16.0
bridge/opentracing/v0.16.0
bridge/opencensus/v0.16.0
v0.16.0
2021-01-13 20:44:06 -05:00
Joshua MacDonald
207587b6ab
Metric histogram aggregator: Swap in SynchronizedMove to avoid allocations ( #1435 )
...
* Move emptyState() allocations outside lock
* Add more testing
* Re-comment; add CHANGELOG
* Add CHANGELOG PR number
* Update CHANGELOG.md
Co-authored-by: Sam Xie <xsambundy@gmail.com>
Co-authored-by: Bogdan Drutu <lazy@splunk.com>
Co-authored-by: Sam Xie <xsambundy@gmail.com>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2021-01-13 20:21:28 -05:00
Sam Xie
c29c6fd1ad
Shutdown underlying span exporter while shutting down BatchSpanProcessor ( #1443 )
...
* Fix BatchSpanProcessor does not shutdown underlying span exporter
* Update CHANGELOG
* Fix tests
* Update CHANGELOG.md
2021-01-13 20:14:03 -05:00
Joshua MacDonald
dfece3d2b9
Combine the Push and Pull metric controllers ( #1378 )
...
* Push->basic
* Repackage
* Rename away from push
* Make exporter optional; export from a separate goroutine
* Move pull_test into controller_test
* Precommit pass
* New OTLP/Prom example
* Precommit
* Fix the example
* Shorten the example
* Test starting controller w/o exporter
* Test export timeout
* Remove ancient example & lint
* go.mod revert & tidy
* Comments
* Tidy a diff
* Tidy a diff
* Move export kind selector in the new example
* Split this test into its original parts
* Reduce diff size
* Changelog
* Remove extra Add/Done pair
* Remove unused stopCh param; document the Stop behavior
* Typo
* Use ctx
* Missed v0.15
* Apply PR feedback
* Precommit pass
* 0.14 -> 0.15 in new file
* Remove diff chunk markers
* Fix OTLP example
* Upstream
* dashpole comments
* aneurysm9 feedback
* Tidy go.sum
2021-01-13 17:07:44 -05:00
Anthony Mirabella
74deeddd26
Handle tracestate in TraceContext propagator ( #1447 )
...
* TraceContext propagator now handles `tracestate`.
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Prevent invalid tracestate from invalidating traceparent.
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Fail tests early if unable to construct expected TraceContext
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
2021-01-12 11:12:14 -08:00
Joshua MacDonald
49f699d657
Remove Quantile aggregation, DDSketch aggregator; add Exact timestamps ( #1412 )
...
* Remove quantile definition
* Complete removal of Quantile-related function
* Comment in selector/simple/simple.go
* Remove 'quantile' in mmsc
* Rename array->exact
* Update changelog
* Add PR number
* Rename exact benchmark
* New test for exact timestamps
* Add timestamp tests
* More test
* From feedback
* Apply suggestions from code review
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Samples->Points
* Rename
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-01-12 10:19:13 -08:00
Eundoo Song
9c949411ce
Rename internal/testing to internal/internaltest ( #1449 )
2021-01-12 08:56:16 -08:00
Krzesimir Nowak
8d80981465
Move gRPC driver to a subpackage and add an HTTP driver ( #1420 )
...
* Move grpc stuff to separate package
* Drop duplicated retryable status code
* Set default port to 4317
This is what the specification says for both gRPC and HTTP.
* Document gRPC option type
* Add an HTTP protocol driver for OTLP exporter
Currently it supports only binary protobuf payloads.
* Move end to end test to a separate package
It also adds some common code mock collectors can use. This will be
useful for testing the HTTP driver.
* Move export data creators to otlptest
It also extends the one record checkpointer a bit. This will be useful
for testing the HTTP driver.
* Add an HTTP mock collector and tests for HTTP driver
* Update changelog
* Do not depend on DefaultTransport
We create our own instance of the transport, which is based on
golang's DefaultTransport. That way we sidestep the issue of the
DefaultTransport being modified/overwritten. We won't have any panics
at init. The cost of it is to keep the transport fields in sync with
DefaultTransport.
* Read the whole response body before closing it
This may help with connection reuse.
* Change options to conform to our style guide
* Add jitter to backoff time
* Test TLS option
* Test extra headers
* Fix a comment
* Increase coverage
* Add a source of the backoff strategy
2021-01-11 22:55:24 -05:00
dependabot[bot]
9332af1b46
Bump github.com/golangci/golangci-lint in /internal/tools ( #1445 )
...
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.34.1 to 1.35.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases )
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.34.1...v1.35.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-11 10:11:57 -08:00