client_golang/main.go

12 lines
191 B
Go
Raw Normal View History

2012-05-20 01:59:25 +04:00
package main
import (
"github.com/matttproud/golang_instrumentation/export"
"net/http"
)
func main() {
http.Handle("/metrics.json", export.Exporter)
http.ListenAndServe(":8080", nil)
}