Commit Graph

7 Commits

Author SHA1 Message Date
Tyler Yahn 0e3482c8fe
Update all file license headers (#5189) 2024-03-01 14:26:35 -08:00
David Ashpole 074ac11af9
Convert prometheus bridge readme to godocs (#4348) 2023-10-09 15:11:22 +02:00
Tyler Yahn 0dd27453a1
Mirror golangci-lint config from opentelemetry-go (#2297)
* Add copy of golangci-lint conf from opentelemetry-go

* Fix contrib package docs

* Fix internal/util

* Fix detectors/aws/ec2

* Fix detectors/aws/ecs

* Fix detectors/aws/eks

* Fix detectors/aws/lambda

* Fix detectors/gcp

* Fix instrumentation/github.com/astaxie/beego/otelbeego

* Fix instrumentation/github.com/aws/aws-lambda-go/otellambda

* Fix instrumentation/github.com/aws/aws-sdk-go-v2/otelaws

* Fix instrumentation/github.com/bradfitz/gomemcache/memcache/otelmemcache

* Fix instrumentation/github.com/emicklei/go-restful/otelrestful

* Fix instrumentation/github.com/gin-gonic/gin/otelgin

* Fix instrumentation/github.com/gocql/gocql/otelgocql

* Fix instrumentation/github.com/go-kit/kit/otelkit

* Fix instrumentation/github.com/gorilla/mux/otelmux

* Fix instrumentation/github.com/labstack/echo/otelecho

* Fix instrumentation/github.com/Shopify/sarama/otelsarama

* Fix instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo

* Fix instrumentation/google.golang.org/grpc/otelgrpc

* Fix instrumentation/gopkg.in/macaron.v1/otelmacaron

* Fix instrumentation/host

* Fix instrumentation/net/http/httptrace/otelhttptrace

* Fix instrumentation/net/http/otelhttp

* Fix instrumentation/runtime

* Fix propagators/aws

* Fix propagators/b3

* Fix propagators/jaeger

* Fix propagators/opencensus

* Fix propagators/ot

* Fix samplers/aws

* Fix samplers/jaegerremote

* Fix samplers/probability/consistent

* Fix zpages

Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
2022-05-24 07:01:50 -07:00
Tyler Yahn 200a922038
Build tooling refactor (#1974)
* Add license header to Makefile

* Unify tooling and build targets

Templatetize build and tooling targets.

Add the esc generator tooling.

* Refactor linting

* Update default targets

* Add dependabot-generate and fix dependabot-check

* Refactor tests

* Use upstream dbotconf

* Update ci test coverage workflow

* Revert to original redirection

* Test current and all sub packages

* Add vanity import check

* Update workflows

* Add vanity-import-fix and run it

* Update generation

* Update integration test cmds

* Remove compat testing for Go 1.18

* Fix modtime for zpages resources

* Add suggestion to vanity-import-check failure
2022-03-25 08:30:39 -07:00
Tyler Yahn a333e58ee9
Add license-check to Makefile (#228)
* Add license-check to Makefile

* Add missing licenses
2020-08-16 12:18:58 -04: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
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