mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +01:00
move the start_since_days to teh root of the identify
This commit is contained in:
parent
7c39fab453
commit
fc2f23d36c
@ -93,12 +93,12 @@ impl SegmentAnalytics {
|
|||||||
.collect::<Vec<u64>>();
|
.collect::<Vec<u64>>();
|
||||||
|
|
||||||
json!({
|
json!({
|
||||||
|
"start_since_days": FIRST_START_TIMESTAMP.elapsed().as_secs() / (60 * 60 * 24), // one day
|
||||||
"system": *SYSTEM,
|
"system": *SYSTEM,
|
||||||
"stats": {
|
"stats": {
|
||||||
"database_size": stats.database_size,
|
"database_size": stats.database_size,
|
||||||
"indexes_number": stats.indexes.len(),
|
"indexes_number": stats.indexes.len(),
|
||||||
"documents_number": number_of_documents,
|
"documents_number": number_of_documents,
|
||||||
"start_since_days": FIRST_START_TIMESTAMP.elapsed().as_secs() / (60 * 60 * 24), // one day
|
|
||||||
},
|
},
|
||||||
"infos": infos,
|
"infos": infos,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user