metric

package
v8.13.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 1 Imported by: 4

Documentation

Overview

Package metric

Index

Constants

This section is empty.

Variables

View Source
var (
	Min = Metric{"min"}

	Max = Metric{"max"}

	Sum = Metric{"sum"}

	Avg = Metric{"avg"}

	Valuecount = Metric{"value_count"}
)

Functions

This section is empty.

Types

type Metric

type Metric struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/5bf86339cd4bda77d07f6eaa6789b72f9c0279b1/specification/rollup/_types/Metric.ts#L22-L28

func (Metric) MarshalText

func (m Metric) MarshalText() (text []byte, err error)

func (Metric) String

func (m Metric) String() string

func (*Metric) UnmarshalText

func (m *Metric) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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