Enum ckb_metrics_config::Target
source · [−]pub enum Target {
Prometheus {
listen_address: String,
},
}
Expand description
The target to output the metrics data.
Variants
Prometheus
Fields
listen_address: String
The HTTP listen address.
Outputs the metrics data through Prometheus.
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