base

package
v0.0.0-...-3e95e29 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Benchmarkable

type Benchmarkable interface {
	Serialize() []byte
	Deserialize([]byte) Sizer
	DeserializeToBase([]byte) *WriteRequest
}

type Label

type Label struct {
	Name  string
	Value string
}

type Sample

type Sample struct {
	Value     float64
	Timestamp int64
}

type Sizer

type Sizer interface {
	Size() int
}

type TimeSeries

type TimeSeries struct {
	Labels  []Label
	Samples []Sample
}

type WriteRequest

type WriteRequest struct {
	Timeseries []TimeSeries
}

Jump to

Keyboard shortcuts

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