Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.
/ librato Public archive

Basic Librato client library with batching of events

License

Notifications You must be signed in to change notification settings

nyaruka/librato

Repository files navigation

librato Build Status codecov Go Report Card

Basic Librato client library with batching of events. Thus far it only supports sending gauge values because that's all we need, but contributions welcome.

Usage

You can either instantiate a collector and use that:

import "github.com/nyaruka/librato"

collector := librato.NewCollector(...)
collector.Start()
collector.Gauge("awesomeness.level", 10)
collector.Gauge("foo.count", 123.45)
collector.Stop()

Or configure the default collector and use it like:

librato.Configure(...)
librato.Start()
librato.Gauge("awesomeness.level", 10)
librato.Gauge("foo.count", 123.45)
librato.Stop()

About

Basic Librato client library with batching of events

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages