metadata

package
v0.309.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: Apache-2.0 Imports: 2 Imported by: 39

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	Type model.MetricType `json:"type"`
	Unit string           `json:"unit"`
	Help string           `json:"help"`
}

Metadata stores a series' metadata information.

func (Metadata) Equals added in v0.309.0

func (m Metadata) Equals(other Metadata) bool

Equals returns true if m is semantically the same as other metadata.

func (Metadata) IsEmpty added in v0.309.0

func (m Metadata) IsEmpty() bool

IsEmpty returns true if metadata structure is empty, including unknown type case.

Jump to

Keyboard shortcuts

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