Commit Graph

499 Commits

Author SHA1 Message Date
Tyler Yahn fe2fb58536
Remove use of oteltest in otelhttp (#982)
* Move integration tests to test module

* Replace oteltest with sdk/trace/tracetest

* make precommit
2021-08-13 14:38:04 -07:00
dependabot[bot] fccd2289f9
build(deps): bump github.com/aws/aws-sdk-go in /detectors/aws (#994)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.40.17 to 1.40.22.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.40.17...v1.40.22)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-13 14:10:59 -07:00
dependabot[bot] d8a5451bae
build(deps): bump cloud.google.com/go in /detectors/gcp (#965)
Bumps [cloud.google.com/go](https://github.com/googleapis/google-cloud-go) from 0.91.0 to 0.91.1.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/master/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/v0.91.0...v0.91.1)

---
updated-dependencies:
- dependency-name: cloud.google.com/go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-13 12:56:32 -07:00
dependabot[bot] 5d92cb2e2f
build(deps): bump github.com/aws/aws-sdk-go-v2/config (#958)
Bumps [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) from 1.1.1 to 1.6.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.1.1...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/config
  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>
2021-08-13 11:59:54 -07:00
dependabot[bot] 8e673ed82b
build(deps): bump github.com/aws/aws-sdk-go-v2/service/dynamodb (#963)
Bumps [github.com/aws/aws-sdk-go-v2/service/dynamodb](https://github.com/aws/aws-sdk-go-v2) from 1.1.1 to 1.4.2.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.1.1...service/dlm/v1.4.2)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/dynamodb
  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>
2021-08-13 11:43:16 -07:00
dependabot[bot] 306f3461fa
build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 (#961)
Bumps [github.com/aws/aws-sdk-go-v2/service/s3](https://github.com/aws/aws-sdk-go-v2) from 1.2.0 to 1.12.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.2.0...service/s3/v1.12.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/s3
  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>
2021-08-13 11:21:33 -07:00
dependabot[bot] 68ce87bedc
build(deps): bump github.com/aws/aws-sdk-go-v2/service/route53 from 1.1.1 to 1.9.0 in /instrumentation/github.com/aws/aws-sdk-go-v2/otelaws (#991)
* build(deps): bump github.com/aws/aws-sdk-go-v2/service/route53

Bumps [github.com/aws/aws-sdk-go-v2/service/route53](https://github.com/aws/aws-sdk-go-v2) from 1.1.1 to 1.9.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.1.1...service/s3/v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/route53
  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: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-08-13 10:58:50 -07:00
dependabot[bot] 903f20661a
build(deps): bump google.golang.org/grpc from 1.39.0 to 1.40.0 in /instrumentation/google.golang.org/grpc/otelgrpc (#993)
* build(deps): bump google.golang.org/grpc

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.39.0 to 1.40.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.39.0...v1.40.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>
2021-08-13 10:36:17 -07:00
dependabot[bot] ab19a9332c
build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.2.0 to 1.8.0 in /instrumentation/github.com/aws/aws-sdk-go-v2/otelaws (#957)
* build(deps): bump github.com/aws/aws-sdk-go-v2

Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2) from 1.2.0 to 1.8.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.2.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
  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: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-08-13 09:54:18 -07:00
Tyler Yahn 7514474df7
Remove oteltest dependency from otelgrpc (#954)
* Use NoopTracerProvider for benchmark tests

* Move integration tests to new module

* Replace oteltest.SpanRecorder with one from tracetest

* Add dependabot config

* go mod tidy

* Use own concurrent safe SpanRecorder

* Set min version of Go to 1.15 for new mod

* Use otel-go concurrent safe SpanRecorder

* make precommit
2021-08-13 08:58:06 -07:00
dependabot[bot] 3c7d3da0af
build(deps): bump go.mongodb.org/mongo-driver (#942)
Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](https://github.com/mongodb/mongo-go-driver/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: go.mongodb.org/mongo-driver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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-08-13 08:39:23 -07:00
dependabot[bot] 3eae91b0b5
build(deps): bump go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux (#956)
Bumps [go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux](https://github.com/gorilla/mux) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/gorilla/mux/releases)
- [Commits](https://github.com/gorilla/mux/commits)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
  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: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-08-12 16:13:51 -07:00
Robert Pająk d65eb7212b
Add cross-module test coverage (#966)
* Add cross-module test coverage

* Use gocovmerge

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-08-12 10:48:25 -07:00
Xabier Larrakoetxea Gallego be914d30c7
Mark the span as error when the HTTP transporter fails (#950)
* Mark the span as error when the HTTP transporter fails

Signed-off-by: Xabier Larrakoetxea <me@slok.dev>

* Update changelog with fix and PR

Signed-off-by: Xabier Larrakoetxea <me@slok.dev>

* Add HTTP Transport tests for error status on spans

Signed-off-by: Xabier Larrakoetxea <me@slok.dev>

* Fix linting issues of an unused context set

Signed-off-by: Xabier Larrakoetxea <me@slok.dev>

* Remove unused tracer properties and change Fatalf in favor of Errorf on some test parts

Signed-off-by: Xabier Larrakoetxea <me@slok.dev>

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-08-12 10:33:15 -07:00
Tyler Yahn 51426c27ac
Fix YAML syntax in dependabot config (#955) 2021-08-11 16:39:43 -04:00
dependabot[bot] 103d9707b9
build(deps): bump cloud.google.com/go in /detectors/gcp (#952)
Bumps [cloud.google.com/go](https://github.com/googleapis/google-cloud-go) from 0.89.0 to 0.91.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/master/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/v0.89.0...v0.91.0)

---
updated-dependencies:
- dependency-name: cloud.google.com/go
  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>
2021-08-11 09:31:49 -07:00
ET 420eff35a0
Remove superfluous otelmongodb attribute names. Conform to specification. (#769)
* Eliminate unnecessary semantic tags already covered by semconv

* Form spanName by concatenating collection.operation if possible

If the operation is a meta-level operation not involving a MongoDB
collection, the spanName will default to the just the name of the
operation.

This conforms the otelmongodb instrumentation to the example provided
in the OpenTelemetry specification.

* Restore `WithCommandAttributeDisabled` and `db.statement` attribute

Other language implementations do seem to include this.

TODO: Better sanitization of the statement and and max. size
limitation such as performed in the Java implementation

* fix order of imports in mongo_test.go

* Mention change in CHANGELOG

* Adjustments for new semconv attribute values

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-08-11 09:06:53 -07:00
Tyler Yahn a73709bd8d
Remove oteltest dependency from otelmux (#897)
* New otelmux testing module

* Use upstream SpanRecorder

* make precommit

* Change to Go 1.15

* make precommit
2021-08-11 08:37:28 -07:00
dependabot[bot] 05ba4960da
build(deps): bump github.com/labstack/echo/v4 from 4.4.0 to 4.5.0 in /instrumentation/github.com/labstack/echo/otelecho (#940)
* build(deps): bump github.com/labstack/echo/v4

Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo/compare/v4.4.0...v4.5.0)

---
updated-dependencies:
- dependency-name: github.com/labstack/echo/v4
  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>
2021-08-10 07:57:17 -07:00
dependabot[bot] eb793f7c26
build(deps): bump github.com/aws/aws-sdk-go in /detectors/aws (#938)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.40.12 to 1.40.17.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.40.12...v1.40.17)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-09 13:00:19 -07:00
ET 3dbb3015b2
Ensure Integration Tests run with Github Actions (#935)
These have been "skipped" since PR #476 was merged due to the lack of
setting the `INTEGRATION` environment variable prior to running the test.
2021-08-04 13:29:05 -07:00
dependabot[bot] 859ea2367e
build(deps): bump cloud.google.com/go in /detectors/gcp (#932)
Bumps [cloud.google.com/go](https://github.com/googleapis/google-cloud-go) from 0.88.0 to 0.89.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/master/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/v0.88.0...v0.89.0)

---
updated-dependencies:
- dependency-name: cloud.google.com/go
  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: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-08-03 09:47:00 -07:00
dependabot[bot] 77f2e7d665
build(deps): bump github.com/aws/aws-sdk-go in /detectors/aws (#931)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.40.7 to 1.40.12.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.40.7...v1.40.12)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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-08-03 09:11:31 -07:00
Aaron Jheng c2700b4d05
fix: Tweak import path of opencensus propagator (#934) 2021-08-02 11:50:59 -04:00
dependabot[bot] 00f202e858
build(deps): bump go.mongodb.org/mongo-driver (#917)
Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](https://github.com/mongodb/mongo-go-driver/compare/v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: go.mongodb.org/mongo-driver
  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: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-07-27 09:47:07 -07:00
Yoshi Yamaguchi ce90bad626
Add document for otelhttp.WithPropagators (#929) 2021-07-27 11:44:56 -04:00
Anthony Mirabella da84290b43
Pre release v0.22.0 (#928)
* update pre-release to allow specifying the old OTel tag

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* Update OTel core to 1.0.0-RC2, prep for v0.22.0 release

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* Update OTel metrics to v0.22.0

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* Update CHANGELOG

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
2021-07-26 18:24:47 -04:00
dependabot[bot] f66c3c63fe
build(deps): bump github.com/aws/aws-sdk-go in /detectors/aws (#907)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.40.2 to 1.40.7.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.40.2...v1.40.7)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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-07-26 11:05:02 -07:00
dependabot[bot] 1534dea246
build(deps): bump cloud.google.com/go in /detectors/gcp (#924)
Bumps [cloud.google.com/go](https://github.com/googleapis/google-cloud-go) from 0.87.0 to 0.88.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/master/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/v0.87.0...v0.88.0)

---
updated-dependencies:
- dependency-name: cloud.google.com/go
  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: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-07-26 10:40:12 -07:00
dependabot[bot] 4f4c3b4cdb
build(deps): bump codecov/codecov-action from 1 to 2.0.2 (#905)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 2.0.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1...v2.0.2)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-26 10:07:20 -07:00
pcairns 0548aff5c3
Added option to using a skipper in the echo otel middleware (#829)
* Added option to using a skipper in the echo otel middleware

* check status code in tests

* fix option interface use

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2021-07-23 16:20:58 -04:00
Robert Pająk 595663dd37
otelmemcache: Refactor option type (#855) 2021-07-23 16:00:46 -04:00
Robert Pająk 05ef436536
b3: Introduce New function and option type (#868)
* b3: Introduce option type

* Update docs

* Apply suggestions from code review

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Unexport b3.B3

* Use b3.New instead of b3.B3

* Fix lint errors

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2021-07-23 15:48:58 -04:00
Tyler Yahn 7668016acb
Simplify propagators testing (#895)
Remove the unneeded dependency on oteltest.

Stop using an http.Request when an http.Header is all that is needed.
2021-07-22 09:17:26 -07:00
Bogdan Drutu 376f3e879e
Add initial implementation of the zpages for Otel Trace (#894)
* Add initial implementation of the zpages for Otel Trace

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Address review comments

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Remove copyright header for new files

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Set go 1.15 in go.mod

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-07-21 13:47:50 -07:00
dependabot[bot] d586bc7125
Bump github.com/go-kit/kit from 0.10.0 to 0.11.0 in /instrumentation/github.com/go-kit/kit/otelkit (#878)
* Bump github.com/go-kit/kit

Bumps [github.com/go-kit/kit](https://github.com/go-kit/kit) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/go-kit/kit/releases)
- [Commits](https://github.com/go-kit/kit/compare/v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: github.com/go-kit/kit
  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: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-07-21 07:44:01 -07:00
dependabot[bot] 79077bec09
Bump github.com/golang/snappy from 0.0.3 to 0.0.4 in /exporters/metric/cortex (#845)
* Bump github.com/golang/snappy in /exporters/metric/cortex

Bumps [github.com/golang/snappy](https://github.com/golang/snappy) from 0.0.3 to 0.0.4.
- [Release notes](https://github.com/golang/snappy/releases)
- [Commits](https://github.com/golang/snappy/compare/v0.0.3...v0.0.4)

---
updated-dependencies:
- dependency-name: github.com/golang/snappy
  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: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-07-21 07:08:01 -07:00
Xiangyu Zhu 1fd74e9012
Fix host and runtime instrumentation examples (#870)
* fix host example

* also fix runtime

* simplify host/runtime

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-07-20 18:38:32 -07:00
dependabot[bot] e4c14d502b
Bump github.com/Shopify/sarama (#831)
Bumps [github.com/Shopify/sarama](https://github.com/Shopify/sarama) from 1.28.0 to 1.29.1.
- [Release notes](https://github.com/Shopify/sarama/releases)
- [Changelog](https://github.com/Shopify/sarama/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Shopify/sarama/compare/v1.28.0...v1.29.1)

---
updated-dependencies:
- dependency-name: github.com/Shopify/sarama
  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: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-07-20 17:49:57 -07:00
Vadim Berezniker 2b2b42412e
gRPC: fix goroutine leak if client stream CloseSend is not called. (#836)
Outside of a unidirectional Client->Server stream there's no requirement
that CloseSend must be called (and it doesn't make much sense for a
Server->Client stream).

If CloseSend is not called, the RPC span will not be ended and a
goroutine will be leaked.

We saw a large number of goroutines leaked when we enabled gRPC
instrumentation in our service.

Someone else has also reported this issue here:
https://github.com/open-telemetry/opentelemetry-go-contrib/issues/818

Co-authored-by: Tyler Yahn <codingalias@gmail.com>
2021-07-20 17:35:18 -07:00
Artem Glazychev e8b0fa6cc7
otelgrpc: fix goroutine leak after context cancellation (#840)
* otelgrpc: fix goroutine leak after context cancellation

* Fix linter issue

Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>

* Fix comment

Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-07-20 16:42:36 -07:00
Robert Pająk e2210a97f6
otelrestful: Refactor option type (#856)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-07-20 16:20:19 -07:00
Robert Pająk 37b549be34
otelgin: Refactor option type (#857)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-07-20 16:02:42 -07:00
Robert Pająk 718a4aa13a
otelkit: Refactor option type (#858)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-07-20 15:44:12 -07:00
Robert Pająk 5352bda40e
otelgocql: Refactor option type (#859)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-07-20 15:31:44 -07:00
Robert Pająk 0448364602
otelmux: Refactor option type (#860)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-07-20 13:25:43 -07:00
Robert Pająk 94af9d089b
otelecho: Refactor option type (#861)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-07-20 12:50:32 -07:00
Robert Pająk f7ad95fdbe
otelmongo: Refactor option type (#862)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-07-20 12:14:57 -07:00
Robert Pająk 87ee289d5f
otelgrpc: Refactor option type (#863)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-07-20 11:52:01 -07:00
Robert Pająk 82bdfbebad
otelmacaron: Refactor option type (#864)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-07-20 11:37:35 -07:00