Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricStorage ¶
type MetricStorage struct { GraphiteConnectionString string GraphitePrefix string Logger frontreport.Logger // contains filtered or unexported fields }
MetricStorage is a Graphite implementation of frontreport.MetricStorage interface
func (*MetricStorage) RegisterCounter ¶
func (ms *MetricStorage) RegisterCounter(name string) frontreport.MetricCounter
RegisterCounter creates a counter
func (*MetricStorage) RegisterHistogram ¶
func (ms *MetricStorage) RegisterHistogram(name string) frontreport.MetricHistogram
RegisterHistogram creates a uniform-sampled histogram of integers
func (*MetricStorage) Start ¶
func (ms *MetricStorage) Start() error
Start initializes Graphite reporter
func (*MetricStorage) Stop ¶
func (ms *MetricStorage) Stop() error
Stop does nothing - there is no way to gracefully flush Graphite reporter
Click to show internal directories.
Click to hide internal directories.