faucet.fctl module

Report state based on FAUCET/Gauge/Prometheus variables.

faucet.fctl.main()[source]
faucet.fctl.report_label_match_metrics(report_metrics, metrics, nonzero_only=False, delim='\t', label_matches=None)[source]

Text report on a list of Prometheus metrics.

faucet.fctl.scrape_prometheus(endpoints, retries=3)[source]

Scrape a list of Prometheus/FAUCET/Gauge endpoints and aggregate results.

faucet.fctl.usage()[source]