Add instrumentation with prometheus

This commit is contained in:
Las Zenow 2017-06-05 16:17:14 +00:00
parent 2a72154308
commit f4ca9e2dbc
6 changed files with 138 additions and 32 deletions

View file

@ -0,0 +1,8 @@
package instrument
import "time"
type Instrument interface {
Visit(section string, id string, search string, fmt string)
Duration(section string, duration time.Duration)
}