nomad

package
v0.0.1-techpreview1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

type Counter struct {
	Count  float64
	Labels map[string]string
	Max    float64
	Mean   float64
	Min    float64
	Name   string
	Rate   float64
	Stddev float64
	Sum    float64
}

type Gauge

type Gauge struct {
	Labels map[string]string
	Name   string
	Value  float64
}

type Metrics

type Metrics struct {
	Counters []Counter
	Gauges   []Gauge
	Samples  []Sample
}

type MetricsAPM

type MetricsAPM struct {
	// contains filtered or unexported fields
}

func (*MetricsAPM) Query

func (m *MetricsAPM) Query(q string) (float64, error)

func (*MetricsAPM) SetConfig

func (m *MetricsAPM) SetConfig(config map[string]string) error

type Sample

type Sample struct {
	Counter
}

Jump to

Keyboard shortcuts

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