Versions in this module Expand all Collapse all v1 v1.0.0 Nov 3, 2023 Changes in this version + const Aggregate + const Attributes + const Color + const Count + const Counters + const Description + const DisplayMax + const DisplayMin + const DisplayName + const DisplayStacked + const DisplayTransform + const DisplayUnitsLong + const DisplayUnitsShort + const Gauges + const Max + const MeasureTime + const MetricsPostUrl + const Min + const Name + const Operations + const OperationsShort + const Period + const Source + const Sum + const SumSquares + const SummarizeFunction + const Value + func Librato(r metrics.Registry, d time.Duration, e string, t string, s string, p []float64, ...) + type Batch struct + Counters []Measurement + Gauges []Measurement + MeasureTime int64 + Source string + type LibratoClient struct + Email string + Token string + func (c *LibratoClient) PostMetrics(batch Batch) (err error) + type Measurement map[string]interface + type Metric map[string]interface + type Reporter struct + Email string + Interval time.Duration + Namespace string + Percentiles []float64 + Registry metrics.Registry + Source string + TimerAttributes map[string]interface{} + Token string + func NewReporter(r metrics.Registry, d time.Duration, e string, t string, s string, p []float64, ...) *Reporter + func (rep *Reporter) BuildRequest(now time.Time, r metrics.Registry) (snapshot Batch, err error) + func (rep *Reporter) Run()