Documentation ¶
Overview ¶
Package collector includes all individual collectors to gather and export rlmlm metrics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // LicenseConfig is going to be read once in main, and then used here. LicenseConfig config.Configuration )
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector interface { // Get new metrics and expose them via prometheus registry. Update(ch chan<- prometheus.Metric) error }
Collector is the interface a collector has to implement.
func NewLmstatCollector ¶
NewLmstatCollector returns a new Collector exposing lmstat license stats.
func NewLmstatFeatureExpCollector ¶
NewLmstatFeatureExpCollector returns a new Collector exposing lmstat license feature expiration date.
type FlexlmCollector ¶
FlexlmCollector implements the prometheus.Collector interface.
func NewFlexlmCollector ¶
func NewFlexlmCollector(filters ...string) (*FlexlmCollector, error)
NewFlexlmCollector creates a new FlexlmCollector
func (FlexlmCollector) Collect ¶
func (n FlexlmCollector) Collect(ch chan<- prometheus.Metric)
Collect implements the prometheus.Collector interface.
func (FlexlmCollector) Describe ¶
func (n FlexlmCollector) Describe(ch chan<- *prometheus.Desc)
Describe implements the prometheus.Collector interface.
Click to show internal directories.
Click to hide internal directories.