Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Output ¶
type Output struct { output.SampleBuffer // contains filtered or unexported fields }
func (*Output) Description ¶
func (*Output) SetThresholds ¶
func (o *Output) SetThresholds(thresholds map[string]workerMetrics.Thresholds)
SetThresholds receives the thresholds before the output is Start()-ed.
type SampleData ¶
type SampleData struct { Time time.Time `json:"time"` Value float64 `json:"value"` Tags *workerMetrics.SampleTags `json:"tags"` }
type SampleEnvelope ¶
type SampleEnvelope struct { Type string `json:"type"` Data SampleData `json:"data"` Metric *workerMetrics.Metric `json:"metric"` }
Stores a metric and data point
Click to show internal directories.
Click to hide internal directories.