Struct prometheus_http_query::response::ActiveTarget [−][src]
pub struct ActiveTarget { /* fields omitted */ }
Expand description
A single active target.v
Implementations
Get a list of unmodified labels as before relabelling occurred.
Get the scrape pool of this target.
Get the scrape URL of this target.
Get the global URL of this target.
Get the last error reported for this target.
Get the timestamp of the last scrape in RFC3339 format.
Get the duration that the last scrape ran for in seconds.
Get the health status of this target.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ActiveTarget
impl Send for ActiveTarget
impl Sync for ActiveTarget
impl Unpin for ActiveTarget
impl UnwindSafe for ActiveTarget