Documentation ¶
Overview ¶
Package prometheus provides suppoert for sending metrics to prometheus.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
Exporter implements the prometheus exporter support.
func New ¶
func New(log *logger.Logger, host string, route string, readTimeout, writeTimeout time.Duration, idleTimeout time.Duration) *Exporter
New constructs an Exporter for use.
Click to show internal directories.
Click to hide internal directories.