Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Counters ¶
func NewCounters ¶
type Data ¶
type Data struct {
Points Float64Slice
Amount_submitted int64
}
type Float64Slice ¶
type Float64Slice []float64
func (Float64Slice) Len ¶
func (s Float64Slice) Len() int
func (Float64Slice) Less ¶
func (s Float64Slice) Less(i, j int) bool
func (Float64Slice) Swap ¶
func (s Float64Slice) Swap(i, j int)
type Formatter ¶
type Formatter struct {
// prefix of statsdaemon's own metrics2.0 stats
PrefixInternal string
// formatting of old style metrics
Legacy_namespace bool
Prefix_counters string
Prefix_gauges string
Prefix_rates string
Prefix_timers string
// formatting of metrics2.0
Prefix_m20_counters string
Prefix_m20_gauges string
Prefix_m20_rates string
Prefix_m20_timers string
// metrics2.0 using _is_ convention instead of =
Prefix_m20ne_counters string
Prefix_m20ne_gauges string
Prefix_m20ne_rates string
Prefix_m20ne_timers string
}
type Output ¶
type Output struct {
Metrics chan []*common.Metric
MetricAmounts chan []*common.Metric
Valid_lines *topic.Topic
Invalid_lines *topic.Topic
}
func NullOutput ¶
func NullOutput() *Output
type Percentile ¶
type Percentile struct {
// contains filtered or unexported fields
}
func NewPercentile ¶
func NewPercentile(pctl string) (*Percentile, error)
func (*Percentile) String ¶
func (p *Percentile) String() string
type Percentiles ¶
type Percentiles []*Percentile
func NewPercentiles ¶
func NewPercentiles(pctls string) (*Percentiles, error)
func (*Percentiles) Set ¶
func (a *Percentiles) Set(s string) error
func (*Percentiles) String ¶
func (a *Percentiles) String() string
Click to show internal directories.
Click to hide internal directories.