model

package
v0.0.0-...-a6d84cd Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricRow

type MetricRow struct {
	MetricName string
	MetricID   string

	Timestamp int64
	Value     float64
}

MetricRow is a metric to insert into storage.

func (*MetricRow) MetricNameHash

func (mr *MetricRow) MetricNameHash() uint64

func (*MetricRow) SetMetricID

func (mr *MetricRow) SetMetricID(instance string)

type MetricRows

type MetricRows map[string][]MetricRow

Jump to

Keyboard shortcuts

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