pg_exporter 0.11.0

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

use crate::collectors::config::CollectorConfig;
use secrecy::SecretString;

#[derive(Debug)]
pub enum Action {
    Run {
        port: u16,
        listen: Option<String>,
        dsn: SecretString,
        collector_config: CollectorConfig,
    },
}