Documentation ¶
Index ¶
Constants ¶
View Source
const A = int32('A')
View Source
const SEP = byte(0x1E)
View Source
const SEPSTR = string(SEP)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeltaValue ¶
type MetricIdentity ¶
type MetricIdentity struct { Resource pdata.Resource InstrumentationLibrary pdata.InstrumentationLibrary MetricDataType pdata.MetricDataType MetricIsMonotonic bool MetricName string MetricUnit string StartTimestamp pdata.Timestamp Attributes pdata.AttributeMap MetricValueType pdata.MetricValueType }
func (*MetricIdentity) IsFloatVal ¶
func (mi *MetricIdentity) IsFloatVal() bool
func (*MetricIdentity) IsSupportedMetricType ¶
func (mi *MetricIdentity) IsSupportedMetricType() bool
func (*MetricIdentity) Write ¶
func (mi *MetricIdentity) Write(b *bytes.Buffer)
type MetricPoint ¶
type MetricPoint struct { Identity MetricIdentity Value ValuePoint }
type MetricTracker ¶
type MetricTracker interface {
Convert(MetricPoint) (DeltaValue, bool)
}
func NewMetricTracker ¶
type State ¶
type State struct { Identity MetricIdentity PrevPoint ValuePoint // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.