Closed cooperlees closed 2 years ago
Sweet - I can threads:
cooper@home1:~/repos/btrfs_exporter$ cargo run -- --port 9900 /cesspool,/data
Finished dev [unoptimized + debuginfo] target(s) in 0.05s
Running `target/debug/btrfs_exporter --port 9900 /cesspool,/data`
[2022-07-22T17:36:09Z INFO btrfs_exporter] Starting btrfs prometheus exporter on port 9900
[2022-07-22T17:36:09Z INFO prometheus_exporter] exporting metrics to http://[::]:9900/metrics
[2022-07-22T17:36:13Z INFO btrfs_exporter] 15 btrfs stats collected and served
Another console:
curl http://[::1]:9900/metrics
Need to workout how to get around this: