Commit Graph

499 Commits

Author SHA1 Message Date
dependabot[bot] b421721973
Bump github.com/gin-gonic/gin from 1.6.2 to 1.6.3 in /instrumentation/gin-gonic/gin (#73)
* Bump github.com/gin-gonic/gin in /instrumentation/gin-gonic/gin

Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.6.2...v1.6.3)

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

* updated go.sum for instrumentation/gin-gonic/gin

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Torrie <evantorrie@users.noreply.github.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
2020-06-23 09:08:21 -07:00
dependabot[bot] d923ef6944
Bump google.golang.org/grpc from 1.28.1 to 1.29.1 (#72)
* Bump google.golang.org/grpc from 1.28.1 to 1.29.1

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.28.1 to 1.29.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.28.1...v1.29.1)

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

* Push grpc-1.29.1 across all modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ET <evantorrie@users.noreply.github.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
2020-06-23 09:02:45 -07:00
dependabot[bot] c1fd2a1d09
Bump google.golang.org/grpc in /instrumentation/labstack/echo (#71)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.28.1 to 1.29.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.28.1...v1.29.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ET <evantorrie@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-06-23 08:54:50 -07:00
dependabot[bot] ea450490e8
Bump github.com/stretchr/testify from 1.5.1 to 1.6.1 in /instrumentation/macaron (#70)
* Bump github.com/stretchr/testify in /instrumentation/macaron

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.1 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.6.1)

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: ET <evantorrie@users.noreply.github.com>
Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
2020-06-23 08:51:34 -07:00
dependabot[bot] d5e8ef29f8
Bump google.golang.org/grpc in /instrumentation/gin-gonic/gin (#69)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.28.1 to 1.29.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.28.1...v1.29.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ET <evantorrie@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-06-23 08:47:10 -07:00
dependabot[bot] efaf37aab3
Bump gopkg.in/macaron.v1 from 1.3.5 to 1.3.9 in /instrumentation/macaron (#68)
* Bump gopkg.in/macaron.v1 from 1.3.5 to 1.3.9 in /instrumentation/macaron

Bumps [gopkg.in/macaron.v1](https://github.com/go-macaron/macaron) from 1.3.5 to 1.3.9.
- [Release notes](https://github.com/go-macaron/macaron/releases)
- [Commits](https://github.com/go-macaron/macaron/compare/v1.3.5...v1.3.9)

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

* updated go.sum for instrumentation/macaron

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Torrie <evantorrie@users.noreply.github.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
2020-06-23 08:43:49 -07:00
dependabot[bot] db6e6c5976
Bump github.com/stretchr/testify in /instrumentation/labstack/echo (#67)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.4.0 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.6.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ET <evantorrie@users.noreply.github.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
2020-06-23 08:38:55 -07:00
dependabot[bot] eecea29c84
Bump github.com/stretchr/testify from 1.4.0 to 1.6.1 (#66)
* Bump github.com/stretchr/testify from 1.4.0 to 1.6.1

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.4.0 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.6.1)

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

* Remove superfluous indirect dependencies

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ET <evantorrie@users.noreply.github.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
2020-06-23 08:31:21 -07:00
dependabot[bot] 69723897af
Bump github.com/stretchr/testify in /instrumentation/gorilla/mux (#65)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.4.0 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.6.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ET <evantorrie@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-06-23 08:19:45 -07:00
dependabot[bot] f0fb8bc25e
Bump github.com/stretchr/testify from 1.5.1 to 1.6.1 in /exporters/metric/dogstatsd (#62)
* Bump github.com/stretchr/testify in /exporters/metric/dogstatsd

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.1 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.6.1)

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: ET <evantorrie@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-06-23 08:14:18 -07:00
Tyler Yahn 325b321e22
Update project docs and layout (#92)
* Update README and add README for instrumentation

Resolves #28

* Fix macaron instrumentation package name

* Update instrumentation README

Keep Go package docs in Go form.

* Update README

Add Contents of the repo section and link to CONTRIBUTING.md

* Fix relative replace for macaron

* Update README.md

Fix gitter link.
2020-06-22 16:10:17 -07:00
dependabot[bot] 135745a8c3
Bump github.com/stretchr/testify from 1.4.0 to 1.6.1 in /instrumentation/runtime (#64)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ET <evantorrie@users.noreply.github.com>
2020-06-22 18:58:30 -04:00
ET 9f68b4e3ff
Fix company affiliation (#95)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-06-22 11:36:38 -07:00
ET e4d3a09bb4
Add dependabot tidy github workflow (#94) 2020-06-22 12:34:23 -04:00
dependabot[bot] f45ec6ba0d
Bump github.com/DataDog/datadog-go from 3.5.0+incompatible to 3.7.2+incompatible in /exporters/metric/datadog (#78)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Torrie <evantorrie@users.noreply.github.com>
2020-06-17 10:46:57 -04:00
Liz Fong-Jones 5e5d6f13ff
Create dependabot.yml (#61) 2020-06-15 18:32:15 -04:00
Tyler Yahn 25bcf274ad
Add tagging script for release process (#60)
* Add tagging script for release process

Also, rename `bump_and_tag.sh` to `bump_version.sh`.

* Update tag.sh

Co-authored-by: ET <evantorrie@users.noreply.github.com>

* Update shebang

* Update previous git version function

Use git to correctly get previous version based on ref hierarchy.

Co-authored-by: ET <evantorrie@users.noreply.github.com>
2020-06-09 17:36:59 -07:00
ET 0de142a419
Prepare for releasing v0.6.1 (#57) 2020-06-08 13:48:31 -07:00
ET f915fc2a63
Update go.opentelemetry.io/otel package to latest release: v0.6.0 (#53)
* Update datadog/dogstatsd to use otel v0.6.0.

Moving forward with a newer version of datadog-go requires
a PR to be merged that will enforce 8-byte aligned atomics
for 386 (32 bit) architectures. (This guarantee was removed in
datadog-go v3.6.0)

See https://github.com/DataDog/datadog-go/pull/152

* Update all to go.opentelemetry.io/otel v0.6.0

* fixup! Update datadog/dogstatsd to use otel v0.6.0.
2020-06-08 09:32:55 -07:00
ET 22cb66c714
Create bump_and_tag.sh script to prepare tagged releases and otel upgrades (#52)
* Create pre_release.sh script to prepare tagged releases

In addition, with the '-o' option it can also be used to bump the
version of go.opentelemetry.io/otel used by the modules in this repo.

* Apply suggestions from code review

per @MrAlias

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

* Apply PR suggestions

* fixup! Create pre_release.sh script to prepare tagged releases

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-06-06 11:18:28 -07:00
ET fdb43ee04a
Copy all coverage.html files into artifacts directory (#56)
* Copy all coverage.html files into artifacts directory

This allows archiving/inspection of coverage for all of the submodules
in opentelemetry-go-contrib.

* Fall back to tar with a file list.  cpio missing fromm docker image.

* fixup! Fall back to tar with a file list.  cpio missing fromm docker image.
2020-06-06 11:09:42 -07:00
Tyler Yahn 32a76fe5fd
Rename plugins directory to instrumentation (#47)
* Rename plugins director to instrumentation

As per open-telemetry/opentelemetry-specification#539

* Update package names

* Plugin -> instrumentation
2020-06-01 09:11:19 -07:00
Joshua MacDonald d49ffc8cef
Update runtime package to use batch observer and new instruments (#44)
* WIP

* Checkpoint

* Use the observer API

* Tidy

* Fix race

* Tidy

* Small fix

* Fix go.mod

* Update go.sum
2020-05-28 13:52:08 -07:00
Marc Navarro f2c18b305d
Initial labstack echo instrumentation with otel-go (#42)
* Initial labstack echo instrumentation with otel-go

* Avoid conflicts with other tracers added to echo.Context

* Move configuration block before returning echo.MiddlewareFunc

As Aneurysm9 suggested at https://github.com/open-telemetry/opentelemetry-go-contrib/pull/42#discussion_r429565593 it makes more sense to place it before returning the MiddlewareFunc as this block doesn't need to be invoked with every request
2020-05-26 08:14:59 -07:00
Krzesimir Nowak 52a5be1e1d
Remove krnowak from approvers (#40)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-05-15 09:54:03 -07:00
Ryan f8f0c9893e
Port mongodb driver instrumentation (#26)
* Copy mongo driver

* Add an updated copy of otel-go mock tracer

* Integrate mock tracer

* Update tests

* Update copyright

* Move to plugins dir

* Move mongo plugin to go.mongodb.org dir

* Upgrade to v0.5.0

* Run make

Includes fixes needed to past testing.

* Update attribution

Based on [this](https://github.com/open-telemetry/community/issues/305#issuecomment-603537422)
comment, updating attribution to be to The OpenTelemetry Authors.

* package.go -> doc.go

* Update package name

* Update package docs

* Suggested fix for docs

* Apply feedback

* Remove unneeded go.mod replaces

* Update testing service name

Co-authored-by: Krzesimir Nowak <krzesimir@kinvolk.io>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-05-15 09:29:37 -07:00
Mike Goldsmith e70e751d4d
Add Macaron plugin (#20)
* add internal mocking files

* add macaron/v1 plugin

* update docker port mapping

* tidy up mod files

* use empty string for requst path

* Apply suggestions from code review

Accept the suggestion

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

* Upgrade to v0.5.0

* Remove unused unexported const

* Rename imports to match style

* Fix tests

Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
2020-05-14 17:38:03 -07:00
Krzesimir Nowak 87b1c6938a
Initial gin-gonic instrumentation with otel-go (#15)
* Add an instrumentation for gin-gonic web framework

* Add an example use of the gin-gonic instrumentation

* Update attribution and remove NOTICE

Based on [this](https://github.com/open-telemetry/community/issues/305#issuecomment-603537422)
approval, changing attribution to the OpenTelemetry authors.

* Update to v0.5.0 release

Use new `kv` and `value` packages.

Co-authored-by: Tyler Yahn <codingalias@gmail.com>
2020-05-14 15:18:19 -07:00
Joshua MacDonald 1cc32bc3cd
Remove the sample plugin (#36) 2020-05-13 22:26:48 -07:00
Joshua MacDonald 1a79f0bcf4
Update go-contrib for 0.5.0 (#35)
* Provisional changes for 0.5.0

* Update to 0.5.0
2020-05-13 22:23:59 -07:00
Joshua MacDonald 68005a81c0
Add evantorrie as an approver (#33)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-05-12 16:44:56 -07:00
Joshua MacDonald f068fbe7fd
Add Prefix support for dogstatsd (#34) 2020-05-11 14:01:58 -07:00
Chris Leavoy e92ea3b2d3
Runtime metrics plugin (#9)
* stub runtime go func metrics

* stub more runtime metrics

* fix go mod path

* bump 1.14, remove procstats stub

* cleanup go runtime metrics

* add rwmutex

* Update plugins/metrics/runtime/example/main.go

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

* Update plugins/metrics/runtime/runtime_test.go

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

* Update plugins/metrics/runtime/runtime.go

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

* add doc.go, pr feedback

* plugins/metrics/runtime -> plugins/runtime

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-05-08 08:14:33 -07:00
Krzesimir Nowak f77457174e
Fix issues raised by golangci-lint (#29)
These popped up when invoking `make`.

Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
2020-05-05 11:46:44 -04:00
Liz Fong-Jones 80f1fc5aa7
use correct circleci dir (#30) 2020-05-05 11:42:03 -04:00
Krzesimir Nowak 7a7679d2af
gorilla/mux instrumentation (#19)
* Add an updated copy of otel-go mock tracer

* Add functions for getting attributes from HTTP requests

* Add gorilla mux instrumentation

* Add example for gorilla mux instrumentation

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2020-05-04 10:28:45 -07:00
Anthony Mirabella 9cba6308d7
Update CODEOWNERS and CONTRIBUTING.md to match otel-go (#27) 2020-05-04 11:12:24 -04:00
Joshua MacDonald a65fe91f5e
Dogstatsd exporter resource support (for 0.4.3 release) (#25)
* Update to 0.4.3 resources support

* Add more test naming
2020-04-28 09:02:06 -07:00
Marwan Sulaiman 83131c93c8
add datadog metrics exporter (#22) 2020-04-27 11:57:39 -07:00
Rahul Patel 203aa2f541
Update codeowners and maintainers (#21) 2020-04-24 11:29:40 -07:00
Krzesimir Nowak ec5be60591
Add a golangci-lint configuration file (#18)
Without the config, the linter wasn't even running gofmt…
2020-04-23 13:16:16 -07:00
Krzesimir Nowak e4eb804471
Add the toplevel module (make `make` working again) (#16)
* Add the toplevel module

So the go tooling stops throwing weird errors. Without that, running
make fails with the following message:

```
PATH="/…/.tools:${PATH}" go generate ./...

can't load package: package ./exporters/metric/dogstatsd: code in
directory /…/exporters/metric/dogstatsd expects import
"github.com/open-telemetry/opentelemetry-go-contrib/exporters/metric/dogstatsd"

can't load package: package ./plugins/sample/trace: code in directory
/…/plugins/sample/trace expects import
"github.com/open-telemetry/opentelemetry-go-contrib/plugins/sample/trace"

make: *** [Makefile:113: generate] Error 1
```

* Rename the module to use the vanity URL

The `go.opentelemetry.io/contrib` vanity URL is working now, so let's
officially switch to it.
2020-04-17 08:40:17 -07:00
Joshua MacDonald da45c10838
Add resource support to dogstatsd exporter (#13)
* Add resource support to dogstatsd

* Mod tidy
2020-04-16 15:41:11 -07:00
Joshua MacDonald 4ef49a221c
Observers export gauges in dogstatsd Exporter (#14) 2020-04-16 10:54:55 -07:00
Joshua MacDonald ea24ca8575
Restore Dogstatsd exporter (#10)
* Restore Dogstatsd exporter

* Lower MTU

* Split array values across packets

* Lower MaxPacketSize to 1432
2020-04-14 10:52:14 -07:00
Rahul Patel 580248e374
Setup initial folder structure and build. (#3)
* Setup initial folder structure and build.

* fix review comments.
2020-02-28 09:46:32 -08:00
Sergey Kanzhelev 68db9f0305
Create CODEOWNERS 2020-02-21 10:16:33 -08:00
Sergey Kanzhelev 03b093babd
Update README.md 2020-02-21 10:12:48 -08:00
Sergey Kanzhelev c12a3202b0
Initial commit 2020-02-21 10:12:37 -08:00