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 { // Type is point Value float64 `json:"value"` Tags *workerMetrics.SampleTags `json:"tags"` }
type SampleEnvelope ¶
type SampleEnvelope struct { Data SampleData `json:"data"` Metric *workerMetrics.Metric `json:"metric"` // contains filtered or unexported fields }
Stores a metric and data point
type WrappedFormattedSamples ¶ added in v0.1.4
type WrappedFormattedSamples struct { SampleEnvelopes []SampleEnvelope `json:"samples"` FlushCount int `json:"flush_count"` }
Click to show internal directories.
Click to hide internal directories.