* 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.
* 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>
* 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.
* 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>
* 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.
* 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
* 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>
* 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>
* 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>
* 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.