Skip to content

pawelkowalak/metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metrics

GoDoc Build Status

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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages