mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
Add suffix describing the unit when needed; Replace MeiliSearch by Meilisearch; Precised some metrics name
This commit is contained in:
parent
40ae26478a
commit
b2577aac52
3 changed files with 13 additions and 13 deletions
|
@ -16,18 +16,18 @@ lazy_static! {
|
|||
&["method", "path"]
|
||||
)
|
||||
.expect("Can't create a metric");
|
||||
pub static ref MEILISEARCH_DB_SIZE: IntGauge = register_int_gauge!(opts!(
|
||||
"meilisearch_database_size",
|
||||
"MeiliSearch Stats DbSize"
|
||||
pub static ref MEILISEARCH_DB_SIZE_BYTES: IntGauge = register_int_gauge!(opts!(
|
||||
"meilisearch_db_size_bytes",
|
||||
"Meilisearch Db Size In Bytes"
|
||||
))
|
||||
.expect("Can't create a metric");
|
||||
pub static ref MEILISEARCH_INDEX_COUNT: IntGauge = register_int_gauge!(opts!(
|
||||
"meilisearch_total_index",
|
||||
"MeiliSearch Stats Index Count"
|
||||
"meilisearch_index_count",
|
||||
"Meilisearch Index Count"
|
||||
))
|
||||
.expect("Can't create a metric");
|
||||
pub static ref MEILISEARCH_DOCS_COUNT: IntGaugeVec = register_int_gauge_vec!(
|
||||
opts!("meilisearch_docs_count", "MeiliSearch Stats Docs Count"),
|
||||
pub static ref MEILISEARCH_INDEX_DOCS_COUNT: IntGaugeVec = register_int_gauge_vec!(
|
||||
opts!("meilisearch_index_docs_count", "Meilisearch Index Docs Count"),
|
||||
&["index"]
|
||||
)
|
||||
.expect("Can't create a metric");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue