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 (b *Metrics) Parser() (*metricsServiceModelConfigAVA.Metrics, *errorAVA.Error)
func (*Metrics) Serializer ¶
func (b *Metrics) Serializer(t serializerAVA.SerializerType) ([]byte, *errorAVA.Error)
Click to show internal directories.
Click to hide internal directories.