Documentation ¶
Index ¶
- func NewSEH1Distribution() distribution.Distribution
- type SEH1Distribution
- func (seh1Distribution *SEH1Distribution) AddDistribution(distribution distribution.Distribution)
- func (seh1Distribution *SEH1Distribution) AddDistributionWithWeight(distribution distribution.Distribution, weight float64)
- func (seh1Distribution *SEH1Distribution) AddEntry(value float64, weight float64) error
- func (seh1Distribution *SEH1Distribution) AddEntryWithUnit(value float64, weight float64, unit string) error
- func (seh1Distribution *SEH1Distribution) CanAdd(value float64, sizeLimit int) bool
- func (sd *SEH1Distribution) ConvertFromOtel(dp pmetric.HistogramDataPoint, unit string)
- func (sd *SEH1Distribution) ConvertToOtel(dp pmetric.HistogramDataPoint)
- func (seh1Distribution *SEH1Distribution) Maximum() float64
- func (seh1Distribution *SEH1Distribution) Minimum() float64
- func (seh1Distribution *SEH1Distribution) SampleCount() float64
- func (seh1Distribution *SEH1Distribution) Size() int
- func (seh1Distribution *SEH1Distribution) Sum() float64
- func (seh1Distribution *SEH1Distribution) Unit() string
- func (seh1Distribution *SEH1Distribution) ValuesAndCounts() (values []float64, counts []float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSEH1Distribution ¶
func NewSEH1Distribution() distribution.Distribution
Types ¶
type SEH1Distribution ¶
type SEH1Distribution struct {
// contains filtered or unexported fields
}
func (*SEH1Distribution) AddDistribution ¶
func (seh1Distribution *SEH1Distribution) AddDistribution(distribution distribution.Distribution)
func (*SEH1Distribution) AddDistributionWithWeight ¶
func (seh1Distribution *SEH1Distribution) AddDistributionWithWeight(distribution distribution.Distribution, weight float64)
func (*SEH1Distribution) AddEntry ¶
func (seh1Distribution *SEH1Distribution) AddEntry(value float64, weight float64) error
weight is 1/samplingRate
func (*SEH1Distribution) AddEntryWithUnit ¶
func (seh1Distribution *SEH1Distribution) AddEntryWithUnit(value float64, weight float64, unit string) error
weight is 1/samplingRate
func (*SEH1Distribution) CanAdd ¶
func (seh1Distribution *SEH1Distribution) CanAdd(value float64, sizeLimit int) bool
func (*SEH1Distribution) ConvertFromOtel ¶ added in v1.300025.0
func (sd *SEH1Distribution) ConvertFromOtel(dp pmetric.HistogramDataPoint, unit string)
func (*SEH1Distribution) ConvertToOtel ¶ added in v1.300025.0
func (sd *SEH1Distribution) ConvertToOtel(dp pmetric.HistogramDataPoint)
ConvertToOtel could convert an SEH1Distribution to pmetric.ExponentialHistogram. But there is no need because it will just get converted bak to a SEH1Distribution.
func (*SEH1Distribution) Maximum ¶
func (seh1Distribution *SEH1Distribution) Maximum() float64
func (*SEH1Distribution) Minimum ¶
func (seh1Distribution *SEH1Distribution) Minimum() float64
func (*SEH1Distribution) SampleCount ¶
func (seh1Distribution *SEH1Distribution) SampleCount() float64
func (*SEH1Distribution) Size ¶
func (seh1Distribution *SEH1Distribution) Size() int
func (*SEH1Distribution) Sum ¶
func (seh1Distribution *SEH1Distribution) Sum() float64
func (*SEH1Distribution) Unit ¶
func (seh1Distribution *SEH1Distribution) Unit() string
func (*SEH1Distribution) ValuesAndCounts ¶
func (seh1Distribution *SEH1Distribution) ValuesAndCounts() (values []float64, counts []float64)
Click to show internal directories.
Click to hide internal directories.