README
¶
Examples
This folder contains examples of instrumenting the common use-cases with github.com/instana/go-sensor
- autoprofile - Demonstrates the usage of autoprofiling using
go-sensor
SDK. - greeter - an instrumented application using
go-sensor
SDK with basic HTTP and database queries. - beego - an example of instrumenting application using
instabeego
. - couchbase - an example of instrumenting application using
instagocb
. - event - Demonstrates usage of the Events API in
go-sensor
SDK. - gin - an example of instrumenting application using
instagin
. - gorm-sqlite - an example of instrumenting a SQLite application using
instagorm
. - gorm-postgres - an example of instrumenting a Postgres application using
instagorm
. - graphQL - an example of instrumenting application using
instagraphql
. - gRPC - an example of usage of Instana tracer in an app instrumented with
instagrpc
. - httprouter - an example of instrumenting application using
instahttprouter
. - openTracing - an example of usage of Instana tracer in an app instrumented with OpenTracing.
- sarama - an example of instrumenting application using
instasarama
. - sql-mysql - an example of instrumenting a SQL application using
go-sensor
SDK. - sql-mysql-gin - an example of instrumenting a Gin web server that uses MySQL for database operations with the
go-sensor
SDK.. - sql-redis - an example of instrumenting a Redis application using
go-sensor
SDK. - pgxv5 - an example of instrumenting pgx v5 library using
go-sensor
SDK. - sql-opendb - an example of instrumenting
sql.OpenDB
usinggo-sensor
SDK. - instaredis-v2-example - an example of instrumenting a Redis application using
instaredis/v2
package. - fasthttp-example - an example of instrumenting
fasthttp
usinggo-sensor
SDK.
For more up-to-date instrumentation code examples please consult the respective package documentation page:
github.com/instana/go-sensor
- HTTP client and server instrumentationgithub.com/instana/go-sensor/instrumentation/instagrpc
- GRPC server and client instrumentationgithub.com/instana/go-sensor/instrumentation/instasarama
- Kafka producer and consumer instrumentation forgithub.com/IBM/sarama
github.com/instana/go-sensor/instrumentation/cloud.google.com/go/pubsub
- Google Cloud Pub/Sub producer and consumer instrumentation forcloud.google.com/go/pubsub
github.com/instana/go-sensor/instrumentation/cloud.google.com/go/storage
- Google Cloud Storage client instrumentation forcloud.google.com/go/storage
github.com/instana/go-sensor/instrumentation/instagin
- Instrumentation module for HTTP servers written usinggithub.com/gin-gonic/gin
frameworkgithub.com/instana/go-sensor/instrumentation/instamux
- Instrumentation module for HTTP servers written withgithub.com/gorilla/mux
routergithub.com/instana/go-sensor/instrumentation/instahttprouter
- Instrumentation module for HTTP servers written withgithub.com/julienschmidt/httprouter
router
Directories
¶
Path | Synopsis |
---|---|
beego
module
|
|
echo
module
|
|
event
|
|
gin
module
|
|
grpc-client-server
module
|
|
httprouter
module
|
Click to show internal directories.
Click to hide internal directories.