data

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Zero

func Zero[P Typed[P]]() P

Types

type ExpHistogram

type ExpHistogram struct {
	expo.DataPoint
}

func (ExpHistogram) Add

func (ExpHistogram) Clone

func (dp ExpHistogram) Clone() ExpHistogram

func (ExpHistogram) CopyTo

func (dp ExpHistogram) CopyTo(dst ExpHistogram)

type Histogram

type Histogram struct {
	pmetric.HistogramDataPoint
}

func (Histogram) Add

func (dp Histogram) Add(in Histogram) Histogram

func (Histogram) Clone

func (dp Histogram) Clone() Histogram

func (Histogram) CopyTo

func (dp Histogram) CopyTo(dst Histogram)

type Number

type Number struct {
	pmetric.NumberDataPoint
}

func (Number) Add

func (dp Number) Add(in Number) Number

func (Number) Clone

func (dp Number) Clone() Number

func (Number) CopyTo

func (dp Number) CopyTo(dst Number)

type Point

type Point[Self any] interface {
	StartTimestamp() pcommon.Timestamp
	Timestamp() pcommon.Timestamp
	Attributes() pcommon.Map

	Clone() Self
	CopyTo(Self)

	Add(Self) Self
}

type Summary

type Summary struct {
	pmetric.SummaryDataPoint
}

func (Summary) Add

func (dp Summary) Add(Summary) Summary

func (Summary) Clone

func (dp Summary) Clone() Summary

func (Summary) CopyTo

func (dp Summary) CopyTo(dst Summary)

type Typed

type Typed[Self any] interface {
	Point[Self]
	Number | Histogram | ExpHistogram | Summary
}

Directories

Path Synopsis
Package expo implements various operations on exponential histograms and their bucket counts
Package expo implements various operations on exponential histograms and their bucket counts

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL