Rename fields

This commit is contained in:
Mubelotix 2025-06-26 12:30:08 +02:00
parent 4d26e9c6f2
commit 44d6430bae
No known key found for this signature in database
GPG key ID: 0406DF6C3A69B942
3 changed files with 11 additions and 11 deletions

View file

@ -2182,7 +2182,7 @@ async fn last_error_stats() {
let (response, _code) = index.filtered_batches(&[], &[], &[]).await;
snapshot!(json_string!(response["results"][0], {
".progress" => "[ignored]",
".stats.embedder.totalCount" => "[ignored]",
".stats.embedderRequests.total" => "[ignored]",
".startedAt" => "[ignored]"
}), @r#"
{
@ -2203,9 +2203,9 @@ async fn last_error_stats() {
"indexUids": {
"doggo": 1
},
"embedder": {
"totalCount": "[ignored]",
"errorCount": 5,
"embedderRequests": {
"total": "[ignored]",
"failed": 5,
"lastError": "runtime error: received internal error HTTP 500 from embedding server\n - server replied with `Service Unavailable`"
}
},