Jacob953
3dac50a968
test: --20220112 fix histogram instrument unit test ( #2507 )
...
Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2022-03-23 12:26:13 -07:00
Aaron Clawson
2f8698c3b1
Update versions of dependences ( #2710 )
...
github.com/stretchr/testify v1.7.1
github.com/go-logr/logr v1.2.3
github.com/golangci/golangci-lint v1.45.0
golang.org/x/tools v0.1.10
2022-03-21 11:05:16 -04:00
Sourik Ghosh
0fe5eee21f
silence tlsCert.RootCAs.Subjects is deprecated lint err ( #2674 )
...
* silence tlsCert.RootCAs.Subjects is deprecated lint err
Signed-off-by: Sourik Ghosh <sourikghosh31@gmail.com>
* silence rest of the occurrence
Signed-off-by: Sourik Ghosh <sourikghosh31@gmail.com>
Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-03-16 10:03:35 -07:00
Tyler Yahn
2cfc5210f2
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
2022-03-16 09:13:17 -07:00
dependabot[bot]
b22999748b
Bump google.golang.org/grpc from 1.44.0 to 1.45.0 in /exporters/otlp/otlptrace ( #2671 )
...
* Bump google.golang.org/grpc in /exporters/otlp/otlptrace
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.44.0 to 1.45.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.44.0...v1.45.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
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: MrAlias <MrAlias@users.noreply.github.com>
2022-03-15 09:47:52 -07:00
dependabot[bot]
b1d29783a7
Bump google.golang.org/grpc from 1.44.0 to 1.45.0 in /exporters/otlp/otlpmetric ( #2672 )
...
* Bump google.golang.org/grpc in /exporters/otlp/otlpmetric
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.44.0 to 1.45.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.44.0...v1.45.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
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: MrAlias <MrAlias@users.noreply.github.com>
2022-03-15 09:27:38 -07:00
Damien Mathieu
24414b2455
Refactor OTLP exporter env config to be shared across all exporters ( #2608 )
...
* setup global envconfig package for otlp exporter
* use envconfig in otlpmetrics package
* fix lint
* add changelog entry
* Update exporters/otlp/internal/envconfig/envconfig.go
Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
* fix lint
Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2022-03-02 21:07:06 -05:00
Aaron Clawson
18f4cb85ec
[API EPIC 4/4] Fix tests and examples ( #2587 )
...
* Empty All of the metrics dir
* Add instrument api with documentation
* Add a NoOp implementation.
* Updated to the new config standard
* Address PR comments
* This change moves components to sdk/metrics
The Moved components are:
- metric/metrictest
- metric/number
- metric/internal/registry
- metric/sdkapi
* The SDK changes necessary to satasify the new api
* This fixes the remaing tests.
* Update changelog
* refactor the Noop meter and instruments into one package.
* Renamed pkg.Instruments to pkg.InstrumentProvider
Co-authored-by: Aaron Clawson <MadVikingGod@users.noreply.github.com>
2022-03-02 09:50:29 -06:00
Chester Cheung
b66c902777
Unify OTLP path parsing/default Logic ( #2639 )
...
* unify otlp path parsing/default logic
* add changelog
* add license and unit test
* remove else branch
* increase unitt test coverage
* add vanity import
* Update exporters/otlp/internal/config.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update exporters/otlp/internal/config.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update exporters/otlp/internal/config.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update CHANGELOG.md
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update exporters/otlp/internal/config_test.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update exporters/otlp/internal/config_test.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* format the config_test.go
* Update exporters/otlp/internal/config_test.go
Co-authored-by: Sam Xie <sam@samxie.me>
* Update exporters/otlp/internal/config_test.go
Co-authored-by: Sam Xie <sam@samxie.me>
* Update exporters/otlp/internal/config_test.go
Co-authored-by: Sam Xie <sam@samxie.me>
* Update exporters/otlp/internal/config_test.go
Co-authored-by: Sam Xie <sam@samxie.me>
* Update exporters/otlp/internal/config.go
Co-authored-by: Sam Xie <sam@samxie.me>
* Update exporters/otlp/internal/config.go
Co-authored-by: Sam Xie <sam@samxie.me>
* change URLPath to urlPath
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Sam Xie <sam@samxie.me>
2022-03-02 07:13:43 -08:00
Chester Cheung
79f6bc1208
remove old prom-collector depandence ( #2643 )
2022-03-01 15:09:51 -05:00
Aaron Clawson
a1fff3c258
Add Marshaling implementations for exporters ( #2578 )
...
* Add Marshaling implementations for exporters
* Changelog
* Fix changelog
Co-authored-by: Aaron Clawson <MadVikingGod@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-02-25 10:28:28 -08:00
Tyler Yahn
0a6e4d8218
Use port 4318 for otlp*http client default ( #2625 )
...
* Use port 4318 for otlptracehttp client default
* Use port 4318 for otlpmetrichttp client default
* Add changes to changelog
* Fix arg pass error
* Simplify defaultPath path parsing
2022-02-23 09:21:04 -08:00
Damien Mathieu
d51d1b3090
Use randomly-available port in otlp exporters tests ( #2627 )
...
* use randomly-available port in otlp exporters tests
* Update exporters/otlp/otlpmetric/otlpmetricgrpc/client_test.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update exporters/otlp/otlpmetric/otlpmetricgrpc/client_test.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update exporters/otlp/otlpmetric/otlpmetricgrpc/client_test.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update exporters/otlp/otlpmetric/otlpmetricgrpc/client_test.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update exporters/otlp/otlptrace/otlptracegrpc/client_test.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2022-02-22 18:03:17 -05:00
Chester Cheung
8297dbf422
Remove the otlp trace exporter limit of SpanEvents when exporting ( #2616 )
...
* remove the limit of SpanEvents when exporting
* fix changelog
* Update exporters/otlp/otlptrace/internal/tracetransform/span.go
Co-authored-by: Sam Xie <xsambundy@gmail.com>
* Update exporters/otlp/otlptrace/internal/tracetransform/span.go
Co-authored-by: Sam Xie <xsambundy@gmail.com>
* Update exporters/otlp/otlptrace/internal/tracetransform/span.go
Co-authored-by: Sam Xie <xsambundy@gmail.com>
* Update CHANGELOG.md
Co-authored-by: Sam Xie <xsambundy@gmail.com>
* fix unused param
* fix changelog
* Update CHANGELOG.md
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* fix unittest
* fix code format
Co-authored-by: Sam Xie <xsambundy@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-02-17 08:29:18 -08:00
yellow chicks
67f508b866
feature/exporter: add Drop Counts for oltptracer's event and link ( #2601 )
...
* feature/exporter: add Drop Counts for oltptracer's event
Signed-off-by: 1046102779 <seachen@tencent.com>
* feature/exporter: add Drop Counts for oltptracer's event
Signed-off-by: 1046102779 <seachen@tencent.com>
* feature/exporter: add Drop Counts for oltptracer's event and link
Signed-off-by: 1046102779 <seachen@tencent.com>
* feature/exporter: add Drop Counts for oltptracer's event and link
Signed-off-by: 1046102779 <seachen@tencent.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-02-16 11:50:45 -08:00
Tyler Yahn
065ba75c4b
Release v1.4.1/v0.27.1 ( #2619 )
...
* Update versions.yaml
* Prepare stable-v1 for version v1.4.1
* Prepare experimental-metrics for version v0.27.1
* Prepare bridge for version v0.27.1
* Update CHANGELOG
* Revert "Prepare experimental-metrics for version v0.27.1"
This reverts commit 838743af21
.
* Do not release experimental-metrics with v0.27.1
2022-02-16 09:49:05 -08:00
Tyler Yahn
1bda06288e
Release v1.4.0/v0.27.0 ( #2600 )
...
* Update versions.yaml
* Update changelog
* Upgrade stable-v1 to version v1.4.0
* Upgrade experimental-metrics to version v0.27.0
* Upgrade bridge to version v0.27.0
* Update CHANGELOG.md
2022-02-11 08:29:27 -08:00
tani
9f42a81a5f
Export resource attributes from zipkin exporter ( #2589 )
...
* Export resource attributes from zipkin exporter
* Update CHANGELOG.md
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Refactoring
* Refactoring
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-02-09 10:26:45 -08:00
Tyler Yahn
bd817df68c
Change Options to accept type not pointer ( #2558 )
...
* Change trace options to accept type not pointer
Add benchmark to show allocation improvement.
* Update CONTRIBUTING.md guidelines
* Update all Option iface
* Fix grammar in CONTRIBUTING
2022-02-01 15:51:23 -06:00
dependabot[bot]
e58070a114
Bump google.golang.org/grpc from 1.43.0 to 1.44.0 in /exporters/otlp/otlpmetric ( #2572 )
...
* Bump google.golang.org/grpc in /exporters/otlp/otlpmetric
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.43.0 to 1.44.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.43.0...v1.44.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
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: MrAlias <MrAlias@users.noreply.github.com>
2022-02-01 10:28:31 -08:00
dependabot[bot]
0cc7d8d702
Bump google.golang.org/grpc from 1.43.0 to 1.44.0 in /exporters/otlp/otlptrace ( #2568 )
...
* Bump google.golang.org/grpc in /exporters/otlp/otlptrace
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.43.0 to 1.44.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.43.0...v1.44.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
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: MrAlias <MrAlias@users.noreply.github.com>
2022-02-01 10:04:00 -08:00
Tyler Yahn
53ead308b8
Fix TestBackoffRetry in otlp/internal/retry package ( #2562 )
...
* Fix TestBackoffRetry in otlp retry pkg
The delay of the retry is within two times a randomization factor (the
back-off time is delay * random number within [1 - factor, 1 + factor].
This means the waitFunc in TestBackoffRetry needs to check the delay is
within an appropriate delta, not equal to configure initial delay.
* Fix delta value
* Fix delta
Co-authored-by: Aaron Clawson <Aaron.Clawson@gmail.com>
2022-01-31 12:32:56 -08:00
dependabot[bot]
2623a46dfe
Bump github.com/prometheus/client_golang from 1.12.0 to 1.12.1 in /exporters/prometheus ( #2570 )
...
* Bump github.com/prometheus/client_golang in /exporters/prometheus
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.0...v1.12.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
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: MrAlias <MrAlias@users.noreply.github.com>
2022-01-31 12:23:13 -08:00
dependabot[bot]
310c7be3b4
Bump github.com/prometheus/client_golang from 1.11.0 to 1.12.0 in /exporters/prometheus ( #2541 )
...
* Bump github.com/prometheus/client_golang in /exporters/prometheus
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.11.0...v1.12.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* go mod tidy
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-01-26 15:51:47 -08:00
Aaron Clawson
86ced11f2c
Bump go.opentelemetry.io/proto/otlp from 0.11.0 to 0.12.0 ( #2546 )
...
* Update go.opentelemetry.io/proto/otlp to v0.12.0
* Changelog
* Update CHANGELOG.md
Fix's md linting
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Aaron Clawson <MadVikingGod@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-01-24 11:53:20 -08:00
Aaron Clawson
d1b6a7d66f
Bump github.com/google/go-cmp from 0.5.6 to 0.5.7 across the project ( #2545 )
...
* update go-cmp to 0.5.7
* fixes go.sums
Co-authored-by: Aaron Clawson <MadVikingGod@users.noreply.github.com>
2022-01-24 08:35:53 -08:00
jaychung
0c1f156b5b
emitBatchOverhead should only be used for splitting spans into batches ( #2512 )
...
* emitBatchOverhead should only be used for splitting spans into batches (#2503 )
* limit max packet size parameter
2022-01-18 08:42:24 -08:00
dependabot[bot]
0b03aae0da
Bump github.com/openzipkin/zipkin-go from 0.3.0 to 0.4.0 in /exporters/zipkin ( #2514 )
...
* Bump github.com/openzipkin/zipkin-go in /exporters/zipkin
Bumps [github.com/openzipkin/zipkin-go](https://github.com/openzipkin/zipkin-go ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/openzipkin/zipkin-go/releases )
- [Commits](https://github.com/openzipkin/zipkin-go/compare/v0.3.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: github.com/openzipkin/zipkin-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
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: MrAlias <MrAlias@users.noreply.github.com>
2022-01-17 09:06:31 -08:00
Aaron Clawson
f24f52aa06
Debug Logging for sdk/trace ( #2500 )
...
* Debug Logging for sdk/trace
* Fixes spelling, adds marshaling to attribute sets
Co-authored-by: Aaron Clawson <MadVikingGod@users.noreply.github.com>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2022-01-10 19:58:01 -05:00
Eric Hsueh
c37f485678
added Float64 CounterObserver and UDCounterObserver tests ( #2487 )
...
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2022-01-10 18:22:31 -05:00
Ben Ye
1e4a609495
support zipkin exporter endpoint env ( #2490 )
...
* support zipkin exporter endpoint env
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
* update interface and changelog
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
* add pr number
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
* fix lint
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
* add import
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-01-06 08:28:42 -08:00
Tyler Yahn
11ce2ddd24
Fix sporadic test failure in otlp exporter http client tests ( #2496 )
...
* Fix flaky TestTimeout in otlpmetrichttp
* Fix flaky TestTimeout in otlptracehttp
2022-01-05 17:04:55 -08:00
Chester Cheung
4b815ff70c
change UploadMetrics signature from slice to single Resource ( #2491 )
...
* change UploadMetrics signature from slice to single Resource
* add changelog
* fix otlp exporter bug.
* Update exporters/otlp/otlpmetric/exporter_test.go
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
* Update CHANGELOG.md
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-01-04 10:14:03 -08:00
Ben Ye
776bfdcb23
add additional batch overhead in jaeger agent udp exporter ( #2489 )
...
* add additional batch overhead in jaeger agent udp exporter
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
* update changelog
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-01-04 10:01:53 -08:00
Aaron Clawson
8849597744
Dependabot bump ( #2477 )
...
* Bump github.com/go-logr/stdr from 1.2.0 to 1.2.2
Bumps [github.com/go-logr/stdr](https://github.com/go-logr/stdr ) from 1.2.0 to 1.2.2.
- [Release notes](https://github.com/go-logr/stdr/releases )
- [Commits](https://github.com/go-logr/stdr/compare/v1.2.0...v1.2.2 )
---
updated-dependencies:
- dependency-name: github.com/go-logr/stdr
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump github.com/go-logr/logr from 1.2.1 to 1.2.2
Bumps [github.com/go-logr/logr](https://github.com/go-logr/logr ) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/go-logr/logr/releases )
- [Changelog](https://github.com/go-logr/logr/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-logr/logr/compare/v1.2.1...v1.2.2 )
---
updated-dependencies:
- dependency-name: github.com/go-logr/logr
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump github.com/go-logr/stdr from 1.2.0 to 1.2.2 in /example/namedtracer
Bumps [github.com/go-logr/stdr](https://github.com/go-logr/stdr ) from 1.2.0 to 1.2.2.
- [Release notes](https://github.com/go-logr/stdr/releases )
- [Commits](https://github.com/go-logr/stdr/compare/v1.2.0...v1.2.2 )
---
updated-dependencies:
- dependency-name: github.com/go-logr/stdr
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump google.golang.org/grpc in /example/otel-collector
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.42.0 to 1.43.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.42.0...v1.43.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump google.golang.org/grpc in /exporters/otlp/otlpmetric/otlpmetricgrpc
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.42.0 to 1.43.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.42.0...v1.43.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump google.golang.org/grpc in /exporters/otlp/otlptrace
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.42.0 to 1.43.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.42.0...v1.43.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump google.golang.org/grpc in /exporters/otlp/otlptrace/otlptracegrpc
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.42.0 to 1.43.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.42.0...v1.43.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump google.golang.org/grpc in /exporters/otlp/otlpmetric
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.42.0 to 1.43.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.42.0...v1.43.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Clawson <MadVikingGod@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-12-20 08:54:44 -08:00
Bogdan Drutu
4654d78104
Move Aggregator interface to aggregator package ( #2444 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-12-15 08:13:48 -08:00
Bogdan Drutu
6cafa6a060
Remove sdk/export/metric module, embed into the sdk/metric ( #2382 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-12-13 12:13:03 -08:00
Anthony Mirabella
aedef05e95
Release prep v1.3.0 ( #2441 )
...
* Update versions.yaml for release
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Prepare stable-v1 for version v1.3.0
* Prepare experimental-metrics for version v0.26.0
* Prepare bridge for version v0.26.0
* Update CHANGELOG
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
2021-12-10 11:44:16 -05:00
Tyler Yahn
b46019a0b0
Fix Jaeger exporter status conversion ( #2440 )
...
* Fix Jaeger exporter status conversion
The status tag needs to be a string of value `ERROR` or `OK` for Error
and Ok statuses respectively according to the OTel spec.
* Add PR number to changelog
2021-12-10 11:36:56 -05:00
Tyler Yahn
931266483d
Fix per-signal endpoint parsing in OTLP exporters ( #2433 )
...
* Fix per-signal endpoint parsing in otlptrace
* Add distinguishing non-per-signal env var value
* Fix per-signal endpoint parsing in otlpmetric
* Add changes to changelog
* Use else if to prevent unnecessary work
* Add spec link to otlptrace README
2021-12-09 10:40:30 -08:00
Tyler Yahn
b177541239
Use host root CA set by default for OTLP exporter ( #2432 )
...
* Use host CA set by default for otlptrace
* Remove test for invalid default certs
* Default to host CA for otlpmetric
* Add changes to changelog
* Update CHANGELOG.md
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2021-12-09 08:44:20 -08:00
Chester Cheung
a4f183be31
Remove metric MinMaxSumCount kind aggregation ( #2423 )
...
* remove metric MinMaxSumCount kind aggregation
* remove related files
* fix unittest
* fix changelog
* remove reference the removed aggregation type
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-12-06 11:47:40 -08:00
dependabot[bot]
ae76e71024
Bump github.com/go-logr/logr from 1.2.0 to 1.2.1 ( #2428 )
...
* Bump github.com/go-logr/logr from 1.2.0 to 1.2.1
Bumps [github.com/go-logr/logr](https://github.com/go-logr/logr ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/go-logr/logr/releases )
- [Changelog](https://github.com/go-logr/logr/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-logr/logr/compare/v1.2.0...v1.2.1 )
---
updated-dependencies:
- dependency-name: github.com/go-logr/logr
dependency-type: direct:production
update-type: version-update:semver-patch
...
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: MrAlias <MrAlias@users.noreply.github.com>
2021-12-06 07:59:58 -08:00
Tyler Yahn
31661dd6be
Centralize the retry package for the otlp exporters ( #2427 )
...
* Centralize the retry package for the otlp exporters
* Add dependabot config
* Use unified internal/retry module in otlp exporters
* Remove otlpmetric and otlptrace internal/retry module
* Run go mod tidy in otlp{metric,trace}
2021-12-06 07:47:49 -08:00
Tyler Yahn
f4b63f184d
Use gRPC ClientConn for otlpmetricgrpc client connection handling ( #2425 )
...
* Use gRPC ClientConn for otlpmetricgrpc conn handling
* Update PR number
* Update otlpmetrichttp to use retry package
* Remove old commented code
* Add all other external changes to changelog
2021-12-03 13:59:07 -08:00
Aaron Clawson
7e76cd8dd3
Merge remote-tracking branch 'upstream/main' into internal_logging
2021-12-02 19:59:57 +00:00
Tyler Yahn
f1971b3f81
Use the grpc.ClientConn to handle connections for the otlptracegrpc client ( #2329 )
...
* POC using the grpc.ClientConn to handle connections
* Update invalid client security test
* Update client start test for a bad endpoint
* Use any ClientConn a user provides
* Connect ReconnectionPeriod to gRPC conn retries
* Replace connection retry handling direct in otlptracegrpc
* Fix client comments
* Fix comment for NewGRPCConfig
* Replace reconnection test
* Fix grammar
* Remove unrelated changes
* Remove connection pkg
* Rename evaluate to retryable
* POC using the grpc.ClientConn to handle connections
* Replace connection retry handling direct in otlptracegrpc
* Add ClientConn use changes to changelog
* Update otlptracegrpc options
* Only close ClientConn that the Client create
* Remove listener wrapper from mock_collector_test
This is not needed now that no tests relies on the listener to wait for
a connection to be established before continuing.
* Fix spelling error
* Do not use deprecated options in the otel-collector example
* Add unit tests for retryable and throttleDelay funcs
* Add unit tests for context heredity
* Add test that exporter stop is linked to context cancel
* go mod tidy
* Update exporters/otlp/otlptrace/otlptracegrpc/client.go
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
* Fix go.mod from rebase
* Remove wrong comment about client stop closing gRPC conn
* Fix shutdown test cleanup
Do not check the second call to the client Stop. There is no guarantee
it will not error in normal operation.
* Make lint fixes
* Fix flaky unit test
Use the internals of the client to explicit cancel the context returned
from exportContext. This gets around the bug where the select in Stop
may randomly choose the non-context Done case and avoid returning an
error (also failing to cancel the context).
* Remove deprecation
To configure the client/exporter with environment variables these
options are used. There is no way to fully remove these options without
removing support for configuration with environment variables. Leave
that decision and strategy determination to a separate PR.
* Fix grammatical error in comment
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2021-11-25 08:06:21 -08:00
Aaron Clawson
8901b22c4f
Moved the SetLogger api into otel
2021-11-24 15:54:30 +00:00
Aaron Clawson
a14b53f9b8
Reverted the changes to the error handler.
2021-11-24 15:43:30 +00:00
Tyler Yahn
18d265c57c
Update project minimum supported Go version to 1.16 ( #2412 )
...
* Update project min supported Go ver to 1.16
* Add changes to changelog
* Make lint fixes
2021-11-23 13:38:27 -08:00