Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.circleci/ | H | 22-Apr-2021 | - | 210 | 177 | |
contrib/ | H | 22-Apr-2021 | - | 33,321 | 26,588 | |
ddtrace/ | H | 22-Apr-2021 | - | 46,235 | 33,382 | |
internal/ | H | 22-Apr-2021 | - | 621 | 451 | |
profiler/ | H | 22-Apr-2021 | - | 2,526 | 1,994 | |
.gitignore | H A D | 22-Apr-2021 | 506 | 27 | 22 | |
.gitlab-ci | H A D | 22-Apr-2021 | 940 | 26 | 22 | |
CONTRIBUTING.md | H A D | 22-Apr-2021 | 2 KiB | 48 | 30 | |
LICENSE | H A D | 22-Apr-2021 | 12.7 KiB | 235 | 196 | |
LICENSE-3rdparty.csv | H A D | 22-Apr-2021 | 111 | 2 | 2 | |
LICENSE-APACHE | H A D | 22-Apr-2021 | 11.1 KiB | 201 | 169 | |
LICENSE-BSD3 | H A D | 22-Apr-2021 | 1.5 KiB | 25 | 22 | |
MIGRATING.md | H A D | 22-Apr-2021 | 5.9 KiB | 105 | 67 | |
NOTICE | H A D | 22-Apr-2021 | 146 | 5 | 3 | |
README.md | H A D | 22-Apr-2021 | 2.1 KiB | 36 | 23 | |
checkcopyright.go | H A D | 22-Apr-2021 | 1.3 KiB | 56 | 42 | |
checkmilestone.go | H A D | 22-Apr-2021 | 1.1 KiB | 56 | 45 | |
codecov.yml | H A D | 22-Apr-2021 | 423 | 31 | 27 | |
go.mod | H A D | 22-Apr-2021 | 244 | 11 | 8 | |
go.sum | H A D | 22-Apr-2021 | 95.1 KiB | 1,001 | 1,000 |
README.md
1[![CircleCI](https://circleci.com/gh/DataDog/dd-trace-go/tree/v1.svg?style=svg)](https://circleci.com/gh/DataDog/dd-trace-go/tree/v1) 2[![Godoc](http://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/gopkg.in/DataDog/dd-trace-go.v1/ddtrace) 3[![codecov](https://codecov.io/gh/DataDog/dd-trace-go/branch/v1/graph/badge.svg?token=jGG20Xhv8i)](https://codecov.io/gh/DataDog/dd-trace-go) 4 5### Installing 6 7```bash 8go get gopkg.in/DataDog/dd-trace-go.v1/... 9``` 10 11Requires: 12 13* Go >= 1.12 14* Datadog's Trace Agent >= 5.21.1 15 16### Documentation 17 18The API is documented on [godoc](https://godoc.org/gopkg.in/DataDog/dd-trace-go.v1/ddtrace) as well as Datadog's [official documentation](https://docs.datadoghq.com/tracing/setup/go/). If you are migrating 19from an older version of the tracer (e.g. 0.6.x) you may also find the [migration document](https://github.com/DataDog/dd-trace-go/blob/v1/MIGRATING.md) we've put together helpful. 20 21### Contributing 22 23Before considering contributions to the project, please take a moment to read our brief [contribution guidelines](https://github.com/DataDog/dd-trace-go/blob/v1/CONTRIBUTING.md). 24 25### Testing 26 27Tests can be run locally using the Go toolset. The grpc.v12 integration will fail (and this is normal), because it covers for deprecated methods. In the CI environment 28we vendor this version of the library inside the integration. Under normal circumstances this is not something that we want to do, because users using this integration 29might be running versions different from the vendored one, creating hard to debug conflicts. 30 31To run integration tests locally, you should set the `INTEGRATION` environment variable. The dependencies of the integration tests are best run via Docker. To get an 32idea about the versions and the set-up take a look at our [CI config](https://github.com/DataDog/dd-trace-go/blob/v1/.circleci/config.yml). 33 34The best way to run the entire test suite is using the [CircleCI CLI](https://circleci.com/docs/2.0/local-jobs/). Simply run `circleci build` 35in the repository root. Note that you might have to increase the resources dedicated to Docker to around 4GB. 36