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 using go-sensor SDK.
instaredis-v2-example - an example of instrumenting a Redis application using instaredis/v2 package.
fasthttp-example - an example of instrumenting fasthttp using go-sensor SDK.
mongo-driver-v2 - an example of instrumenting mongo-driver v2 library using go-sensor SDK.
http_secret_matcher - an example showing how to set up secret matchers using the Instana Go tracer(go-sensor) SDK.
docker-env - an example showing how to set up secret matchers using the Instana Go tracer(go-sensor) SDK.
echo - an example of instrumenting an Echo v5 web application using instaecho/v2 with automatic HTTP request tracing and database query instrumentation.
k8s-env - Demonstrates running a Go application with MySQL database in Kubernetes, monitored by Instana Go tracer(go-sensor) SDK.
sqlx-oracle - Demonstrates Instana instrumentation for Oracle database using sqlx and godror driver.
http-client - Demonstrates how to instrument outgoing HTTP requests using Instana Go sensor SDK.
For more up-to-date instrumentation code examples please consult the respective package documentation page: