metricsService

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: 4 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                  *url.URL
	Name                 string
	Timeout              time.Duration
	KeepAlive            time.Duration
	TLSHandshakeTimeout  time.Duration
	CounterIsAvailable   bool
	GaugeIsAvailable     bool
	HistogramIsAvailable bool
	SummaryIsAvailable   bool
}

func NewMetrics

func NewMetrics(URL *url.URL, name string, timeout time.Duration, keepAlive time.Duration, TLSHandshakeTimeout time.Duration, counterIsAvailable bool, gaugeIsAvailable bool, histogramIsAvailable bool, summaryIsAvailable bool) (*Metrics, *errorAVA.Error)

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