Documentation ¶
Index ¶
Constants ¶
View Source
const ( Counter Type = "counter" Gauge = "gauge" Summary = "summary" )
Metric types
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Exposition ¶
Exposition for tracking/formatting counters
func (*Exposition) AddRow ¶
func (e *Exposition) AddRow(value float64) *Row
AddRow creates a row on exposition
func (Exposition) String ¶
func (e Exposition) String() string
String outputs a string reprisentation
type Expositioner ¶
type Expositioner interface {
Exposition() Expositions
}
Expositioner converts a stat object into a list of expositions.
type Expositions ¶
type Expositions []Exposition
Expositions list of Expositions
func (Expositions) String ¶
func (e Expositions) String() string
String outputs a string reprisentation
func (Expositions) ToSpaceValues ¶
func (e Expositions) ToSpaceValues() (lis []mercury.Value)
ToSpaceValues Convert Exposition to Mercury Space
type Row ¶
Row is a line item
Click to show internal directories.
Click to hide internal directories.