Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 NewQstatCollector ¶
type PBSCollector ¶
PBSCollector implements the prometheus.Collector interface.
func NewPBSCollector ¶
func NewPBSCollector(filters ...string) (*PBSCollector, error)
NewPBSCollector creates a new PBSCollector.
func (PBSCollector) Collect ¶
func (n PBSCollector) Collect(ch chan<- prometheus.Metric)
Collect implements the prometheus.Collector interface.
func (PBSCollector) Describe ¶
func (n PBSCollector) Describe(ch chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.