faucet.gauge_prom module
Prometheus for Gauge.
- class faucet.gauge_prom.GaugeFlowTablePrometheusPoller(conf, logname, prom_client)[source]
Bases:
GaugeFlowTablePoller
Export flow table entries to Prometheus.
- class faucet.gauge_prom.GaugeMeterStatsPrometheusPoller(conf, logger, prom_client)[source]
Bases:
GaugePortStatsPoller
Exports meter stats to Prometheus.
- class faucet.gauge_prom.GaugePortStatePrometheusPoller(conf, logname, prom_client)[source]
Bases:
GaugePortStatePoller
Export port state changes to Prometheus.
- class faucet.gauge_prom.GaugePortStatsPrometheusPoller(conf, logger, prom_client)[source]
Bases:
GaugePortStatsPoller
Exports port stats to Prometheus.
- class faucet.gauge_prom.GaugePrometheusClient(reg=None)[source]
Bases:
PromClient
Wrapper for Prometheus client that is shared between all pollers.