An example of instrumenting a github.com/gorilla/mux
HTTP service with Instana using github.com/instana/go-sensor/tree/master/instrumentation/instamux
.
To start an example locally on localhost:8881
run:
go run main.go -l localhost:8881
In case when the port is already in use, please choose another one.
-l string
Server listen address
There will be an exposed endpoint:
GET /foo