Skip to content
This repository has been archived by the owner on Jul 12, 2021. It is now read-only.
/ dd-trace-go Public archive
forked from DataDog/dd-trace-go

A Go tracing package for Datadog APM

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE-APACHE
BSD-3-Clause
LICENSE-BSD3
Notifications You must be signed in to change notification settings

daangn/dd-trace-go

 
 

CircleCI Godoc

DEPRECATED. THIS FORK IS NOT MAINTAINED.

Instead use daangn/x/monitor/xdatadog for extended tracers.

Installing

go get gopkg.in/daangn/dd-trace-go.v1/...

Requires:

  • Go >= 1.12
  • Datadog's Trace Agent >= 5.21.1

Documentation

The API is documented on godoc as well as Datadog's official documentation. If you are migrating from an older version of the tracer (e.g. 0.6.x) you may also find the migration document we've put together helpful.

Contributing

Before considering contributions to the project, please take a moment to read our brief contribution guidelines.

Testing

Tests 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 we 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 might be running versions different from the vendored one, creating hard to debug conflicts.

To 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 idea about the versions and the set-up take a look at our CI config.

The best way to run the entire test suite is using the CircleCI CLI. Simply run circleci build in the repository root. Note that you might have to increase the resources dedicated to Docker to around 4GB.

About

A Go tracing package for Datadog APM

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE-APACHE
BSD-3-Clause
LICENSE-BSD3

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%