forked from mirror/client_golang
12 lines
191 B
Go
12 lines
191 B
Go
![]() |
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/matttproud/golang_instrumentation/export"
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
http.Handle("/metrics.json", export.Exporter)
|
||
|
http.ListenAndServe(":8080", nil)
|
||
|
}
|