Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface {
Println(v ...interface{})
}
Logger follows the standard log.Logger API
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
Reporter implements instruments.Reporter and simply logs metrics
func New ¶
New creates a new reporter using a logger. Uses log package's default logger if none given
func (*Reporter) Sample ¶
func (r *Reporter) Sample(name string, tags []string, dist instruments.Distribution) error
Sample implements instruments.Reporter
Click to show internal directories.
Click to hide internal directories.