pub trait PrometheusPayloadProvider: Send + Sync {
// Required method
fn render_payload(&self) -> String;
}Expand description
Provides a Prometheus scrape payload for an additional route.
Required Methods§
Sourcefn render_payload(&self) -> String
fn render_payload(&self) -> String
Renders the current Prometheus text payload.