feat(performance): update performance metrics handling and UI components

This commit is contained in:
CaIon
2026-05-12 16:04:15 +08:00
parent ba474393fb
commit 19fc384e67
37 changed files with 936 additions and 443 deletions
+23 -11
View File
@@ -100,6 +100,7 @@
"A billing multiplier. Lower ratios mean lower API call costs.": "A billing multiplier. Lower ratios mean lower API call costs.",
"A focused home for keys, balance, routing, and service health.": "A focused home for keys, balance, routing, and service health.",
"About": "About",
"About {{days}} days left": "About {{days}} days left",
"Accept Unpriced Models": "Accept Unpriced Models",
"Accepts a JSON array of model identifiers that support the Imagine API.": "Accepts a JSON array of model identifiers that support the Imagine API.",
"Accepts comma-separated status codes and inclusive ranges.": "Accepts comma-separated status codes and inclusive ranges.",
@@ -239,6 +240,7 @@
"AILS": "AILS",
"AK/SK mode: use AccessKey|SecretAccessKey|Region": "AK/SK mode: use AccessKey|SecretAccessKey|Region",
"Ali": "Ali",
"Alipay": "Alipay",
"All": "All",
"All categories": "All categories",
"All conditions must match before this tier is used.": "All conditions must match before this tier is used.",
@@ -477,6 +479,7 @@
"Baidu V2": "Baidu V2",
"Balance": "Balance",
"Balance and top-up management": "Balance and top-up management",
"Balance depleted": "Balance depleted",
"Balance is shown in quota units": "Balance is shown in quota units",
"Balance queried successfully": "Balance queried successfully",
"Balance updated successfully": "Balance updated successfully",
@@ -888,6 +891,7 @@
"Console Area": "Console Area",
"Console Content": "Console Content",
"Consume": "Consume",
"Consumed in the last 24 hours": "Consumed in the last 24 hours",
"Container": "Container",
"Container name": "Container name",
"Containers": "Containers",
@@ -1897,6 +1901,7 @@
"Header Value (supports string or JSON mapping)": "Header Value (supports string or JSON mapping)",
"header. Anthropic-formatted endpoints accept the": "header. Anthropic-formatted endpoints accept the",
"Health": "Health",
"Healthy": "Healthy",
"Hidden — verify to reveal": "Hidden — verify to reveal",
"Hide": "Hide",
"Hide API key": "Hide API key",
@@ -2101,6 +2106,7 @@
"Language preference saved": "Language preference saved",
"Language Preferences": "Language Preferences",
"Language preferences sync across your signed-in devices and affect API error messages.": "Language preferences sync across your signed-in devices and affect API error messages.",
"Last 24h usage": "Last 24h usage",
"Last 30 days uptime": "Last 30 days uptime",
"Last check time": "Last check time",
"Last detected addable models": "Last detected addable models",
@@ -2143,6 +2149,7 @@
"Less": "Less",
"Less than": "Less than",
"Less Than": "Less Than",
"Less than 1 day left": "Less than 1 day left",
"Less than or equal": "Less than or equal",
"Less Than or Equal": "Less Than or Equal",
"License": "License",
@@ -2192,6 +2199,7 @@
"Logo": "Logo",
"Logo URL": "Logo URL",
"Logs": "Logs",
"Low balance": "Low balance",
"Lowest median first-token latency": "Lowest median first-token latency",
"m": "m",
"Maintain a list of common questions for the dashboard help panel": "Maintain a list of common questions for the dashboard help panel",
@@ -2371,6 +2379,7 @@
"MokaAI": "MokaAI",
"Monitor": "Monitor",
"Monitor balance, usage, and request volume": "Monitor balance, usage, and request volume",
"Monitored relay requests": "Monitored relay requests",
"Monitoring & Alerts": "Monitoring & Alerts",
"Month": "Month",
"Month number": "Month number",
@@ -2381,9 +2390,9 @@
"More": "More",
"more mapping": "more mapping",
"More templates...": "More templates...",
"More than 999 days left": "More than 999 days left",
"More...": "More...",
"Most-used models in the selected period and category": "Most-used models in the selected period and category",
"Monitored relay requests": "Monitored relay requests",
"Move": "Move",
"Move a request header": "Move a request header",
"Move affiliate rewards to your main balance": "Move affiliate rewards to your main balance",
@@ -2433,7 +2442,7 @@
"Name the channel, choose the provider, configure API access, and set credentials.": "Name the channel, choose the provider, configure API access, and set credentials.",
"name@example.com": "name@example.com",
"Native format": "Native format",
"Need a code?": "Need a code?",
"Need a redemption code?": "Need a redemption code?",
"Needs API key": "Needs API key",
"Nested JSON defining per-group rules for adding (+:), removing (-:), or appending usable groups.": "Nested JSON defining per-group rules for adding (+:), removing (-:), or appending usable groups.",
"Nested JSON: source group →": "Nested JSON: source group →",
@@ -2567,6 +2576,7 @@
"No providers available": "No providers available",
"No Quota": "No Quota",
"No ratio differences found": "No ratio differences found",
"No recent usage": "No recent usage",
"No records found. Try adjusting your filters.": "No records found. Try adjusting your filters.",
"No redemption codes available. Create your first redemption code to get started.": "No redemption codes available. Create your first redemption code to get started.",
"No Redemption Codes Found": "No Redemption Codes Found",
@@ -2851,6 +2861,7 @@
"Percentage:": "Percentage:",
"Performance": "Performance",
"Performance data is not yet available for this model.": "Performance data is not yet available for this model.",
"Performance health": "Performance health",
"Performance metrics for the last 24 hours": "Performance metrics for the last 24 hours",
"Performance metrics shown here are simulated for preview purposes and will be replaced with live observability data once the backend integration is complete.": "Performance metrics shown here are simulated for preview purposes and will be replaced with live observability data once the backend integration is complete.",
"Performance Monitor": "Performance Monitor",
@@ -2923,6 +2934,7 @@
"Please set Ollama API Base URL first": "Please set Ollama API Base URL first",
"Please try again later.": "Please try again later.",
"Please upload key file(s)": "Please upload key file(s)",
"Please wait a moment before trying again.": "Please wait a moment before trying again.",
"Please wait a moment, human check is initializing...": "Please wait a moment, human check is initializing...",
"Policy JSON": "Policy JSON",
"Polling": "Polling",
@@ -3061,8 +3073,8 @@
"Pull": "Pull",
"Pull model": "Pull model",
"Pulling...": "Pulling...",
"Purchase a plan to enjoy model benefits": "Purchase a plan to enjoy model benefits",
"Purchase here": "Purchase here",
"Subscribe to a plan for model access": "Subscribe to a plan for model access",
"Get one here": "Get one here",
"Purchase Limit": "Purchase Limit",
"Purchase limit reached": "Purchase limit reached",
"Purchase Subscription": "Purchase Subscription",
@@ -3356,6 +3368,7 @@
"Run GC": "Run GC",
"Run tests for the selected models": "Run tests for the selected models",
"Running": "Running",
"Runway": "Runway",
"s": "s",
"Safety Settings": "Safety Settings",
"Same as Local": "Same as Local",
@@ -3847,6 +3860,7 @@
"This action will permanently remove 2FA protection from your account.": "This action will permanently remove 2FA protection from your account.",
"This channel is not an Ollama channel.": "This channel is not an Ollama channel.",
"This channel type does not support fetching models": "This channel type does not support fetching models",
"This controls model request rate limiting. Web/API route throttling is configured by environment variables and may still return 429.": "This controls model request rate limiting. Web/API route throttling is configured by environment variables and may still return 429.",
"This data may be unreliable, use with caution": "This data may be unreliable, use with caution",
"This device does not support Passkey": "This device does not support Passkey",
"This device does not support Passkey verification.": "This device does not support Passkey verification.",
@@ -3955,6 +3969,7 @@
"Tokens since launch": "Tokens since launch",
"Tokens-only mode will show raw quota values regardless of this toggle.": "Tokens-only mode will show raw quota values regardless of this toggle.",
"Too many files. Some were not added.": "Too many files. Some were not added.",
"Too many requests": "Too many requests",
"Tool / function declarations the model may call": "Tool / function declarations the model may call",
"Tool identifier": "Tool identifier",
"Tool price settings": "Tool price settings",
@@ -3969,6 +3984,7 @@
"Top model": "Top model",
"Top models": "Top models",
"Top Models": "Top Models",
"Top models by traffic": "Top models by traffic",
"Top up balance and view billing history.": "Top up balance and view billing history.",
"Top Users": "Top Users",
"Top vendors": "Top vendors",
@@ -4023,6 +4039,7 @@
"Trim Suffix": "Trim Suffix",
"Truncate embeddings to this many dimensions": "Truncate embeddings to this many dimensions",
"Trusted": "Trusted",
"Try adjusting your search": "Try adjusting your search",
"Try adjusting your search to locate a missing model.": "Try adjusting your search to locate a missing model.",
"TTFT P50": "TTFT P50",
"TTFT P95": "TTFT P95",
@@ -4323,6 +4340,7 @@
"Website is under maintenance!": "Website is under maintenance!",
"WeChat": "WeChat",
"WeChat login QR code": "WeChat login QR code",
"WeChat Pay": "WeChat Pay",
"WeChat QR code will be displayed here": "WeChat QR code will be displayed here",
"WeChat sign in": "WeChat sign in",
"Week": "Week",
@@ -4398,15 +4416,9 @@
"Your setup guide is collapsed so usage stays in focus.": "Your setup guide is collapsed so usage stays in focus.",
"Your system access token for API authentication. Keep it secure and don't share it with others.": "Your system access token for API authentication. Keep it secure and don't share it with others.",
"Your Telegram Bot Token": "Your Telegram Bot Token",
"Your transaction history will appear here": "Your transaction history will appear here",
"Your Turnstile secret key": "Your Turnstile secret key",
"Your Turnstile site key": "Your Turnstile site key",
"Alipay": "Alipay",
"Please wait a moment before trying again.": "Please wait a moment before trying again.",
"This controls model request rate limiting. Web/API route throttling is configured by environment variables and may still return 429.": "This controls model request rate limiting. Web/API route throttling is configured by environment variables and may still return 429.",
"Too many requests": "Too many requests",
"Try adjusting your search": "Try adjusting your search",
"WeChat Pay": "WeChat Pay",
"Your transaction history will appear here": "Your transaction history will appear here",
"Zero retention": "Zero retention",
"Zhipu": "Zhipu",
"Zhipu V4": "Zhipu V4",