• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..26-May-2021-

Shopify/sarama/H26-May-2021-848656

aws/aws-sdk-go/aws/H26-May-2021-388295

bradfitz/gomemcache/memcache/H26-May-2021-483349

cloud.google.com/go/pubsub.v1/H26-May-2021-409320

confluentinc/confluent-kafka-go/kafka/H26-May-2021-650467

database/sql/H26-May-2021-1,6031,208

emicklei/go-restful/H26-May-2021-372266

garyburd/redigo/H26-May-2021-552409

gin-gonic/gin/H26-May-2021-664489

globalsign/mgo/H26-May-2021-1,063802

go-chi/H26-May-2021-992716

go-pg/pg.v10/H26-May-2021-151102

go-redis/H26-May-2021-2,2761,753

go.mongodb.org/mongo-driver/mongo/H26-May-2021-359271

gocql/gocql/H26-May-2021-483343

gofiber/fiber.v2/H26-May-2021-441310

gomodule/redigo/H26-May-2021-624464

google.golang.org/H26-May-2021-9,7528,855

gopkg.in/jinzhu/gorm.v1/H26-May-2021-658499

gorilla/mux/H26-May-2021-614450

gorm.io/gorm.v1/H26-May-2021-575446

graph-gophers/graphql-go/H26-May-2021-423315

hashicorp/H26-May-2021-1,083824

internal/H26-May-2021-925724

jinzhu/gorm/H26-May-2021-661502

jmoiron/sqlx/H26-May-2021-217154

julienschmidt/httprouter/H26-May-2021-343249

k8s.io/client-go/kubernetes/H26-May-2021-290214

labstack/H26-May-2021-823573

miekg/dns/H26-May-2021-231164

net/http/H26-May-2021-910697

olivere/elastic/H26-May-2021-806638

syndtr/goleveldb/leveldb/H26-May-2021-598439

tidwall/buntdb/H26-May-2021-933749

twitchtv/twirp/H26-May-2021-715569

zenazn/goji.v1/web/H26-May-2021-393301

README.mdH A D26-May-20211.9 KiB2416

README.md

1[![Godoc](http://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/gopkg.in/DataDog/dd-trace-go.v1/contrib)
2
3The purpose of these packages is to provide tracing on top of commonly used packages from the standard library as well as the
4community in a "plug-and-play" manner. This means that by simply importing the appropriate path, functions are exposed having
5 the same signature as the original package. These functions return structures which embed the original return value, allowing
6them to be used as they normally would with tracing activated out of the box.
7
8All of these libraries are supported by our [APM product](https://www.datadoghq.com/apm/).
9
10:warning: These libraries are not built to be used with Opentracing. Opentracing integrations can be found in [their own organisation](https://github.com/opentracing-contrib/).
11
12### Usage
13
14First, find the library which you'd like to integrate with. The naming convention for the integration packages is:
15
16* If the package is from the standard library (eg. `database/sql`), it will be located at the same path.
17* If the package is hosted on Github (eg. `github.com/user/repo`) and has version `v2.1.0`, it will be located at the shorthand path `user/repo.v2`.
18* If the package is from anywhere else (eg. `google.golang.org/grpc`) and has no stable version, it can be found under the full import path, followed by the version suffix (in this example `.v0`).
19* All new integrations should be suffixed with `.vN` where `N` is the major version that is being covered.
20* The package itself should retain its un-versioned name. For example, the integration under `user/repo.v2` stays as `package repo`, and does not become `package repo.v2`
21
22Each integration comes with thorough documentation and usage examples. A good overview can be seen on our
23[godoc](https://godoc.org/gopkg.in/DataDog/dd-trace-go.v1/contrib) page.
24