Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataPoint ¶
type DataPoint[Self any] interface { pmetric.NumberDataPoint | pmetric.SummaryDataPoint | pmetric.HistogramDataPoint | pmetric.ExponentialHistogramDataPoint Timestamp() pcommon.Timestamp SetTimestamp(pcommon.Timestamp) Attributes() pcommon.Map CopyTo(dest Self) }
type DataPointSlice ¶
type Key ¶
TODO (lahsivjar): Think about multitenancy, should be part of the key
func (*Key) SizeBinary ¶
SizeBinary returns the size of the Key when binary encoded. The interval, represented by time.Duration, is encoded to 2 bytes by converting it into seconds. This allows a max of ~18 hours duration.
type Merger ¶
type Merger struct {
// contains filtered or unexported fields
}
func (*Merger) MergeNewer ¶
func (*Merger) MergeOlder ¶
type Value ¶
Not safe for concurrent use.
func (*Value) MarshalProto ¶
func (*Value) MergeMetric ¶
func (v *Value) MergeMetric( rm pmetric.ResourceMetrics, sm pmetric.ScopeMetrics, m pmetric.Metric, )
func (*Value) SizeBinary ¶
func (*Value) UnmarshalProto ¶
Click to show internal directories.
Click to hide internal directories.