Enum ckb_metrics_config::Target [−][src]
pub enum Target {
Prometheus {
listen_address: String,
},
}
Expand description
The target to output the metrics data.
Variants
Outputs the metrics data through Prometheus.
Fields of Prometheus
listen_address: String
The HTTP listen address.
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 Target
impl UnwindSafe for Target
Blanket Implementations
Mutably borrows from an owned value. Read more