Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultConfig = Config{ Statsd: &statsd.DefaultConfig, } )
Functions ¶
This section is empty.
Types ¶
type MetricsReporter ¶
type MetricsReporter struct {
// contains filtered or unexported fields
}
func NewMetricsReporter ¶
func NewMetricsReporter(config Config) (mp *MetricsReporter, err error)
func (*MetricsReporter) Close ¶
func (mp *MetricsReporter) Close() (err error)
func (*MetricsReporter) ReportLogStats ¶
func (mp *MetricsReporter) ReportLogStats(name string, stats log.Stat) (err error)
Click to show internal directories.
Click to hide internal directories.