Sam Xie
6729811b77
Fix histogram e2e test ( #2716 )
...
* Fix histogram e2e test
* Fix tests
Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-04-14 08:37:47 -07:00
Anthony Mirabella
33a4673444
Release prep for metric/v0.29.0 ( #2782 )
...
* Update changelog and versions for metric/v0.29.0 release
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Prepare experimental-metrics for version v0.29.0
* Prepare bridge for version v0.29.0
2022-04-11 19:46:26 -04:00
Tyler Yahn
8c0951ea94
Release v1.6.3 ( #2775 )
...
* Update stable-v1 version in versions.yaml
* Update changelog for release
* Prepare stable-v1 for version v1.6.3
2022-04-07 13:40:14 -07:00
Anthony Mirabella
f08bac5259
Release prep v1.6.2 ( #2770 )
...
* update changelog and versions for 1.6.2 release
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Prepare stable-v1 for version v1.6.2
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
2022-04-06 17:44:27 -04:00
Brad Topol
c91da4181d
Bring back the metric global package ( #2764 )
...
* This PR brings back the metric global package
Closes: 2752
Signed-off-by: Brad Topol <btopol@us.ibm.com>
* updated CHANGELOG.md
Signed-off-by: Brad Topol <btopol@us.ibm.com>
* reformatted CHANGELOG.md
Signed-off-by: Brad Topol <btopol@us.ibm.com>
* Updated change log and removed unnecessary variable declaration
Signed-off-by: Brad Topol <btopol@us.ibm.com>
2022-04-05 07:35:16 -07:00
Tyler Yahn
628723630f
Upgrade go.opentelemetry.io/proto to v0.15.0 ( #2748 )
...
* Upgrade go.opentelemetry.io/proto to v0.15.0
* Fix otlpmetric exporter test
* Fix lint in otlpmetric
* Update otlptrace
* Clean new line breaks
* Fix comment in otlpmetric exporter_test.go
* Add changes to changelog
2022-03-30 08:18:59 -07:00
Tyler Yahn
8747a29580
Release v1.6.1 ( #2746 )
...
* Upgrade stable-v1 to v1.6.1
* Prepare stable-v1 for version v1.6.1
* Update changelog
2022-03-28 09:50:10 -07:00
dependabot[bot]
b89da6f8a6
Bump google.golang.org/protobuf from 1.27.1 to 1.28.0 in /exporters/otlp/otlpmetric ( #2738 )
...
* Bump google.golang.org/protobuf in /exporters/otlp/otlpmetric
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go ) from 1.27.1 to 1.28.0.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash )
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.27.1...v1.28.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
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-28 08:22:31 -07:00
dependabot[bot]
9d61fd024d
Bump google.golang.org/protobuf from 1.27.1 to 1.28.0 in /exporters/otlp/otlptrace ( #2730 )
...
* Bump google.golang.org/protobuf in /exporters/otlp/otlptrace
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go ) from 1.27.1 to 1.28.0.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash )
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.27.1...v1.28.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
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-28 07:59:39 -07:00
Tyler Yahn
7a1ebf7f28
Upgrade go.opentelemetry.io/proto/otlp v0.12.0 -> v0.12.1 ( #2728 )
...
* Upgrade go.opentelemetry.io/proto/otlp v0.12.0 -> v0.12.1
Fix #2724
* Update changelog
2022-03-26 17:30:52 -07:00
Tyler Yahn
70a54468ae
Apply fix from #2674 to all applicable lines ( #2719 )
2022-03-24 15:57:14 -07:00
Tyler Yahn
17667f5eef
Release v1.6.0/v0.28.0 ( #2718 )
...
* Update versions.yaml
* Bump version in changelog
* Prepare stable-v1 for version v1.6.0
* Prepare experimental-metrics for version v0.28.0
* Prepare bridge for version v0.28.0
* Update changelog language
2022-03-23 14:24:14 -07:00
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
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
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
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
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
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