stats

package
v0.0.0-...-a1a640b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

MetricKey is called to generate the statsd key for a given metric and tags.

Functions

func DefaultMetricPrefix

func DefaultMetricPrefix(name string, tags map[string]string) string

DefaultMetricPrefix is the default mapping for metrics to statsd keys.

func NewStatsdReporter

func NewStatsdReporter(addr, prefix string) (tchannel.StatsReporter, error)

NewStatsdReporter returns a StatsReporter that reports to statsd on the given addr.

func NewStatsdReporterClient

func NewStatsdReporterClient(client statsd.Statter) tchannel.StatsReporter

NewStatsdReporterClient returns a StatsReporter that reports stats to the given client.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL