subbeat
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
393 B

use std::ptr::NonNull;
use async_trait::async_trait;
use crate::{
metric::{Metric, MetricResult},
types,
};
struct Prometheus {
}
impl Prometheus {
pub fn new() -> Prometheus {
Prometheus{}
}
}
#[async_trait]
impl Metric for Prometheus {
async fn query_chunk(&self, from: u64, to: u64, step: u64) -> types::Result<MetricResult> {
return None;
}
}