pg_exporter 0.5.2

PostgreSQL metric exporter for Prometheus
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pub mod run;

use secrecy::SecretString;

#[derive(Debug)]
pub enum Action {
    Run {
        port: u16,
        dsn: SecretString,
        collectors: Vec<String>,
    },
}