metrics

package
v0.0.0-...-1d97044 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	URL                  string        `mapstructure:"url"`
	Timeout              time.Duration `mapstructure:"timeout"`
	KeepAlive            time.Duration `mapstructure:"keepAlive"`
	TLSHandshakeTimeout  time.Duration `mapstructure:"tlsHandshakeTimeout"`
	CounterIsAvailable   bool          `mapstructure:"counterIsAvailable"`
	GaugeIsAvailable     bool          `mapstructure:"gaugeIsAvailable"`
	HistogramIsAvailable bool          `mapstructure:"histogramIsAvailable"`
	SummaryIsAvailable   bool          `mapstructure:"summaryIsAvailable"`
}

func (*Metrics) Parser

func (*Metrics) Serializer

func (b *Metrics) Serializer(t serializerAVA.SerializerType) ([]byte, *errorAVA.Error)

Jump to

Keyboard shortcuts

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