forked from cerc-io/ipld-eth-server
560305f601
- uses newer version of go-ethereum required for go1.11 |
||
---|---|---|
.. | ||
aws/aws-sdk-go/aws | ||
bradfitz/gomemcache/memcache | ||
confluentinc/confluent-kafka-go/kafka | ||
database/sql | ||
garyburd/redigo | ||
gin-gonic/gin | ||
globalsign/mgo | ||
go-redis/redis | ||
gocql/gocql | ||
google.golang.org | ||
gorilla/mux | ||
graph-gophers/graphql-go | ||
internal | ||
jinzhu/gorm | ||
jmoiron/sqlx | ||
julienschmidt/httprouter | ||
k8s.io/client-go/kubernetes | ||
miekg/dns | ||
mongodb/mongo-go-driver/mongo | ||
net/http | ||
olivere/elastic | ||
Shopify/sarama | ||
syndtr/goleveldb/leveldb | ||
tidwall/buntdb | ||
README.md |
The purpose of these packages is to provide tracing on top of commonly used packages from the standard library as well as the community in a "plug-and-play" manner. This means that by simply importing the appropriate path, functions are exposed having the same signature as the original package. These functions return structures which embed the original return value, allowing them to be used as they normally would with tracing activated out of the box.
All of these libraries are supported by our APM product.
Usage
First, find the library which you'd like to integrate with. The naming convention for the integration packages is:
- If the package is from the standard library (eg.
database/sql
), it will be located at the same path. - If the package is hosted on Github (eg.
github.com/user/repo
), it will be located at the shorthand pathuser/repo
. - If the package is from anywhere else (eg.
google.golang.org/grpc
), it can be found under the full import path.
Each integration comes with thorough documentation and usage examples. A good overview can be seen on our godoc page.