import "github.com/viru/metrics"
func main() {
m := metrics.NewService(metrics.NewSink("email@address", "libratoToken", "hostname", false))
// Increase child metric whenever we handle HTTP request successfuly.
statusMetric := m.Counter("http.reqs", time.Minute)
statusMetric.IncChild(200, 1)
-
Notifications
You must be signed in to change notification settings - Fork 0
License
pawelkowalak/metrics
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published