mirror of
https://github.com/chylex/Apache-Prometheus-Exporter.git
synced 2025-05-04 00:34:04 +02:00
13 lines
269 B
Rust
13 lines
269 B
Rust
use prometheus_client::registry::Registry;
|
|
|
|
#[derive(Clone)]
|
|
pub struct ApacheMetrics {}
|
|
|
|
impl ApacheMetrics {
|
|
pub fn new() -> (Registry, ApacheMetrics) {
|
|
let mut registry = <Registry>::default();
|
|
let metrics = ApacheMetrics {};
|
|
return (registry, metrics);
|
|
}
|
|
}
|