Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamedGauge ¶
type NamedGauge interface {
Update(val int)
}
NamedGauge - Maps and updates a ProseGauge with a name
func NewNamedGauge ¶
func NewNamedGauge(c NamedGaugeConfig) (NamedGauge, error)
NewNamedGauge - constructor
type NamedGaugeConfig ¶
type NamedGaugeConfig struct { Gauge ProseGauge Name string }
NamedGaugeConfig - config
type ProseGauge ¶
ProseGauge - A domain model of a prometheus gauge
func NewProseGauge ¶
func NewProseGauge(c ProseGaugeConfig) (ProseGauge, error)
NewProseGauge - Create a new gauge
Click to show internal directories.
Click to hide internal directories.