Documentation ¶
Index ¶
- Constants
- type Collection
- type CollectionReader
- type CollectionWriter
- type LongFrame
- type MetricRef
- type MultiFrame
- type WideFrame
- func (wf *WideFrame) AddMetric(metricName string, l data.Labels, value interface{}) error
- func (wf *WideFrame) GetMetricRefs(validateData bool) ([]MetricRef, []sdata.FrameFieldIndex, error)
- func (wf *WideFrame) SetMetricMD(metricName string, l data.Labels, fc data.FieldConfig)
- func (wf *WideFrame) Validate() (isEmpty bool, errors []error)
Constants ¶
View Source
const FrameTypeNumericLong = "numeric_long"
View Source
const FrameTypeNumericMulti = "numeric_multi"
View Source
const FrameTypeNumericWide = "numeric_wide"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection interface { CollectionWriter CollectionReader }
type CollectionReader ¶
type CollectionReader interface {
GetMetricRefs(validateData bool) (refs []MetricRef, ignoredFieldIndices []sdata.FrameFieldIndex, err error)
}
type CollectionWriter ¶
type LongFrame ¶
func NewLongFrame ¶
func NewLongFrame() *LongFrame
func (*LongFrame) GetMetricRefs ¶
type MetricRef ¶
func (MetricRef) GetMetricName ¶
type MultiFrame ¶
func NewMultiFrame ¶
func NewMultiFrame() *MultiFrame
func (*MultiFrame) AddMetric ¶
func (mf *MultiFrame) AddMetric(metricName string, l data.Labels, value interface{}) error
func (*MultiFrame) GetMetricRefs ¶
func (mf *MultiFrame) GetMetricRefs(validateData bool) ([]MetricRef, []sdata.FrameFieldIndex, error)
func (*MultiFrame) SetMetricMD ¶
func (mf *MultiFrame) SetMetricMD(metricName string, l data.Labels, fc data.FieldConfig)
type WideFrame ¶
func NewWideFrame ¶
func NewWideFrame() *WideFrame
func (*WideFrame) GetMetricRefs ¶
func (*WideFrame) SetMetricMD ¶
Click to show internal directories.
Click to hide internal directories.