github.com/mier85/go-sensor@v1.30.1-0.20220920111756-9bf41b3bc7e0/example/README.md (about) 1 Examples 2 ======== 3 4 This folder contains examples of instrumenting the common use-cases with `github.com/mier85/go-sensor` 5 6 * [Greeter](./http-database-greeter) - an instrumented HTTP server that queries a database 7 * [Doubler](./kafka-producer-consumer) - an instrumented Kafka processor, that consumes and produces messages 8 * [Event](./event) - Demonstrates usage of the Events API 9 * [Autoprofile](./autoprofile) - Demonstrates usage of the AutoProfileā¢ 10 * [OpenTracing](./opentracing) - an example of usage of Instana tracer in an app instrumented with OpenTracing 11 * [gRPC](./grpc-client-server) - an example of usage of Instana tracer in an app instrumented with gRPC 12 * [Gin](./gin) - an example of usage of Instana tracer instrumenting a [`Gin`](github.com/gin-gonic/gin) application 13 * [github.com/julienschmidt/httprouter](./httprouter) - an example of usage of Instana tracer to instrument a [`github.com/julienschmidt/httprouter`](https://github.com/julienschmidt/httprouter) router 14 15 For more up-to-date instrumentation code examples please consult the respective package documentation page: 16 17 * [`github.com/mier85/go-sensor`](https://pkg.go.dev/github.com/mier85/go-sensor?tab=doc#pkg-overview) - HTTP client and server instrumentation 18 * [`github.com/mier85/go-sensor/instrumentation/instagrpc`](https://pkg.go.dev/github.com/mier85/go-sensor/instrumentation/instagrpc?tab=doc#pkg-overview) - GRPC server and client instrumentation 19 * [`github.com/mier85/go-sensor/instrumentation/instasarama`](https://pkg.go.dev/github.com/mier85/go-sensor/instrumentation/instasarama?tab=doc#pkg-overview) - Kafka producer and consumer instrumentation for [`github.com/Shopify/sarama`](https://github.com/Shopify/sarama) 20 * [`github.com/mier85/go-sensor/instrumentation/cloud.google.com/go/pubsub`](https://pkg.go.dev/github.com/mier85/go-sensor/instrumentation/cloud.google.com/go/pubsub?tab=doc#pkg-overview) - Google Cloud Pub/Sub producer and consumer instrumentation for [`cloud.google.com/go/pubsub`](https://cloud.google.com/go/pubsub) 21 * [`github.com/mier85/go-sensor/instrumentation/cloud.google.com/go/storage`](https://pkg.go.dev/github.com/mier85/go-sensor/instrumentation/cloud.google.com/go/storage?tab=doc#pkg-overview) - Google Cloud Storage client instrumentation for [`cloud.google.com/go/storage`](https://cloud.google.com/go/storage) 22 * [`github.com/mier85/go-sensor/instrumentation/instagin`](https://pkg.go.dev/github.com/mier85/go-sensor/instrumentation/instagin?tab=doc#pkg-overview) - Instrumentation module for HTTP servers written using [`github.com/gin-gonic/gin`](https://github.com/gin-gonic/gin) framework 23 * [`github.com/mier85/go-sensor/instrumentation/instamux`](https://pkg.go.dev/github.com/mier85/go-sensor/instrumentation/instamux?tab=doc#pkg-overview) - Instrumentation module for HTTP servers written with [`github.com/gorilla/mux`](https://github.com/gorilla/mux) router 24 * [`github.com/mier85/go-sensor/instrumentation/instahttprouter`](https://pkg.go.dev/github.com/mier85/go-sensor/instrumentation/instahttprouter?tab=doc#pkg-overview) - Instrumentation module for HTTP servers written with [`github.com/julienschmidt/httprouter`](https://github.com/julienschmidt/httprouter) router