Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
func (Filter) ParseMany ¶ added in v0.2.0
func (f Filter) ParseMany(serviceName string, metrics []SimpleMetrics) []FilteredMetrics
func (Filter) ParseSingle ¶ added in v0.2.0
func (f Filter) ParseSingle(metrics SimpleMetrics) []FilteredMetrics
type FilteredMetrics ¶
type FilteredMetrics struct {
Measurement string
Tags map[string]string
Fields map[string]interface{}
}
func NewFilteredMetric ¶
func NewFilteredMetric() FilteredMetrics
func (FilteredMetrics) String ¶ added in v0.2.0
func (fm FilteredMetrics) String() string
type GrouppedMetrics ¶
type GrouppedMetrics map[string][]SimpleMetrics
type PandoraGauge ¶
type PandoraGauge struct {
Value json.RawMessage
}
func (PandoraGauge) Parse ¶ added in v0.2.0
func (pg PandoraGauge) Parse() float64
func (PandoraGauge) String ¶
func (pg PandoraGauge) String() string
type PandoraMeter ¶
func (PandoraMeter) String ¶ added in v0.2.0
func (pm PandoraMeter) String() string
type PandoraMetrics ¶
type PandoraMetrics struct {
Gauges map[string]PandoraGauge
Meters map[string]PandoraMeter
// Histrograms string
// Counters string
Timers map[string]PandoraTimer
}
type PandoraTimer ¶
func (PandoraTimer) String ¶ added in v0.2.0
func (pt PandoraTimer) String() string
type ServiceInfo ¶
func (ServiceInfo) GetAddress ¶
func (s ServiceInfo) GetAddress() string
type SimpleMetrics ¶
type SimpleMetrics struct {
Service ServiceInfo
Metrics PandoraMetrics
}
Click to show internal directories.
Click to hide internal directories.