Explorar el Código

remove RpcLabel

0xfirefist hace 1 año
padre
commit
ce0ccfb403
Se han modificado 1 ficheros con 0 adiciones y 7 borrados
  1. 0 7
      apps/fortuna/src/metrics.rs

+ 0 - 7
apps/fortuna/src/metrics.rs

@@ -1,5 +1,4 @@
 use {
-    crate::api::ChainId,
     prometheus_client::{
         encoding::EncodeLabelSet,
         metrics::{
@@ -18,12 +17,6 @@ pub struct RequestLabel {
     pub value: String,
 }
 
-#[derive(Clone, Debug, Hash, PartialEq, Eq, EncodeLabelSet)]
-pub struct RpcLabel {
-    pub chain_id: ChainId,
-    pub uri:      String,
-}
-
 #[derive(Clone, Debug, Hash, PartialEq, Eq, EncodeLabelSet)]
 pub struct AccountLabel {
     pub chain_id: String,