cargo fmt

This commit is contained in:
Guillaume Mourier 2022-08-23 17:17:02 +02:00
parent b2577aac52
commit ff59ae56f4

View File

@ -21,13 +21,14 @@ lazy_static! {
"Meilisearch Db Size In Bytes" "Meilisearch Db Size In Bytes"
)) ))
.expect("Can't create a metric"); .expect("Can't create a metric");
pub static ref MEILISEARCH_INDEX_COUNT: IntGauge = register_int_gauge!(opts!( pub static ref MEILISEARCH_INDEX_COUNT: IntGauge =
"meilisearch_index_count", register_int_gauge!(opts!("meilisearch_index_count", "Meilisearch Index Count"))
"Meilisearch Index Count"
))
.expect("Can't create a metric"); .expect("Can't create a metric");
pub static ref MEILISEARCH_INDEX_DOCS_COUNT: IntGaugeVec = register_int_gauge_vec!( pub static ref MEILISEARCH_INDEX_DOCS_COUNT: IntGaugeVec = register_int_gauge_vec!(
opts!("meilisearch_index_docs_count", "Meilisearch Index Docs Count"), opts!(
"meilisearch_index_docs_count",
"Meilisearch Index Docs Count"
),
&["index"] &["index"]
) )
.expect("Can't create a metric"); .expect("Can't create a metric");