Skip to content

Latest commit

 

History

History

gorillamux

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

An Instrumented github.com/gorilla/mux Server Example

An example of instrumenting a github.com/gorilla/mux HTTP service with Instana using github.com/instana/go-sensor/tree/master/instrumentation/instamux.

Usage

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