Skip to content

7.4 billion tokens per month. 34 free LLM providers. 635 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.

TypeScript

feat(analytics): cache hit-rate & savings metrics in the dashboard (#1114) (#1117)

suantea (asuan_suan)6c10a3e118e1
diff --git a/client/src/i18n/locales/am.json b/client/src/i18n/locales/am.json
index d2389b7b..f00b19b9 100644
--- a/client/src/i18n/locales/am.json
+++ b/client/src/i18n/locales/am.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "ጥያቄዎች በወኪል",
"sortBy": "በ{column} ደርድር",
- "sortHint": "መደርደሩ የሚሠራው በተጫኑት {count} ረድፎች ላይ ብቻ ነው"
+ "sortHint": "መደርደሩ የሚሠራው በተጫኑት {count} ረድፎች ላይ ብቻ ነው",
+ "cacheHitRate": "የመሸጎጫ ግኝት መጠን",
+ "cacheSavedTokens": "{tokens} ቶከን ተቆጥቧል",
+ "cacheHitRateHint": "አገልጋዩ ከተጀመረ ወዲህ {hits} ግኝት እና {misses} ስህተት · {requests} የአቅራቢ ጥሪዎች ተስወግደዋል"
},
"logs": {
"title": "መዝገቦች",
diff --git a/client/src/i18n/locales/ar.json b/client/src/i18n/locales/ar.json
index 79c8a28c..aaea9d68 100644
--- a/client/src/i18n/locales/ar.json
+++ b/client/src/i18n/locales/ar.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "الطلبات حسب الوكيل",
"sortBy": "ترتيب حسب {column}",
- "sortHint": "يُطبَّق الترتيب على الصفوف المحمَّلة البالغ عددها {count}"
+ "sortHint": "يُطبَّق الترتيب على الصفوف المحمَّلة البالغ عددها {count}",
+ "cacheHitRate": "معدل إصابات التخزين المؤقت",
+ "cacheSavedTokens": "تم توفير {tokens} رمز",
+ "cacheHitRateHint": "{hits} إصابة مقابل {misses} إخفاق منذ تشغيل الخادم · تم تفادي {requests} طلب للمزوّد"
},
"logs": {
"title": "السجلات",
diff --git a/client/src/i18n/locales/az.json b/client/src/i18n/locales/az.json
index 4ecf3bb9..79ce3211 100644
--- a/client/src/i18n/locales/az.json
+++ b/client/src/i18n/locales/az.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Agent üzrə sorğular",
"sortBy": "{column} üzrə sırala",
- "sortHint": "Sıralama yalnız yüklənmiş {count} sətrə tətbiq olunur"
+ "sortHint": "Sıralama yalnız yüklənmiş {count} sətrə tətbiq olunur",
+ "cacheHitRate": "Keş uğur nisbəti",
+ "cacheSavedTokens": "{tokens} token qənaət edildi",
+ "cacheHitRateHint": "Server başladığından bəri {hits} uğur, {misses} uğursuzluq · {requests} provayder sorğusundan qaçınıldı"
},
"logs": {
"title": "Loglar",
diff --git a/client/src/i18n/locales/bg.json b/client/src/i18n/locales/bg.json
index 1b98e125..e8cf7435 100644
--- a/client/src/i18n/locales/bg.json
+++ b/client/src/i18n/locales/bg.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Заявки по агент",
"sortBy": "Сортиране по {column}",
- "sortHint": "Сортирането се прилага за {count} заредени реда"
+ "sortHint": "Сортирането се прилага за {count} заредени реда",
+ "cacheHitRate": "Процент попадения в кеша",
+ "cacheSavedTokens": "Спестени {tokens} токена",
+ "cacheHitRateHint": "{hits} попадения срещу {misses} пропуска от старта на сървъра · спестени {requests} заявки към доставчик"
},
"logs": {
"title": "Логове",
diff --git a/client/src/i18n/locales/bn.json b/client/src/i18n/locales/bn.json
index 37bb17c8..4cb0ca26 100644
--- a/client/src/i18n/locales/bn.json
+++ b/client/src/i18n/locales/bn.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "এজেন্ট অনুযায়ী অনুরোধ",
"sortBy": "{column} অনুযায়ী সাজান",
- "sortHint": "সাজানো শুধুমাত্র লোড হওয়া {count}টি সারিতে প্রযোজ্য"
+ "sortHint": "সাজানো শুধুমাত্র লোড হওয়া {count}টি সারিতে প্রযোজ্য",
+ "cacheHitRate": "ক্যাশ হিট রেট",
+ "cacheSavedTokens": "{tokens} টোকেন সাশ্রয়",
+ "cacheHitRateHint": "সার্ভার চালুর পর থেকে {hits} হিট বনাম {misses} মিস · {requests} প্রোভাইডার কল এড়ানো হয়েছে"
},
"logs": {
"title": "লগ",
diff --git a/client/src/i18n/locales/cs.json b/client/src/i18n/locales/cs.json
index b74521b4..4859ba01 100644
--- a/client/src/i18n/locales/cs.json
+++ b/client/src/i18n/locales/cs.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Požadavky podle agenta",
"sortBy": "Seřadit podle: {column}",
- "sortHint": "Řazení se vztahuje na {count} načtených řádků"
+ "sortHint": "Řazení se vztahuje na {count} načtených řádků",
+ "cacheHitRate": "Úspěšnost cache",
+ "cacheSavedTokens": "Ušetřeno {tokens} tokenů",
+ "cacheHitRateHint": "{hits} zásahů proti {misses} minutím od spuštění serveru · ušetřeno {requests} volání poskytovatele"
},
"logs": {
"title": "Logy",
diff --git a/client/src/i18n/locales/da.json b/client/src/i18n/locales/da.json
index 55498479..ac3f6a18 100644
--- a/client/src/i18n/locales/da.json
+++ b/client/src/i18n/locales/da.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Anmodninger pr. agent",
"sortBy": "Sortér efter {column}",
- "sortHint": "Sorteringen gælder de {count} indlæste rækker"
+ "sortHint": "Sorteringen gælder de {count} indlæste rækker",
+ "cacheHitRate": "Cache-hitrate",
+ "cacheSavedTokens": "{tokens} tokens sparet",
+ "cacheHitRateHint": "{hits} hits mod {misses} misses siden serveren startede · {requests} udbyderkald undgået"
},
"logs": {
"title": "Log",
diff --git a/client/src/i18n/locales/de.json b/client/src/i18n/locales/de.json
index 04f05074..8475b80a 100644
--- a/client/src/i18n/locales/de.json
+++ b/client/src/i18n/locales/de.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Anfragen nach Agent",
"sortBy": "Nach {column} sortieren",
- "sortHint": "Die Sortierung gilt für die {count} geladenen Zeilen"
+ "sortHint": "Die Sortierung gilt für die {count} geladenen Zeilen",
+ "cacheHitRate": "Cache-Trefferquote",
+ "cacheSavedTokens": "{tokens} Tokens gespart",
+ "cacheHitRateHint": "{hits} Treffer gegenüber {misses} Fehlschlägen seit dem Serverstart · {requests} Anbieteraufrufe vermieden"
},
"logs": {
"title": "Protokoll",
diff --git a/client/src/i18n/locales/el.json b/client/src/i18n/locales/el.json
index 68b3ca47..37f0f5e8 100644
--- a/client/src/i18n/locales/el.json
+++ b/client/src/i18n/locales/el.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Αιτήματα ανά πράκτορα",
"sortBy": "Ταξινόμηση κατά {column}",
- "sortHint": "Η ταξινόμηση ισχύει για τις {count} φορτωμένες γραμμές"
+ "sortHint": "Η ταξινόμηση ισχύει για τις {count} φορτωμένες γραμμές",
+ "cacheHitRate": "Ποσοστό ευστοχίας cache",
+ "cacheSavedTokens": "Εξοικονομήθηκαν {tokens} tokens",
+ "cacheHitRateHint": "{hits} ευστοχίες έναντι {misses} αστοχιών από την εκκίνηση του διακομιστή · αποφεύχθηκαν {requests} κλήσεις παρόχου"
},
"logs": {
"title": "Καταγραφές",
diff --git a/client/src/i18n/locales/en.json b/client/src/i18n/locales/en.json
index 15843f3d..d5ad29cb 100644
--- a/client/src/i18n/locales/en.json
+++ b/client/src/i18n/locales/en.json
@@ -750,7 +750,10 @@
"requestedModel": "Requested model",
"ttft": "TTFT",
"sortBy": "Sort by {column}",
- "sortHint": "Sorting applies to the {count} loaded rows"
+ "sortHint": "Sorting applies to the {count} loaded rows",
+ "cacheHitRate": "Cache hit rate",
+ "cacheSavedTokens": "{tokens} tokens saved",
+ "cacheHitRateHint": "{hits} hits vs {misses} misses since the server started · {requests} provider calls avoided"
},
"logs": {
"title": "Logs",
diff --git a/client/src/i18n/locales/es.json b/client/src/i18n/locales/es.json
index 64b76691..bb2a2a1c 100644
--- a/client/src/i18n/locales/es.json
+++ b/client/src/i18n/locales/es.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Solicitudes por agente",
"sortBy": "Ordenar por {column}",
- "sortHint": "La ordenación se aplica a las {count} filas cargadas"
+ "sortHint": "La ordenación se aplica a las {count} filas cargadas",
+ "cacheHitRate": "Tasa de aciertos de caché",
+ "cacheSavedTokens": "{tokens} tokens ahorrados",
+ "cacheHitRateHint": "{hits} aciertos frente a {misses} fallos desde el arranque del servidor · {requests} llamadas al proveedor evitadas"
},
"logs": {
"title": "Registros",
diff --git a/client/src/i18n/locales/fa.json b/client/src/i18n/locales/fa.json
index 81c7a697..c269f18c 100644
--- a/client/src/i18n/locales/fa.json
+++ b/client/src/i18n/locales/fa.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "درخواستها بر اساس عامل",
"sortBy": "مرتب‌سازی بر اساس {column}",
- "sortHint": "مرتب‌سازی فقط روی {count} ردیف بارگذاری‌شده اعمال می‌شود"
+ "sortHint": "مرتب‌سازی فقط روی {count} ردیف بارگذاری‌شده اعمال می‌شود",
+ "cacheHitRate": "نرخ اصابت حافظه نهان",
+ "cacheSavedTokens": "{tokens} توکن صرفه‌جویی شد",
+ "cacheHitRateHint": "{hits} اصابت در برابر {misses} خطا از زمان راه‌اندازی سرور · {requests} فراخوانی ارائه‌دهنده صرفه‌جویی شد"
},
"logs": {
"title": "لاگ‌ها",
diff --git a/client/src/i18n/locales/fi.json b/client/src/i18n/locales/fi.json
index 45afc51f..33f14dba 100644
--- a/client/src/i18n/locales/fi.json
+++ b/client/src/i18n/locales/fi.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Pyynnöt agenteittain",
"sortBy": "Lajittele: {column}",
- "sortHint": "Lajittelu koskee vain ladattuja {count} riviä"
+ "sortHint": "Lajittelu koskee vain ladattuja {count} riviä",
+ "cacheHitRate": "Välimuistin osumaprosentti",
+ "cacheSavedTokens": "{tokens} tokenia säästetty",
+ "cacheHitRateHint": "{hits} osumaa vs. {misses} ohitusta palvelimen käynnistyksestä · {requests} palveluntarjoajan kutsua vältetty"
},
"logs": {
"title": "Lokit",
diff --git a/client/src/i18n/locales/fr.json b/client/src/i18n/locales/fr.json
index b5a78111..6f4bc9e9 100644
--- a/client/src/i18n/locales/fr.json
+++ b/client/src/i18n/locales/fr.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Requêtes par agent",
"sortBy": "Trier par {column}",
- "sortHint": "Le tri s'applique aux {count} lignes chargées"
+ "sortHint": "Le tri s'applique aux {count} lignes chargées",
+ "cacheHitRate": "Taux de succès du cache",
+ "cacheSavedTokens": "{tokens} jetons économisés",
+ "cacheHitRateHint": "{hits} succès contre {misses} échecs depuis le démarrage du serveur · {requests} appels au fournisseur évités"
},
"logs": {
"title": "Journaux",
diff --git a/client/src/i18n/locales/gu.json b/client/src/i18n/locales/gu.json
index dae428fa..4b9cae47 100644
--- a/client/src/i18n/locales/gu.json
+++ b/client/src/i18n/locales/gu.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "એજન્ટ પ્રમાણે વિનંતીઓ",
"sortBy": "{column} પ્રમાણે ગોઠવો",
- "sortHint": "ગોઠવણી ફક્ત લોડ થયેલી {count} પંક્તિઓ પર લાગુ થાય છે"
+ "sortHint": "ગોઠવણી ફક્ત લોડ થયેલી {count} પંક્તિઓ પર લાગુ થાય છે",
+ "cacheHitRate": "કૅશ હિટ રેટ",
+ "cacheSavedTokens": "{tokens} ટોકન બચ્યા",
+ "cacheHitRateHint": "સર્વર શરૂ થયા પછી {hits} હિટ સામે {misses} મિસ · {requests} પ્રોવાઇડર કૉલ ટાળ્યા"
},
"logs": {
"title": "લોગ",
diff --git a/client/src/i18n/locales/ha.json b/client/src/i18n/locales/ha.json
index da67dab5..f9a42728 100644
--- a/client/src/i18n/locales/ha.json
+++ b/client/src/i18n/locales/ha.json
@@ -716,7 +716,10 @@
"ttft": "Saukewa: TTFT",
"requestsByAgent": "Bukatu ta kowane wakili",
"sortBy": "Tsara bisa {column}",
- "sortHint": "Tsarawar ta shafi layuka {count} da aka ɗora kawai"
+ "sortHint": "Tsarawar ta shafi layuka {count} da aka ɗora kawai",
+ "cacheHitRate": "Yawan nasarar cache",
+ "cacheSavedTokens": "An adana tokens {tokens}",
+ "cacheHitRateHint": "Nasara {hits} kan rashi {misses} tun farawar sabar · an guji kiran mai bayarwa {requests}"
},
"logs": {
"title": "Logs",
diff --git a/client/src/i18n/locales/he.json b/client/src/i18n/locales/he.json
index 50cbb637..19f20caf 100644
--- a/client/src/i18n/locales/he.json
+++ b/client/src/i18n/locales/he.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "בקשות לפי סוכן",
"sortBy": "מיון לפי {column}",
- "sortHint": "המיון חל על {count} השורות שנטענו בלבד"
+ "sortHint": "המיון חל על {count} השורות שנטענו בלבד",
+ "cacheHitRate": "שיעור פגיעות במטמון",
+ "cacheSavedTokens": "נחסכו {tokens} טוקנים",
+ "cacheHitRateHint": "{hits} פגיעות מול {misses} החטאות מאז הפעלת השרת · נחסכו {requests} קריאות לספק"
},
"logs": {
"title": "יומן",
diff --git a/client/src/i18n/locales/hi.json b/client/src/i18n/locales/hi.json
index badb52d2..e63cf4f7 100644
--- a/client/src/i18n/locales/hi.json
+++ b/client/src/i18n/locales/hi.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "एजेंट के अनुसार अनुरोध",
"sortBy": "{column} के अनुसार क्रमबद्ध करें",
- "sortHint": "क्रमबद्धता केवल लोड की गई {count} पंक्तियों पर लागू होती है"
+ "sortHint": "क्रमबद्धता केवल लोड की गई {count} पंक्तियों पर लागू होती है",
+ "cacheHitRate": "कैश हिट दर",
+ "cacheSavedTokens": "{tokens} टोकन बचे",
+ "cacheHitRateHint": "सर्वर शुरू होने के बाद से {hits} हिट बनाम {misses} मिस · {requests} प्रदाता कॉल बचाए गए"
},
"logs": {
"title": "लॉग",
diff --git a/client/src/i18n/locales/hr.json b/client/src/i18n/locales/hr.json
index c78f7755..2a37a5ba 100644
--- a/client/src/i18n/locales/hr.json
+++ b/client/src/i18n/locales/hr.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Zahtjevi po agentu",
"sortBy": "Sortiraj po: {column}",
- "sortHint": "Sortiranje vrijedi za {count} učitanih redaka"
+ "sortHint": "Sortiranje vrijedi za {count} učitanih redaka",
+ "cacheHitRate": "Stopa pogodaka predmemorije",
+ "cacheSavedTokens": "Ušteđeno {tokens} tokena",
+ "cacheHitRateHint": "{hits} pogodaka naspram {misses} promašaja od pokretanja poslužitelja · izbjegnuto {requests} poziva pružatelju"
},
"logs": {
"title": "Logovi",
diff --git a/client/src/i18n/locales/hu.json b/client/src/i18n/locales/hu.json
index 32e793fc..8cdc0b59 100644
--- a/client/src/i18n/locales/hu.json
+++ b/client/src/i18n/locales/hu.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Kérések ügynökönként",
"sortBy": "Rendezés: {column}",
- "sortHint": "A rendezés a betöltött {count} sorra vonatkozik"
+ "sortHint": "A rendezés a betöltött {count} sorra vonatkozik",
+ "cacheHitRate": "Gyorsítótár-találati arány",
+ "cacheSavedTokens": "{tokens} token megtakarítva",
+ "cacheHitRateHint": "{hits} találat és {misses} tévesztés a szerver indítása óta · {requests} szolgáltatóhívás megspórolva"
},
"logs": {
"title": "Napló",
diff --git a/client/src/i18n/locales/id.json b/client/src/i18n/locales/id.json
index 9075548f..39f6c5df 100644
--- a/client/src/i18n/locales/id.json
+++ b/client/src/i18n/locales/id.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Permintaan per agen",
"sortBy": "Urutkan berdasarkan {column}",
- "sortHint": "Pengurutan berlaku untuk {count} baris yang dimuat"
+ "sortHint": "Pengurutan berlaku untuk {count} baris yang dimuat",
+ "cacheHitRate": "Rasio hit cache",
+ "cacheSavedTokens": "{tokens} token dihemat",
+ "cacheHitRateHint": "{hits} hit vs {misses} miss sejak server dijalankan · {requests} panggilan penyedia dihindari"
},
"logs": {
"title": "Log",
diff --git a/client/src/i18n/locales/ig.json b/client/src/i18n/locales/ig.json
index f2ae323a..428c0b36 100644
--- a/client/src/i18n/locales/ig.json
+++ b/client/src/i18n/locales/ig.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Arịrịọ site na ejenti",
"sortBy": "Hazie site na {column}",
- "sortHint": "Nhazi ahụ metụtara naanị ahịrị {count} ebugoro"
+ "sortHint": "Nhazi ahụ metụtara naanị ahịrị {count} ebugoro",
+ "cacheHitRate": "Ọnụọgụ hit nke cache",
+ "cacheSavedTokens": "Echekwara token {tokens}",
+ "cacheHitRateHint": "{hits} hit megide {misses} miss kemgbe sava malitere · ezere oku onye na-enye ozi {requests}"
},
"logs": {
"title": "Ndekọ",
diff --git a/client/src/i18n/locales/it.json b/client/src/i18n/locales/it.json
index 50224e34..204dec89 100644
--- a/client/src/i18n/locales/it.json
+++ b/client/src/i18n/locales/it.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Richieste per agente",
"sortBy": "Ordina per {column}",
- "sortHint": "L'ordinamento si applica alle {count} righe caricate"
+ "sortHint": "L'ordinamento si applica alle {count} righe caricate",
+ "cacheHitRate": "Tasso di hit della cache",
+ "cacheSavedTokens": "{tokens} token risparmiati",
+ "cacheHitRateHint": "{hits} hit contro {misses} miss dall'avvio del server · {requests} chiamate al provider evitate"
},
"logs": {
"title": "Log",
diff --git a/client/src/i18n/locales/ja.json b/client/src/i18n/locales/ja.json
index 680da14b..aa6c50a9 100644
--- a/client/src/i18n/locales/ja.json
+++ b/client/src/i18n/locales/ja.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "エージェント別リクエスト",
"sortBy": "{column}で並べ替え",
- "sortHint": "並べ替えは読み込み済みの {count} 行にのみ適用されます"
+ "sortHint": "並べ替えは読み込み済みの {count} 行にのみ適用されます",
+ "cacheHitRate": "キャッシュヒット率",
+ "cacheSavedTokens": "{tokens} トークンを節約",
+ "cacheHitRateHint": "サーバー起動以降 {hits} ヒット / {misses} ミス · プロバイダー呼び出し {requests} 回を回避"
},
"logs": {
"title": "ログ",
diff --git a/client/src/i18n/locales/ka.json b/client/src/i18n/locales/ka.json
index 144d38c8..908dba8b 100644
--- a/client/src/i18n/locales/ka.json
+++ b/client/src/i18n/locales/ka.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "მოთხოვნები აგენტების მიხედვით",
"sortBy": "დალაგება: {column}",
- "sortHint": "დალაგება ვრცელდება მხოლოდ ჩატვირთულ {count} სტრიქონზე"
+ "sortHint": "დალაგება ვრცელდება მხოლოდ ჩატვირთულ {count} სტრიქონზე",
+ "cacheHitRate": "ქეშის მოხვედრის მაჩვენებელი",
+ "cacheSavedTokens": "დაზოგილია {tokens} ტოკენი",
+ "cacheHitRateHint": "{hits} მოხვედრა {misses} აცდენის წინააღმდეგ სერვერის გაშვებიდან · თავიდან აცილებულია {requests} მოთხოვნა პროვაიდერთან"
},
"logs": {
"title": "ჟურნალი",
diff --git a/client/src/i18n/locales/km.json b/client/src/i18n/locales/km.json
index 15ee6858..02b74c88 100644
--- a/client/src/i18n/locales/km.json
+++ b/client/src/i18n/locales/km.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "សំណើតាមភ្នាក់ងារ",
"sortBy": "តម្រៀបតាម {column}",
- "sortHint": "ការតម្រៀបអនុវត្តតែលើជួរ {count} ដែលបានផ្ទុកប៉ុណ្ណោះ"
+ "sortHint": "ការតម្រៀបអនុវត្តតែលើជួរ {count} ដែលបានផ្ទុកប៉ុណ្ណោះ",
+ "cacheHitRate": "អត្រាជោគជ័យនៃឃ្លាំងសម្ងាត់",
+ "cacheSavedTokens": "សន្សំបាន {tokens} តូខឹន",
+ "cacheHitRateHint": "{hits} ជោគជ័យ ធៀបនឹង {misses} បរាជ័យ តាំងពីម៉ាស៊ីនមេចាប់ផ្ដើម · ជៀសវាងការហៅអ្នកផ្ដល់សេវា {requests}"
},
"logs": {
"title": "កំណត់ហេតុ",
diff --git a/client/src/i18n/locales/kn.json b/client/src/i18n/locales/kn.json
index a5acd3ac..7d8c2e3c 100644
--- a/client/src/i18n/locales/kn.json
+++ b/client/src/i18n/locales/kn.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "ಏಜೆಂಟ್ ಪ್ರಕಾರ ವಿನಂತಿಗಳು",
"sortBy": "{column} ಪ್ರಕಾರ ವಿಂಗಡಿಸಿ",
- "sortHint": "ವಿಂಗಡಣೆ ಲೋಡ್ ಆದ {count} ಸಾಲುಗಳಿಗೆ ಮಾತ್ರ ಅನ್ವಯಿಸುತ್ತದೆ"
+ "sortHint": "ವಿಂಗಡಣೆ ಲೋಡ್ ಆದ {count} ಸಾಲುಗಳಿಗೆ ಮಾತ್ರ ಅನ್ವಯಿಸುತ್ತದೆ",
+ "cacheHitRate": "ಕ್ಯಾಶ್ ಹಿಟ್ ದರ",
+ "cacheSavedTokens": "{tokens} ಟೋಕನ್‌ಗಳ ಉಳಿತಾಯ",
+ "cacheHitRateHint": "ಸರ್ವರ್ ಪ್ರಾರಂಭವಾದಾಗಿನಿಂದ {hits} ಹಿಟ್‌ಗಳು ಮತ್ತು {misses} ಮಿಸ್‌ಗಳು · {requests} ಪೂರೈಕೆದಾರ ಕರೆಗಳನ್ನು ತಪ್ಪಿಸಲಾಗಿದೆ"
},
"logs": {
"title": "ಲಾಗ್‌ಗಳು",
diff --git a/client/src/i18n/locales/ko.json b/client/src/i18n/locales/ko.json
index 8874c091..904cd286 100644
--- a/client/src/i18n/locales/ko.json
+++ b/client/src/i18n/locales/ko.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "에이전트별 요청",
"sortBy": "{column} 기준 정렬",
- "sortHint": "정렬은 불러온 {count}개 행에만 적용됩니다"
+ "sortHint": "정렬은 불러온 {count}개 행에만 적용됩니다",
+ "cacheHitRate": "캐시 적중률",
+ "cacheSavedTokens": "{tokens} 토큰 절약",
+ "cacheHitRateHint": "서버 시작 이후 적중 {hits}회, 실패 {misses}회 · 제공자 호출 {requests}회 절약"
},
"logs": {
"title": "로그",
diff --git a/client/src/i18n/locales/lt.json b/client/src/i18n/locales/lt.json
index 7d237bae..4a07714b 100644
--- a/client/src/i18n/locales/lt.json
+++ b/client/src/i18n/locales/lt.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Užklausos pagal agentą",
"sortBy": "Rikiuoti pagal {column}",
- "sortHint": "Rikiavimas taikomas {count} įkeltoms eilutėms"
+ "sortHint": "Rikiavimas taikomas {count} įkeltoms eilutėms",
+ "cacheHitRate": "Podėlio pataikymų dalis",
+ "cacheSavedTokens": "Sutaupyta {tokens} žetonų",
+ "cacheHitRateHint": "{hits} pataikymai prieš {misses} praleidimus nuo serverio paleidimo · išvengta {requests} tiekėjo užklausų"
},
"logs": {
"title": "Žurnalas",
diff --git a/client/src/i18n/locales/ml.json b/client/src/i18n/locales/ml.json
index a833d5b8..d60dc356 100644
--- a/client/src/i18n/locales/ml.json
+++ b/client/src/i18n/locales/ml.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "ഏജൻ്റ് അനുസരിച്ചുള്ള അഭ്യർത്ഥനകൾ",
"sortBy": "{column} അനുസരിച്ച് ക്രമീകരിക്കുക",
- "sortHint": "ക്രമീകരണം ലോഡ് ചെയ്ത {count} വരികൾക്ക് മാത്രമേ ബാധകമാകൂ"
+ "sortHint": "ക്രമീകരണം ലോഡ് ചെയ്ത {count} വരികൾക്ക് മാത്രമേ ബാധകമാകൂ",
+ "cacheHitRate": "കാഷ് ഹിറ്റ് നിരക്ക്",
+ "cacheSavedTokens": "{tokens} ടോക്കണുകൾ ലാഭിച്ചു",
+ "cacheHitRateHint": "സെർവർ ആരംഭിച്ചതിനുശേഷം {hits} ഹിറ്റുകൾ, {misses} മിസ്സുകൾ · {requests} ദാതാവ് കോളുകൾ ഒഴിവാക്കി"
},
"logs": {
"title": "ലോഗുകൾ",
diff --git a/client/src/i18n/locales/mr.json b/client/src/i18n/locales/mr.json
index 8fe90ead..41468cfa 100644
--- a/client/src/i18n/locales/mr.json
+++ b/client/src/i18n/locales/mr.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "एजंटनुसार विनंत्या",
"sortBy": "{column} नुसार क्रमवारी लावा",
- "sortHint": "क्रमवारी फक्त लोड केलेल्या {count} ओळींना लागू होते"
+ "sortHint": "क्रमवारी फक्त लोड केलेल्या {count} ओळींना लागू होते",
+ "cacheHitRate": "कॅशे हिट दर",
+ "cacheSavedTokens": "{tokens} टोकन वाचले",
+ "cacheHitRateHint": "सर्व्हर सुरू झाल्यापासून {hits} हिट विरुद्ध {misses} मिस · {requests} पुरवठादार कॉल टाळले"
},
"logs": {
"title": "लॉग",
diff --git a/client/src/i18n/locales/ms.json b/client/src/i18n/locales/ms.json
index 1c6afb79..04dd3238 100644
--- a/client/src/i18n/locales/ms.json
+++ b/client/src/i18n/locales/ms.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Permintaan mengikut ejen",
"sortBy": "Isih mengikut {column}",
- "sortHint": "Pengisihan hanya digunakan pada {count} baris yang dimuatkan"
+ "sortHint": "Pengisihan hanya digunakan pada {count} baris yang dimuatkan",
+ "cacheHitRate": "Kadar hit cache",
+ "cacheSavedTokens": "{tokens} token dijimatkan",
+ "cacheHitRateHint": "{hits} hit berbanding {misses} miss sejak pelayan dimulakan · {requests} panggilan pembekal dielakkan"
},
"logs": {
"title": "Log",
diff --git a/client/src/i18n/locales/my.json b/client/src/i18n/locales/my.json
index 6337222c..ce2aa384 100644
--- a/client/src/i18n/locales/my.json
+++ b/client/src/i18n/locales/my.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "အေးဂျင့်အလိုက် တောင်းဆိုမှုများ",
"sortBy": "{column} အလိုက် စီရန်",
- "sortHint": "စီစဉ်ခြင်းသည် ဖွင့်ပြီးသော အတန်း {count} ခုအတွက်သာ သက်ရောက်သည်"
+ "sortHint": "စီစဉ်ခြင်းသည် ဖွင့်ပြီးသော အတန်း {count} ခုအတွက်သာ သက်ရောက်သည်",
+ "cacheHitRate": "ကက်ရှ် ထိမှန်နှုန်း",
+ "cacheSavedTokens": "တိုကင် {tokens} ချွေတာခဲ့သည်",
+ "cacheHitRateHint": "ဆာဗာစတင်ချိန်မှစ၍ ထိမှန် {hits} ကြိမ်၊ လွဲ {misses} ကြိမ် · ဝန်ဆောင်မှုပေးသူ ခေါ်ဆိုမှု {requests} ကြိမ် ရှောင်ရှားခဲ့သည်"
},
"logs": {
"title": "မှတ်တမ်းများ",
diff --git a/client/src/i18n/locales/ne.json b/client/src/i18n/locales/ne.json
index 4fedbb02..5a22f601 100644
--- a/client/src/i18n/locales/ne.json
+++ b/client/src/i18n/locales/ne.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "एजेन्टद्वारा अनुरोधहरू",
"sortBy": "{column} अनुसार क्रमबद्ध गर्नुहोस्",
- "sortHint": "क्रमबद्धता लोड गरिएका {count} पङ्क्तिहरूमा मात्र लागू हुन्छ"
+ "sortHint": "क्रमबद्धता लोड गरिएका {count} पङ्क्तिहरूमा मात्र लागू हुन्छ",
+ "cacheHitRate": "क्यास हिट दर",
+ "cacheSavedTokens": "{tokens} टोकन बचत",
+ "cacheHitRateHint": "सर्भर सुरु भएदेखि {hits} हिट बनाम {misses} मिस · {requests} प्रदायक कल बचाइयो"
},
"logs": {
"title": "लग",
diff --git a/client/src/i18n/locales/nl.json b/client/src/i18n/locales/nl.json
index 11c32f84..ae27a888 100644
--- a/client/src/i18n/locales/nl.json
+++ b/client/src/i18n/locales/nl.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Verzoeken per agent",
"sortBy": "Sorteren op {column}",
- "sortHint": "De sortering geldt voor de {count} geladen rijen"
+ "sortHint": "De sortering geldt voor de {count} geladen rijen",
+ "cacheHitRate": "Cache-hitratio",
+ "cacheSavedTokens": "{tokens} tokens bespaard",
+ "cacheHitRateHint": "{hits} hits tegenover {misses} missers sinds de serverstart · {requests} provideraanroepen vermeden"
},
"logs": {
"title": "Logs",
diff --git a/client/src/i18n/locales/no.json b/client/src/i18n/locales/no.json
index c85fe4e6..24a0d64b 100644
--- a/client/src/i18n/locales/no.json
+++ b/client/src/i18n/locales/no.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Forespørsler per agent",
"sortBy": "Sorter etter {column}",
- "sortHint": "Sorteringen gjelder de {count} innlastede radene"
+ "sortHint": "Sorteringen gjelder de {count} innlastede radene",
+ "cacheHitRate": "Cache-treffrate",
+ "cacheSavedTokens": "{tokens} tokens spart",
+ "cacheHitRateHint": "{hits} treff mot {misses} bom siden serveren startet · {requests} leverandørkall unngått"
},
"logs": {
"title": "Logg",
diff --git a/client/src/i18n/locales/or.json b/client/src/i18n/locales/or.json
index f971a0ca..41ad55df 100644
--- a/client/src/i18n/locales/or.json
+++ b/client/src/i18n/locales/or.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "ଏଜେଣ୍ଟ ଦ୍ୱାରା ଅନୁରୋଧଗୁଡିକ",
"sortBy": "{column} ଅନୁସାରେ ସଜାନ୍ତୁ",
- "sortHint": "ସଜାଣି କେବଳ ଲୋଡ୍ ହୋଇଥିବା {count} ଧାଡ଼ି ପାଇଁ ପ୍ରଯୁଜ୍ୟ"
+ "sortHint": "ସଜାଣି କେବଳ ଲୋଡ୍ ହୋଇଥିବା {count} ଧାଡ଼ି ପାଇଁ ପ୍ରଯୁଜ୍ୟ",
+ "cacheHitRate": "କ୍ୟାଶ୍ ହିଟ୍ ହାର",
+ "cacheSavedTokens": "{tokens} ଟୋକେନ୍ ସଞ୍ଚୟ",
+ "cacheHitRateHint": "ସର୍ଭର ଆରମ୍ଭ ହେବା ପରଠାରୁ {hits} ହିଟ୍ ବନାମ {misses} ମିସ୍ · {requests} ପ୍ରଦାତା କଲ୍ ଏଡ଼ାଯାଇଛି"
},
"logs": {
"title": "ଲଗ",
diff --git a/client/src/i18n/locales/pa.json b/client/src/i18n/locales/pa.json
index 2072afd6..4df0e26a 100644
--- a/client/src/i18n/locales/pa.json
+++ b/client/src/i18n/locales/pa.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "ਏਜੰਟ ਦੁਆਰਾ ਬੇਨਤੀਆਂ",
"sortBy": "{column} ਅਨੁਸਾਰ ਕ੍ਰਮਬੱਧ ਕਰੋ",
- "sortHint": "ਕ੍ਰਮਬੱਧਤਾ ਸਿਰਫ਼ ਲੋਡ ਕੀਤੀਆਂ {count} ਕਤਾਰਾਂ 'ਤੇ ਲਾਗੂ ਹੁੰਦੀ ਹੈ"
+ "sortHint": "ਕ੍ਰਮਬੱਧਤਾ ਸਿਰਫ਼ ਲੋਡ ਕੀਤੀਆਂ {count} ਕਤਾਰਾਂ 'ਤੇ ਲਾਗੂ ਹੁੰਦੀ ਹੈ",
+ "cacheHitRate": "ਕੈਸ਼ ਹਿੱਟ ਦਰ",
+ "cacheSavedTokens": "{tokens} ਟੋਕਨ ਬਚਾਏ",
+ "cacheHitRateHint": "ਸਰਵਰ ਚਾਲੂ ਹੋਣ ਤੋਂ ਬਾਅਦ {hits} ਹਿੱਟ ਬਨਾਮ {misses} ਮਿਸ · {requests} ਪ੍ਰਦਾਤਾ ਕਾਲਾਂ ਬਚਾਈਆਂ"
},
"logs": {
"title": "ਲੌਗ",
diff --git a/client/src/i18n/locales/pl.json b/client/src/i18n/locales/pl.json
index feddd5a9..d3e1fb4d 100644
--- a/client/src/i18n/locales/pl.json
+++ b/client/src/i18n/locales/pl.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Żądania według agenta",
"sortBy": "Sortuj według: {column}",
- "sortHint": "Sortowanie dotyczy {count} załadowanych wierszy"
+ "sortHint": "Sortowanie dotyczy {count} załadowanych wierszy",
+ "cacheHitRate": "Współczynnik trafień pamięci podręcznej",
+ "cacheSavedTokens": "Zaoszczędzono {tokens} tokenów",
+ "cacheHitRateHint": "{hits} trafień wobec {misses} chybień od startu serwera · uniknięto {requests} wywołań dostawcy"
},
"logs": {
"title": "Logi",
diff --git a/client/src/i18n/locales/pt-BR.json b/client/src/i18n/locales/pt-BR.json
index cdc049d2..ee5878bc 100644
--- a/client/src/i18n/locales/pt-BR.json
+++ b/client/src/i18n/locales/pt-BR.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Solicitações por agente",
"sortBy": "Ordenar por {column}",
- "sortHint": "A ordenação se aplica às {count} linhas carregadas"
+ "sortHint": "A ordenação se aplica às {count} linhas carregadas",
+ "cacheHitRate": "Taxa de acerto do cache",
+ "cacheSavedTokens": "{tokens} tokens economizados",
+ "cacheHitRateHint": "{hits} acertos contra {misses} erros desde o início do servidor · {requests} chamadas ao provedor evitadas"
},
"logs": {
"title": "Logs",
diff --git a/client/src/i18n/locales/pt-PT.json b/client/src/i18n/locales/pt-PT.json
index 52e8e505..9421dc3f 100644
--- a/client/src/i18n/locales/pt-PT.json
+++ b/client/src/i18n/locales/pt-PT.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Pedidos por agente",
"sortBy": "Ordenar por {column}",
- "sortHint": "A ordenação aplica-se às {count} linhas carregadas"
+ "sortHint": "A ordenação aplica-se às {count} linhas carregadas",
+ "cacheHitRate": "Taxa de acerto da cache",
+ "cacheSavedTokens": "{tokens} tokens poupados",
+ "cacheHitRateHint": "{hits} acertos contra {misses} falhas desde o arranque do servidor · {requests} chamadas ao fornecedor evitadas"
},
"logs": {
"title": "Registos",
diff --git a/client/src/i18n/locales/ro.json b/client/src/i18n/locales/ro.json
index 266b5188..d9ad25f1 100644
--- a/client/src/i18n/locales/ro.json
+++ b/client/src/i18n/locales/ro.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Cereri per agent",
"sortBy": "Sortează după {column}",
- "sortHint": "Sortarea se aplică celor {count} rânduri încărcate"
+ "sortHint": "Sortarea se aplică celor {count} rânduri încărcate",
+ "cacheHitRate": "Rata de succes a cache-ului",
+ "cacheSavedTokens": "{tokens} tokenuri economisite",
+ "cacheHitRateHint": "{hits} accesări reușite față de {misses} ratări de la pornirea serverului · {requests} apeluri către furnizor evitate"
},
"logs": {
"title": "Jurnale",
diff --git a/client/src/i18n/locales/ru.json b/client/src/i18n/locales/ru.json
index 1484225e..9bd45aee 100644
--- a/client/src/i18n/locales/ru.json
+++ b/client/src/i18n/locales/ru.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Запросы по агентам",
"sortBy": "Сортировать по: {column}",
- "sortHint": "Сортировка применяется к {count} загруженным строкам"
+ "sortHint": "Сортировка применяется к {count} загруженным строкам",
+ "cacheHitRate": "Доля попаданий в кэш",
+ "cacheSavedTokens": "Сэкономлено {tokens} токенов",
+ "cacheHitRateHint": "{hits} попаданий против {misses} промахов с момента запуска сервера · сэкономлено {requests} запросов к провайдеру"
},
"logs": {
"title": "Журнал",
diff --git a/client/src/i18n/locales/si.json b/client/src/i18n/locales/si.json
index 3bf4a9c7..a22a799f 100644
--- a/client/src/i18n/locales/si.json
+++ b/client/src/i18n/locales/si.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "නියෝජිතයා අනුව ඉල්ලීම්",
"sortBy": "{column} අනුව පෙළගස්වන්න",
- "sortHint": "පෙළගැස්වීම පූරණය කළ පේළි {count} ට පමණක් අදාළ වේ"
+ "sortHint": "පෙළගැස්වීම පූරණය කළ පේළි {count} ට පමණක් අදාළ වේ",
+ "cacheHitRate": "හැඹිලි පහර අනුපාතය",
+ "cacheSavedTokens": "ටෝකන {tokens}ක් ඉතිරි විය",
+ "cacheHitRateHint": "සේවාදායකය ආරම්භ වූ දා සිට පහරවල් {hits}ක්, මගහැරීම් {misses}ක් · සැපයුම්කරු ඇමතුම් {requests}ක් වළක්වා ගැනිණි"
},
"logs": {
"title": "ලොග",
diff --git a/client/src/i18n/locales/sk.json b/client/src/i18n/locales/sk.json
index 64d31e51..f3277011 100644
--- a/client/src/i18n/locales/sk.json
+++ b/client/src/i18n/locales/sk.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Požiadavky podľa agenta",
"sortBy": "Zoradiť podľa: {column}",
- "sortHint": "Zoradenie sa vzťahuje na {count} načítaných riadkov"
+ "sortHint": "Zoradenie sa vzťahuje na {count} načítaných riadkov",
+ "cacheHitRate": "Úspešnosť vyrovnávacej pamäte",
+ "cacheSavedTokens": "Ušetrených {tokens} tokenov",
+ "cacheHitRateHint": "{hits} zásahov oproti {misses} minutiam od spustenia servera · ušetrených {requests} volaní poskytovateľa"
},
"logs": {
"title": "Logy",
diff --git a/client/src/i18n/locales/sr.json b/client/src/i18n/locales/sr.json
index 2fb5203d..16c4ffdd 100644
--- a/client/src/i18n/locales/sr.json
+++ b/client/src/i18n/locales/sr.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Захтеви по агенту",
"sortBy": "Сортирај по: {column}",
- "sortHint": "Сортирање важи за {count} учитаних редова"
+ "sortHint": "Сортирање важи за {count} учитаних редова",
+ "cacheHitRate": "Стопа погодака кеша",
+ "cacheSavedTokens": "Уштеђено {tokens} токена",
+ "cacheHitRateHint": "{hits} погодака наспрам {misses} промашаја од покретања сервера · избегнуто {requests} позива провајдеру"
},
"logs": {
"title": "Логови",
diff --git a/client/src/i18n/locales/sv.json b/client/src/i18n/locales/sv.json
index df5cc319..9ff3702c 100644
--- a/client/src/i18n/locales/sv.json
+++ b/client/src/i18n/locales/sv.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Begäranden per agent",
"sortBy": "Sortera efter {column}",
- "sortHint": "Sorteringen gäller de {count} inlästa raderna"
+ "sortHint": "Sorteringen gäller de {count} inlästa raderna",
+ "cacheHitRate": "Cacheträffkvot",
+ "cacheSavedTokens": "{tokens} tokens sparade",
+ "cacheHitRateHint": "{hits} träffar mot {misses} missar sedan servern startade · {requests} leverantörsanrop undvikna"
},
"logs": {
"title": "Loggar",
diff --git a/client/src/i18n/locales/sw.json b/client/src/i18n/locales/sw.json
index fb413d51..175db1bf 100644
--- a/client/src/i18n/locales/sw.json
+++ b/client/src/i18n/locales/sw.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Maombi kwa kila wakala",
"sortBy": "Panga kwa {column}",
- "sortHint": "Upangaji unatumika kwa safu {count} zilizopakiwa"
+ "sortHint": "Upangaji unatumika kwa safu {count} zilizopakiwa",
+ "cacheHitRate": "Kiwango cha mafanikio ya akiba",
+ "cacheSavedTokens": "Tokeni {tokens} zimehifadhiwa",
+ "cacheHitRateHint": "Mafanikio {hits} dhidi ya makosa {misses} tangu seva ianze · miito {requests} kwa mtoa huduma imeepukwa"
},
"logs": {
"title": "Kumbukumbu",
diff --git a/client/src/i18n/locales/ta.json b/client/src/i18n/locales/ta.json
index 79b32304..586791df 100644
--- a/client/src/i18n/locales/ta.json
+++ b/client/src/i18n/locales/ta.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "முகவர் வாரியாக கோரிக்கைகள்",
"sortBy": "{column} அடிப்படையில் வரிசைப்படுத்து",
- "sortHint": "வரிசைப்படுத்தல் ஏற்றப்பட்ட {count} வரிசைகளுக்கு மட்டுமே பொருந்தும்"
+ "sortHint": "வரிசைப்படுத்தல் ஏற்றப்பட்ட {count} வரிசைகளுக்கு மட்டுமே பொருந்தும்",
+ "cacheHitRate": "தற்காலிக சேமிப்பு வெற்றி விகிதம்",
+ "cacheSavedTokens": "{tokens} டோக்கன்கள் சேமிக்கப்பட்டன",
+ "cacheHitRateHint": "சேவையகம் தொடங்கியதிலிருந்து {hits} வெற்றி, {misses} தோல்வி · {requests} வழங்குநர் அழைப்புகள் தவிர்க்கப்பட்டன"
},
"logs": {
"title": "பதிவுகள்",
diff --git a/client/src/i18n/locales/te.json b/client/src/i18n/locales/te.json
index dbc797f2..3eccf9e0 100644
--- a/client/src/i18n/locales/te.json
+++ b/client/src/i18n/locales/te.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "ఏజెంట్ వారీగా అభ్యర్థనలు",
"sortBy": "{column} ప్రకారం క్రమబద్ధీకరించు",
- "sortHint": "క్రమబద్ధీకరణ లోడ్ అయిన {count} వరుసలకు మాత్రమే వర్తిస్తుంది"
+ "sortHint": "క్రమబద్ధీకరణ లోడ్ అయిన {count} వరుసలకు మాత్రమే వర్తిస్తుంది",
+ "cacheHitRate": "కాష్ హిట్ రేటు",
+ "cacheSavedTokens": "{tokens} టోకెన్‌ల ఆదా",
+ "cacheHitRateHint": "సర్వర్ ప్రారంభమైనప్పటి నుండి {hits} హిట్‌లు, {misses} మిస్‌లు · {requests} ప్రొవైడర్ కాల్‌లు ఆదా అయ్యాయి"
},
"logs": {
"title": "లాగ్‌లు",
diff --git a/client/src/i18n/locales/th.json b/client/src/i18n/locales/th.json
index 241c45aa..766379fc 100644
--- a/client/src/i18n/locales/th.json
+++ b/client/src/i18n/locales/th.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "คำขอตามเอเจนต์",
"sortBy": "เรียงตาม{column}",
- "sortHint": "การเรียงลำดับใช้กับ {count} แถวที่โหลดแล้วเท่านั้น"
+ "sortHint": "การเรียงลำดับใช้กับ {count} แถวที่โหลดแล้วเท่านั้น",
+ "cacheHitRate": "อัตราการเข้าถึงแคช",
+ "cacheSavedTokens": "ประหยัด {tokens} โทเค็น",
+ "cacheHitRateHint": "{hits} ครั้งที่พบ เทียบกับ {misses} ครั้งที่ไม่พบ นับตั้งแต่เซิร์ฟเวอร์เริ่มทำงาน · เลี่ยงการเรียกผู้ให้บริการ {requests} ครั้ง"
},
"logs": {
"title": "บันทึก",
diff --git a/client/src/i18n/locales/tl.json b/client/src/i18n/locales/tl.json
index 136d6fc9..ea2e1fdd 100644
--- a/client/src/i18n/locales/tl.json
+++ b/client/src/i18n/locales/tl.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Mga kahilingan ayon sa agent",
"sortBy": "Ayusin ayon sa {column}",
- "sortHint": "Ang pag-aayos ay para lamang sa {count} na-load na row"
+ "sortHint": "Ang pag-aayos ay para lamang sa {count} na-load na row",
+ "cacheHitRate": "Cache hit rate",
+ "cacheSavedTokens": "{tokens} token ang natipid",
+ "cacheHitRateHint": "{hits} hit laban sa {misses} miss mula nang magsimula ang server · {requests} tawag sa provider ang naiwasan"
},
"logs": {
"title": "Mga Log",
diff --git a/client/src/i18n/locales/tr.json b/client/src/i18n/locales/tr.json
index f0c93963..6e729128 100644
--- a/client/src/i18n/locales/tr.json
+++ b/client/src/i18n/locales/tr.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Ajan başına istekler",
"sortBy": "{column} ölçütüne göre sırala",
- "sortHint": "Sıralama yalnızca yüklenen {count} satıra uygulanır"
+ "sortHint": "Sıralama yalnızca yüklenen {count} satıra uygulanır",
+ "cacheHitRate": "Önbellek isabet oranı",
+ "cacheSavedTokens": "{tokens} jeton tasarruf edildi",
+ "cacheHitRateHint": "Sunucu başlatıldığından beri {hits} isabet, {misses} ıskalama · {requests} sağlayıcı çağrısından kaçınıldı"
},
"logs": {
"title": "Günlükler",
diff --git a/client/src/i18n/locales/uk.json b/client/src/i18n/locales/uk.json
index 8e34ea56..dbdc844a 100644
--- a/client/src/i18n/locales/uk.json
+++ b/client/src/i18n/locales/uk.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Запити за агентами",
"sortBy": "Сортувати за: {column}",
- "sortHint": "Сортування застосовується до {count} завантажених рядків"
+ "sortHint": "Сортування застосовується до {count} завантажених рядків",
+ "cacheHitRate": "Частка влучань у кеш",
+ "cacheSavedTokens": "Заощаджено {tokens} токенів",
+ "cacheHitRateHint": "{hits} влучань проти {misses} промахів від запуску сервера · уникнено {requests} викликів до постачальника"
},
"logs": {
"title": "Журнал",
diff --git a/client/src/i18n/locales/ur.json b/client/src/i18n/locales/ur.json
index f29a1dce..b6e62ae0 100644
--- a/client/src/i18n/locales/ur.json
+++ b/client/src/i18n/locales/ur.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "فی ایجنٹ درخواستیں",
"sortBy": "{column} کے لحاظ سے ترتیب دیں",
- "sortHint": "ترتیب صرف لوڈ شدہ {count} قطاروں پر لاگو ہوتی ہے"
+ "sortHint": "ترتیب صرف لوڈ شدہ {count} قطاروں پر لاگو ہوتی ہے",
+ "cacheHitRate": "کیش ہٹ ریٹ",
+ "cacheSavedTokens": "{tokens} ٹوکن بچائے گئے",
+ "cacheHitRateHint": "سرور شروع ہونے کے بعد سے {hits} ہٹ بمقابلہ {misses} مِس · {requests} فراہم کنندہ کالز سے بچت"
},
"logs": {
"title": "لاگز",
diff --git a/client/src/i18n/locales/uz.json b/client/src/i18n/locales/uz.json
index ca34adaa..14b16615 100644
--- a/client/src/i18n/locales/uz.json
+++ b/client/src/i18n/locales/uz.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Agent bo'yicha so'rovlar",
"sortBy": "{column} bo‘yicha saralash",
- "sortHint": "Saralash faqat yuklangan {count} ta qatorga qo‘llanadi"
+ "sortHint": "Saralash faqat yuklangan {count} ta qatorga qo‘llanadi",
+ "cacheHitRate": "Kesh muvaffaqiyat darajasi",
+ "cacheSavedTokens": "{tokens} token tejaldi",
+ "cacheHitRateHint": "Server ishga tushganidan beri {hits} muvaffaqiyat, {misses} o‘tkazib yuborish · {requests} ta provayder so‘rovi tejaldi"
},
"logs": {
"title": "Jurnal",
diff --git a/client/src/i18n/locales/vi.json b/client/src/i18n/locales/vi.json
index f077ac5a..e3c056af 100644
--- a/client/src/i18n/locales/vi.json
+++ b/client/src/i18n/locales/vi.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Yêu cầu theo tác nhân",
"sortBy": "Sắp xếp theo {column}",
- "sortHint": "Sắp xếp chỉ áp dụng cho {count} hàng đã tải"
+ "sortHint": "Sắp xếp chỉ áp dụng cho {count} hàng đã tải",
+ "cacheHitRate": "Tỷ lệ trúng bộ nhớ đệm",
+ "cacheSavedTokens": "Tiết kiệm {tokens} token",
+ "cacheHitRateHint": "{hits} lần trúng so với {misses} lần trượt kể từ khi máy chủ khởi động · tránh được {requests} lượt gọi nhà cung cấp"
},
"logs": {
"title": "Nhật ký",
diff --git a/client/src/i18n/locales/yo.json b/client/src/i18n/locales/yo.json
index 38a28887..75d10adc 100644
--- a/client/src/i18n/locales/yo.json
+++ b/client/src/i18n/locales/yo.json
@@ -716,7 +716,10 @@
"ttft": "TTFT",
"requestsByAgent": "Awọn ibeere nipasẹ aṣoju",
"sortBy": "Ṣètò nípa {column}",
- "sortHint": "Ìṣètò kan àwọn ìlà {count} tí a ti gbé sókè nìkan"
+ "sortHint": "Ìṣètò kan àwọn ìlà {count} tí a ti gbé sókè nìkan",
+ "cacheHitRate": "Ìwọ̀n àṣeyọrí kaṣe",
+ "cacheSavedTokens": "A ṣàfipamọ́ token {tokens}",
+ "cacheHitRateHint": "{hits} àṣeyọrí sí {misses} àìní láti ìgbà tí sáfà bẹ̀rẹ̀ · {requests} ìpè olùpèsè ni a yẹ̀ sílẹ̀"
},
"logs": {
"title": "Àkọọlẹ",
diff --git a/client/src/i18n/locales/zh-CN.json b/client/src/i18n/locales/zh-CN.json
index ab184935..b010dac0 100644
--- a/client/src/i18n/locales/zh-CN.json
+++ b/client/src/i18n/locales/zh-CN.json
@@ -716,7 +716,10 @@
"ttft": "首个词元用时",
"requestsByAgent": "按智能体统计的请求",
"sortBy": "按{column}排序",
- "sortHint": "排序仅作用于已加载的 {count} 行"
+ "sortHint": "排序仅作用于已加载的 {count} 行",
+ "cacheHitRate": "缓存命中率",
+ "cacheSavedTokens": "已节省 {tokens} 词元",
+ "cacheHitRateHint": "自服务器启动以来命中 {hits} 次、未命中 {misses} 次 · 省下 {requests} 次提供方调用"
},
"logs": {
"title": "日志",
diff --git a/client/src/i18n/locales/zh-TW.json b/client/src/i18n/locales/zh-TW.json
index ce4e7c9c..83c4d134 100644
--- a/client/src/i18n/locales/zh-TW.json
+++ b/client/src/i18n/locales/zh-TW.json
@@ -716,7 +716,10 @@
"ttft": "首字延遲",
"requestsByAgent": "按代理程式統計的請求",
"sortBy": "依{column}排序",
- "sortHint": "排序僅套用於已載入的 {count} 列"
+ "sortHint": "排序僅套用於已載入的 {count} 列",
+ "cacheHitRate": "快取命中率",
+ "cacheSavedTokens": "已節省 {tokens} Token",
+ "cacheHitRateHint": "自伺服器啟動以來命中 {hits} 次、未命中 {misses} 次 · 省下 {requests} 次供應商呼叫"
},
"logs": {
"title": "日誌",
diff --git a/client/src/pages/AnalyticsPage.tsx b/client/src/pages/AnalyticsPage.tsx
index b2763052..e700f54d 100644
--- a/client/src/pages/AnalyticsPage.tsx
+++ b/client/src/pages/AnalyticsPage.tsx
@@ -6,6 +6,7 @@ import {
} from 'recharts'
import {
Activity,
+ Archive,
ArrowDown,
ArrowUp,
Bot,
@@ -143,6 +144,21 @@ interface SummaryResponse {
lifetimeTotalRequests: number
}
+interface CacheStatsResponse {
+ enabled: boolean
+ entries: number
+ // Hits carried by the entries currently held (restored from SQLite), and the
+ // provider round-trips / tokens they represent.
+ totalHits: number
+ estimatedRequestsSaved: number
+ savedTokens: number
+ // Lookups since the server started — the ratio's two halves. Kept separate
+ // from totalHits, which shrinks when entries are evicted.
+ lookupHits: number
+ lookupMisses: number
+ hitRate: number
+}
+
interface ByPlatformRow {
platform: string
// Stable identity for the filter dropdown. For a catalog platform it equals
@@ -306,7 +322,7 @@ function formatTokens(n?: number): string {
return String(n)
}
-function Stat({ icon: Icon, label, value, hint, className }: { icon: LucideIcon; label: string; value: string | number; hint?: string; className?: string }) {
+function Stat({ icon: Icon, label, value, sub, hint, className }: { icon: LucideIcon; label: string; value: string | number; sub?: string; hint?: string; className?: string }) {
const card = (
<div className="rounded-3xl border bg-card px-4 py-3">
<div className="flex items-center justify-between gap-3">
@@ -316,6 +332,9 @@ function Stat({ icon: Icon, label, value, hint, className }: { icon: LucideIcon;
</span>
</div>
<p className={`text-xl font-semibold tabular-nums mt-1 ${className ?? ''}`}>{value}</p>
+ {/* Optional second figure, so one card can carry two related numbers
+ instead of spending another slot in the summary row. */}
+ {sub ? <p className="text-[11px] text-muted-foreground tabular-nums truncate">{sub}</p> : null}
</div>
)
// Same portal tooltip as the routing strategy chips. Opens BELOW the card:
@@ -542,6 +561,14 @@ export default function AnalyticsPage() {
queryFn: () => apiFetch<SummaryResponse>(`/api/analytics/summary?range=${range}`),
})
+ // Response-cache health: how often identical requests were served from memory
+ // (zero quota cost) vs. spending a free-tier slot. The cache is process-local,
+ // so these are lifetime-this-boot numbers, not range-filtered.
+ const { data: cacheStats } = useQuery({
+ queryKey: ['cache', 'stats'],
+ queryFn: () => apiFetch<CacheStatsResponse>('/api/cache/stats'),
+ })
+
const { data: byPlatform = [] } = useQuery({
queryKey: ['analytics', 'by-platform', range],
queryFn: () => apiFetch<ByPlatformRow[]>(`/api/analytics/by-platform?range=${range}`),
@@ -703,7 +730,9 @@ export default function AnalyticsPage() {
{/* Summary stats */}
<div className="grid grid-cols-2 md:grid-cols-4 xl:grid-cols-4 gap-3">
{summaryLoading ? (
- Array.from({ length: 8 }).map((_, i) => <Skeleton key={i} className="h-[74px] rounded-3xl" />)
+ // Same count as the cards below, cache card included, so the row
+ // does not reflow when the summary lands.
+ Array.from({ length: cacheStats?.enabled ? 9 : 8 }).map((_, i) => <Skeleton key={i} className="h-[74px] rounded-3xl" />)
) : (
<>
<Stat icon={Activity} label={t('analytics.requests')} value={summary?.totalRequests ?? 0} hint={requestsHint} />
@@ -718,6 +747,19 @@ export default function AnalyticsPage() {
The value is a 30-day projection; the hover hint tells the whole
story (actual period amount + whether it was extrapolated). */}
<Stat icon={CircleDollarSign} label={t('analytics.estSavings')} value={`$${savings30d.toFixed(2)}`} hint={savingsHint} />
+ {/* Response-cache impact, as ONE card: hit rate with the tokens
+ it gave back underneath. Rendered only when the cache is on,
+ so installs that opted out neither lose a slot in this row nor
+ see a misleading 0%. */}
+ {cacheStats?.enabled && (
+ <Stat
+ icon={Archive}
+ label={t('analytics.cacheHitRate')}
+ value={`${Math.round(cacheStats.hitRate * 100)}%`}
+ sub={t('analytics.cacheSavedTokens', { tokens: formatTokens(cacheStats.savedTokens) })}
+ hint={t('analytics.cacheHitRateHint', { hits: cacheStats.lookupHits, misses: cacheStats.lookupMisses, requests: cacheStats.estimatedRequestsSaved })}
+ />
+ )}
</>
)}
</div>
diff --git a/server/src/__tests__/services/cache.test.ts b/server/src/__tests__/services/cache.test.ts
index 1cf53285..ae566198 100644
--- a/server/src/__tests__/services/cache.test.ts
+++ b/server/src/__tests__/services/cache.test.ts
@@ -375,6 +375,62 @@ describe('response cache', () => {
});
});
+ describe('hit rate', () => {
+ it('counts every lookup, so an eviction cannot drag the rate down', () => {
+ process.env.RESPONSE_CACHE_MAX_ENTRIES = '1';
+ const a = computeCacheKey({ model: 'auto', messages: [msg('user', 'a')] });
+ const b = computeCacheKey({ model: 'auto', messages: [msg('user', 'b')] });
+
+ store(a, 'answer a');
+ expect(getCachedResponse(a)).not.toBeNull(); // 1 hit
+ // Storing b evicts a, taking a's hit_count with it.
+ store(b, 'answer b');
+ expect(getCachedResponse(b)).not.toBeNull(); // 2 hits
+
+ const stats = getCacheStats();
+ expect(stats.lookupHits).toBe(2);
+ expect(stats.lookupMisses).toBe(0);
+ expect(stats.hitRate).toBe(1);
+ // The entry-attributed count did shrink with the eviction; that is the
+ // savings figure, and precisely why the rate must not be derived from it.
+ expect(stats.totalHits).toBe(1);
+ });
+
+ it('counts misses, including a lookup that found an expired entry', () => {
+ process.env.RESPONSE_CACHE_TTL_SECONDS = '60';
+ const key = computeCacheKey({ model: 'auto', messages: [msg('user', 'rate')] });
+ const t0 = 5_000_000;
+
+ expect(getCachedResponse(key, t0)).toBeNull(); // cold miss
+ store(key, 'answer', t0);
+ expect(getCachedResponse(key, t0 + 1_000)).not.toBeNull(); // hit
+ expect(getCachedResponse(key, t0 + 120_000)).toBeNull(); // expired: a miss
+
+ const stats = getCacheStats();
+ expect(stats.lookupHits).toBe(1);
+ expect(stats.lookupMisses).toBe(2);
+ expect(stats.hitRate).toBeCloseTo(1 / 3, 6);
+ });
+
+ it('reports 0 before any lookup rather than dividing by zero', () => {
+ const stats = getCacheStats();
+ expect(stats.lookupHits).toBe(0);
+ expect(stats.lookupMisses).toBe(0);
+ expect(stats.hitRate).toBe(0);
+ });
+
+ it('resets the tallies when the cache is flushed', () => {
+ const key = computeCacheKey({ model: 'auto', messages: [msg('user', 'flush-rate')] });
+ store(key, 'answer');
+ getCachedResponse(key);
+ expect(getCacheStats().hitRate).toBe(1);
+
+ clearCache();
+ // A 100% hit rate beside zero entries would be nonsense.
+ expect(getCacheStats().hitRate).toBe(0);
+ });
+ });
+
// Persistence is tied to the cache master switch, so these have to turn it on.
// "Restart" means __resetMemoryForTests(): it drops the in-memory LRU and
// leaves the table alone, which is what a process restart does. clearCache()
diff --git a/server/src/services/cache.ts b/server/src/services/cache.ts
index cf2d7933..c8256e62 100644
--- a/server/src/services/cache.ts
+++ b/server/src/services/cache.ts
@@ -280,6 +280,21 @@ interface CacheEntry {
// at the end (delete + set), so eviction from the front drops the coldest entry.
const store = new Map<string, CacheEntry>();
+// Lifetime-of-process lookup tallies, the denominator behind the dashboard's
+// hit rate. Entries alone cannot provide it: a cache that is 99% empty is 0%
+// useful, and a flushed store would otherwise read as a 100% hit rate.
+// Counted only when a request actually consulted the cache (a cacheKey was
+// computed), never for requests that bypassed it.
+//
+// Deliberately NOT seeded from SQLite on load. Hits persist per row
+// (response_cache.hit_count) but a miss has no row to live on, so restoring
+// only the hits would report a rate biased upward after every restart. A ratio
+// is only honest when numerator and denominator cover the same window, and
+// that window is this process. The savings figures below are the ones that
+// survive a restart, because they ride on the entries themselves.
+let lookupHits = 0;
+let lookupMisses = 0;
+
// ── Deferred SQLite write-through ──
// better-sqlite3 is synchronous, so a store/hit write would sit on the request
// path (a large completion body is a multi-KB write with an fsync behind it).
@@ -333,6 +348,8 @@ export function __flushPersistenceForTests(): void {
export function __resetMemoryForTests(): void {
drainPendingWrites();
store.clear();
+ lookupHits = 0;
+ lookupMisses = 0;
}
/**
@@ -342,15 +359,20 @@ export function __resetMemoryForTests(): void {
*/
export function getCachedResponse(cacheKey: string, now = Date.now()): CachedResponse | null {
const entry = store.get(cacheKey);
- if (!entry) return null;
+ if (!entry) {
+ lookupMisses += 1;
+ return null;
+ }
if (now - entry.createdAtMs > cacheTtlMs()) {
store.delete(cacheKey);
// The row would otherwise outlive its memory entry until the next restart.
scheduleRowDelete(cacheKey);
+ lookupMisses += 1;
return null;
}
+ lookupHits += 1;
entry.hitCount += 1;
entry.lastHitAtMs = now;
// Move to most-recently-used.
@@ -525,15 +547,29 @@ export function loadCacheFromDb(now = Date.now()): void {
export interface CacheStats {
entries: number;
+ /** Hits accumulated by the entries currently held, restored from SQLite. */
totalHits: number;
+ /** Hits ARE the savings: each one avoided a full provider round-trip. */
+ estimatedRequestsSaved: number;
savedPromptTokens: number;
savedCompletionTokens: number;
+ /** Lookups since this process started — the two halves of the ratio below. */
+ lookupHits: number;
+ lookupMisses: number;
+ /** 0..1 share of this process's lookups that hit (no lookups yet → 0). */
+ hitRate: number;
}
/**
* Aggregate cache stats for the dashboard. "saved" tokens are the provider
* tokens that hits avoided spending: hit_count x the entry's token counts,
- * summed, i.e. the free-tier quota the cache gave back.
+ * summed, i.e. the free-tier quota the cache gave back. Those ride on the
+ * entries, so they survive a restart along with the persisted rows.
+ *
+ * hitRate is deliberately computed from the process-lifetime lookup tallies
+ * instead of totalHits: totalHits only counts the entries still held, so an
+ * eviction (or a TTL expiry) would silently retire hits that really happened
+ * and drag the reported rate down forever.
*/
export function getCacheStats(): CacheStats {
let totalHits = 0;
@@ -544,7 +580,17 @@ export function getCacheStats(): CacheStats {
savedPromptTokens += entry.hitCount * entry.promptTokens;
savedCompletionTokens += entry.hitCount * entry.completionTokens;
}
- return { entries: store.size, totalHits, savedPromptTokens, savedCompletionTokens };
+ const lookups = lookupHits + lookupMisses;
+ return {
+ entries: store.size,
+ totalHits,
+ estimatedRequestsSaved: totalHits,
+ savedPromptTokens,
+ savedCompletionTokens,
+ lookupHits,
+ lookupMisses,
+ hitRate: lookups > 0 ? lookupHits / lookups : 0,
+ };
}
/**
@@ -559,6 +605,10 @@ export function clearCache(): number {
const removed = store.size;
store.clear();
pendingWrites.length = 0;
+ // The lookup tallies describe the cache that just went away; keeping them
+ // would show a 90% hit rate next to zero entries right after a flush.
+ lookupHits = 0;
+ lookupMisses = 0;
try {
getDb().prepare('DELETE FROM response_cache').run();
} catch {