Skip to content

Latest commit

 

History

History

gin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

An Instrumented github.com/gin-gonic/gin Server Example

An example of instrumenting a github.com/gin-gonic/gin HTTP service with Instana using github.com/mier85/go-sensor/tree/master/instrumentation/instagin.

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 two endpoints exposed:

GET    /myendpoint
GET    /v1/myendpoint