The Prometheus monitoring system and time series database.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
275 B

package main
import (
"code.google.com/p/gorest"
"net/http"
)
func main() {
m, _ := NewLevigoMetricPersistence("/tmp/metrics")
s := &MetricsService{
persistence: m,
}
gorest.RegisterService(s)
http.Handle("/", gorest.Handle())
http.ListenAndServe(":8787", nil)
}