metrics

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int

Functions

This section is empty.

Types

type TMetricKind

type TMetricKind int64
const (
	TMetricKind_GAUGE     TMetricKind = 0
	TMetricKind_COUNTER   TMetricKind = 1
	TMetricKind_PROPERTY  TMetricKind = 2
	TMetricKind_STATS     TMetricKind = 3
	TMetricKind_SET       TMetricKind = 4
	TMetricKind_HISTOGRAM TMetricKind = 5
)

func TMetricKindFromString

func TMetricKindFromString(s string) (TMetricKind, error)

func TMetricKindPtr

func TMetricKindPtr(v TMetricKind) *TMetricKind

func (TMetricKind) MarshalText

func (p TMetricKind) MarshalText() ([]byte, error)

func (*TMetricKind) Scan

func (p *TMetricKind) Scan(value interface{}) error

func (TMetricKind) String

func (p TMetricKind) String() string

func (*TMetricKind) UnmarshalText

func (p *TMetricKind) UnmarshalText(text []byte) error

func (*TMetricKind) Value

func (p *TMetricKind) Value() (driver.Value, error)

type TUnit

type TUnit int64
const (
	TUnit_UNIT             TUnit = 0
	TUnit_UNIT_PER_SECOND  TUnit = 1
	TUnit_CPU_TICKS        TUnit = 2
	TUnit_BYTES            TUnit = 3
	TUnit_BYTES_PER_SECOND TUnit = 4
	TUnit_TIME_NS          TUnit = 5
	TUnit_DOUBLE_VALUE     TUnit = 6
	TUnit_NONE             TUnit = 7
	TUnit_TIME_MS          TUnit = 8
	TUnit_TIME_S           TUnit = 9
	TUnit_TIME_US          TUnit = 10
	TUnit_BASIS_POINTS     TUnit = 11
)

func TUnitFromString

func TUnitFromString(s string) (TUnit, error)

func TUnitPtr

func TUnitPtr(v TUnit) *TUnit

func (TUnit) MarshalText

func (p TUnit) MarshalText() ([]byte, error)

func (*TUnit) Scan

func (p *TUnit) Scan(value interface{}) error

func (TUnit) String

func (p TUnit) String() string

func (*TUnit) UnmarshalText

func (p *TUnit) UnmarshalText(text []byte) error

func (*TUnit) Value

func (p *TUnit) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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