diff --git a/client/src/Pages/CreateMonitor/index.tsx b/client/src/Pages/CreateMonitor/index.tsx index 54db38c13..4ae518caa 100644 --- a/client/src/Pages/CreateMonitor/index.tsx +++ b/client/src/Pages/CreateMonitor/index.tsx @@ -136,8 +136,8 @@ const getGeneralSettingsConfig = ( showIgnoreTls: false, }, hardware: { - urlLabel: t("pages.createMonitor.form.general.option.url.label"), - urlPlaceholder: t("pages.createMonitor.form.general.option.url.placeholder"), + urlLabel: t("pages.createMonitor.form.general.option.captureUrl.label"), + urlPlaceholder: t("pages.createMonitor.form.general.option.captureUrl.placeholder"), namePlaceholder: t("pages.createMonitor.form.general.option.name.placeholder"), showUrl: true, showPort: false, diff --git a/client/src/locales/ar.json b/client/src/locales/ar.json index 11fa81309..0c4169c25 100644 --- a/client/src/locales/ar.json +++ b/client/src/locales/ar.json @@ -534,6 +534,10 @@ "wsUrl": { "label": "رابط WebSocket", "placeholder": "wss://example.com/socket" + }, + "captureUrl": { + "label": "نقطة نهاية Capture", + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "الإعدادات العامة", @@ -546,7 +550,7 @@ "pagespeed": "تتبع أداء تحميل الصفحة ومؤشرات Core Web Vitals ودرجات التحسين لموقعك.", "grpc": "أدخل اسم المضيف ومنفذ خادم gRPC، وحدد اختيارياً اسم خدمة لفحص الصحة، وأضف اسم عرض.", "websocket": "أدخل رابط WebSocket للمراقبة (مثال: wss://example.com/socket) وأضف اسم عرض.", - "hardware": "مراقبة استخدام CPU والذاكرة والقرص ودرجة الحرارة للبنية التحتية الخاصة بك." + "hardware": "راقب استخدام وحدة المعالجة المركزية والذاكرة والقرص ودرجة الحرارة لبنيتك التحتية. يجب أن يتضمن عنوان URL لنقطة نهاية Capture المسار الكامل ‎/api/v1/metrics‎ (مثال: ‎http://192.168.1.10:5001/api/v1/metrics‎). بالنسبة لمفتاح التفويض، الصق سلسلة الرمز فقط — لا تُضمّن كلمة 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/cs.json b/client/src/locales/cs.json index 454f0b673..fd2421495 100644 --- a/client/src/locales/cs.json +++ b/client/src/locales/cs.json @@ -534,6 +534,10 @@ "wsUrl": { "label": "WebSocket URL", "placeholder": "wss://example.com/socket" + }, + "captureUrl": { + "label": "Endpoint Capture", + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Obecná nastavení", @@ -546,7 +550,7 @@ "pagespeed": "Sledujte výkon načítání stránky, metriky Core Web Vitals a hodnocení optimalizace vašeho webu.", "grpc": "Zadejte název hostitele a port gRPC serveru, volitelně zadejte název služby pro kontrolu stavu a přidejte zobrazovaný název.", "websocket": "Zadejte WebSocket URL ke sledování (např. wss://example.com/socket) a přidejte zobrazovaný název.", - "hardware": "Sledujte využití CPU, paměti, disku a teplotu vaší infrastruktury." + "hardware": "Sledujte využití CPU, paměti, disku a teplotu vaší infrastruktury. URL endpointu Capture musí obsahovat celou cestu /api/v1/metrics (např. http://192.168.1.10:5001/api/v1/metrics). Do autorizačního klíče vložte pouze řetězec tokenu — nezahrnujte 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/de.json b/client/src/locales/de.json index 8090aa5f3..1602610e0 100644 --- a/client/src/locales/de.json +++ b/client/src/locales/de.json @@ -534,6 +534,10 @@ "wsUrl": { "label": "WebSocket-URL", "placeholder": "wss://example.com/socket" + }, + "captureUrl": { + "label": "Capture-Endpunkt", + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Allgemeine Einstellungen", @@ -546,7 +550,7 @@ "pagespeed": "Verfolgen Sie die Ladezeit, Core Web Vitals und Optimierungswerte Ihrer Website.", "grpc": "Geben Sie den Hostnamen und Port des gRPC-Servers ein, optional einen Dienstnamen für den Health-Check, und fügen Sie einen Anzeigenamen hinzu.", "websocket": "Geben Sie die zu überwachende WebSocket-URL ein (z. B. wss://example.com/socket) und fügen Sie einen Anzeigenamen hinzu.", - "hardware": "Überwachen Sie CPU-, Arbeitsspeicher-, Festplattenauslastung und Temperatur Ihrer Infrastruktur." + "hardware": "Überwachen Sie CPU-, Speicher-, Festplattenauslastung und Temperatur Ihrer Infrastruktur. Die URL des Capture-Endpunkts muss den vollständigen Pfad /api/v1/metrics enthalten (z. B. http://192.168.1.10:5001/api/v1/metrics). Fügen Sie für das Autorisierungsgeheimnis nur den Token-String ein — geben Sie 'Bearer' nicht mit an." } }, "ignoreTls": { diff --git a/client/src/locales/en.json b/client/src/locales/en.json index d6e8bb4f3..b5fe0c1cb 100644 --- a/client/src/locales/en.json +++ b/client/src/locales/en.json @@ -534,6 +534,10 @@ "wsUrl": { "label": "WebSocket URL", "placeholder": "wss://example.com/socket" + }, + "captureUrl": { + "label": "Capture endpoint", + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "General settings", @@ -546,7 +550,7 @@ "pagespeed": "Track page load performance, Core Web Vitals, and optimization scores for your website.", "grpc": "Enter the hostname and port of the gRPC server, optionally specify a service name for the health check, and add a display name.", "websocket": "Enter the WebSocket URL to monitor (e.g., wss://example.com/socket) and add a display name.", - "hardware": "Monitor CPU, memory, disk usage, and temperature for your infrastructure." + "hardware": "Monitor CPU, memory, disk usage, and temperature for your infrastructure. The Capture endpoint URL must include the full path /api/v1/metrics (e.g. http://192.168.1.10:5001/api/v1/metrics). For the authorization secret, paste only the token string — don't include 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/es.json b/client/src/locales/es.json index 506c317e3..b359a3d15 100644 --- a/client/src/locales/es.json +++ b/client/src/locales/es.json @@ -541,6 +541,10 @@ "wsUrl": { "label": "URL de WebSocket", "placeholder": "wss://example.com/socket" + }, + "captureUrl": { + "label": "Endpoint de Capture", + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Configuración general", @@ -553,7 +557,7 @@ "pagespeed": "Rastree el rendimiento de carga de página, Core Web Vitals y puntuaciones de optimización de su sitio web.", "grpc": "Ingrese el nombre de host y puerto del servidor gRPC, opcionalmente especifique un nombre de servicio para la verificación de salud, y agregue un nombre para mostrar.", "websocket": "Ingrese la URL de WebSocket a monitorear (p. ej., wss://example.com/socket) y agregue un nombre para mostrar.", - "hardware": "Monitoree el uso de CPU, memoria, disco y temperatura de su infraestructura." + "hardware": "Supervisa el uso de CPU, memoria, disco y temperatura de tu infraestructura. La URL del endpoint de Capture debe incluir la ruta completa /api/v1/metrics (p. ej., http://192.168.1.10:5001/api/v1/metrics). Para el secreto de autorización, pega solo la cadena del token — no incluyas 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/fi.json b/client/src/locales/fi.json index 6238837f2..b66aebb18 100644 --- a/client/src/locales/fi.json +++ b/client/src/locales/fi.json @@ -534,6 +534,10 @@ "wsUrl": { "label": "WebSocket URL", "placeholder": "wss://example.com/socket" + }, + "captureUrl": { + "label": "Capture-päätepiste", + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Yleiset asetukset", @@ -546,7 +550,7 @@ "pagespeed": "Seuraa sivun latausnopeutta, Core Web Vitals -arvoja ja optimointipisteitä verkkosivustollasi.", "grpc": "Syötä gRPC-palvelimen isäntänimi ja portti, määritä halutessasi palvelun nimi terveystarkistusta varten ja lisää näyttönimi.", "websocket": "Syötä monitoroitava WebSocket URL (esim. wss://example.com/socket) ja lisää näyttönimi.", - "hardware": "Monitoroi infrastruktuurisi CPU:n, muistin ja levyn käyttöä sekä lämpötilaa." + "hardware": "Seuraa infrastruktuurisi suorittimen, muistin, levyn käyttöä ja lämpötilaa. Capture-päätepisteen URL-osoitteen on sisällettävä koko polku /api/v1/metrics (esim. http://192.168.1.10:5001/api/v1/metrics). Liitä valtuutusavaimeen vain tokenin merkkijono — älä sisällytä sanaa 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/fr.json b/client/src/locales/fr.json index 306a2bd61..8f7057e61 100644 --- a/client/src/locales/fr.json +++ b/client/src/locales/fr.json @@ -534,6 +534,10 @@ "wsUrl": { "label": "URL WebSocket", "placeholder": "wss://example.com/socket" + }, + "captureUrl": { + "label": "Point de terminaison Capture", + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Paramètres généraux", @@ -546,7 +550,7 @@ "pagespeed": "Suivez les performances de chargement, les Core Web Vitals et les scores d'optimisation de votre site web.", "grpc": "Saisissez le nom d'hôte et le port du serveur gRPC, spécifiez éventuellement un nom de service pour le bilan de santé, et ajoutez un nom d'affichage.", "websocket": "Saisissez l'URL WebSocket à surveiller (ex. wss://example.com/socket) et ajoutez un nom d'affichage.", - "hardware": "Surveillez l'utilisation du CPU, de la mémoire, du disque et la température de votre infrastructure." + "hardware": "Surveillez l'utilisation du processeur, de la mémoire, du disque et la température de votre infrastructure. L'URL du point de terminaison Capture doit inclure le chemin complet /api/v1/metrics (par ex. http://192.168.1.10:5001/api/v1/metrics). Pour le secret d'autorisation, collez uniquement la chaîne du jeton — n'incluez pas 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/ja.json b/client/src/locales/ja.json index 923213a46..1df620670 100644 --- a/client/src/locales/ja.json +++ b/client/src/locales/ja.json @@ -534,6 +534,10 @@ "wsUrl": { "label": "WebSocket URL", "placeholder": "wss://example.com/socket" + }, + "captureUrl": { + "label": "Capture エンドポイント", + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "一般設定", @@ -546,7 +550,7 @@ "pagespeed": "Webサイトのページ読み込みパフォーマンス、Core Web Vitals、最適化スコアを追跡します。", "grpc": "gRPCサーバーのホスト名とポートを入力し、必要に応じてヘルスチェック用のサービス名を指定し、表示名を追加してください。", "websocket": "監視するWebSocket URLを入力し(例: wss://example.com/socket)、表示名を追加してください。", - "hardware": "インフラストラクチャのCPU、メモリ、ディスク使用量、温度を監視します。" + "hardware": "インフラの CPU、メモリ、ディスク使用率、温度を監視します。Capture エンドポイント URL には完全なパス /api/v1/metrics を含める必要があります (例: http://192.168.1.10:5001/api/v1/metrics)。認証シークレットにはトークン文字列のみを貼り付けてください — 'Bearer' は含めないでください。" } }, "ignoreTls": { diff --git a/client/src/locales/pt-BR.json b/client/src/locales/pt-BR.json index f7b7c4cbc..72e687bb8 100644 --- a/client/src/locales/pt-BR.json +++ b/client/src/locales/pt-BR.json @@ -534,6 +534,10 @@ "wsUrl": { "label": "URL do WebSocket", "placeholder": "wss://exemplo.com/socket" + }, + "captureUrl": { + "label": "Endpoint do Capture", + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Configurações gerais", @@ -546,7 +550,7 @@ "pagespeed": "Acompanhe o desempenho de carregamento da página, Core Web Vitals e pontuações de otimização do seu site.", "grpc": "Digite o hostname e a porta do servidor gRPC, opcionalmente especifique um nome de serviço para a verificação de saúde e adicione um nome de exibição.", "websocket": "Digite a URL do WebSocket para monitorar (ex.: wss://exemplo.com/socket) e adicione um nome de exibição.", - "hardware": "Monitore o uso de CPU, memória, disco e temperatura da sua infraestrutura." + "hardware": "Monitore o uso de CPU, memória, disco e temperatura da sua infraestrutura. A URL do endpoint do Capture deve incluir o caminho completo /api/v1/metrics (por exemplo, http://192.168.1.10:5001/api/v1/metrics). Para a chave de autorização, cole apenas a string do token — não inclua 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/ru.json b/client/src/locales/ru.json index 1a5d12452..775f5ff3b 100644 --- a/client/src/locales/ru.json +++ b/client/src/locales/ru.json @@ -534,6 +534,10 @@ "wsUrl": { "label": "WebSocket URL", "placeholder": "wss://example.com/socket" + }, + "captureUrl": { + "label": "Эндпоинт Capture", + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Основные настройки", @@ -546,7 +550,7 @@ "pagespeed": "Отслеживайте производительность загрузки, Core Web Vitals и показатели оптимизации для Вашего сайта.", "grpc": "Введите имя хоста и порт gRPC-сервера, при необходимости укажите имя сервиса для проверки состояния и добавьте отображаемое имя.", "websocket": "Введите WebSocket URL для мониторинга (напр., wss://example.com/socket) и добавьте отображаемое имя.", - "hardware": "Мониторинг CPU, памяти, дисков и температуры Вашей инфраструктуры." + "hardware": "Отслеживайте использование ЦП, памяти, диска и температуру вашей инфраструктуры. URL эндпоинта Capture должен включать полный путь /api/v1/metrics (например, http://192.168.1.10:5001/api/v1/metrics). В секрете авторизации укажите только строку токена — не включайте 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/th.json b/client/src/locales/th.json index 433ee10cd..9aa3dd781 100644 --- a/client/src/locales/th.json +++ b/client/src/locales/th.json @@ -534,6 +534,10 @@ "wsUrl": { "label": "URL ของ WebSocket", "placeholder": "wss://example.com/socket" + }, + "captureUrl": { + "label": "ปลายทาง Capture", + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "ตั้งค่าทั่วไป", @@ -546,7 +550,7 @@ "pagespeed": "ติดตามประสิทธิภาพการโหลดหน้า Core Web Vitals และคะแนนการเพิ่มประสิทธิภาพของเว็บไซต์", "grpc": "กรอกชื่อโฮสต์และพอร์ตของเซิร์ฟเวอร์ gRPC ระบุชื่อบริการสำหรับ health check (ไม่บังคับ) และตั้งชื่อที่แสดง", "websocket": "กรอก URL ของ WebSocket ที่ต้องการตรวจสอบ (เช่น wss://example.com/socket) และตั้งชื่อที่แสดง", - "hardware": "ตรวจสอบการใช้งาน CPU หน่วยความจำ ดิสก์ และอุณหภูมิของโครงสร้างพื้นฐาน" + "hardware": "ตรวจสอบการใช้ CPU หน่วยความจำ ดิสก์ และอุณหภูมิของโครงสร้างพื้นฐานของคุณ URL ของปลายทาง Capture ต้องรวมเส้นทางแบบเต็ม /api/v1/metrics (ตัวอย่าง: http://192.168.1.10:5001/api/v1/metrics) สำหรับรหัสลับสำหรับยืนยันตัวตน ให้วางเฉพาะสตริงโทเค็น — อย่ารวมคำว่า 'Bearer'" } }, "ignoreTls": { diff --git a/client/src/locales/tr.json b/client/src/locales/tr.json index a77dd8eb3..26947680b 100644 --- a/client/src/locales/tr.json +++ b/client/src/locales/tr.json @@ -534,6 +534,10 @@ "wsUrl": { "label": "WebSocket URL", "placeholder": "wss://example.com/socket" + }, + "captureUrl": { + "label": "Capture uç noktası", + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Genel ayarlar", @@ -546,7 +550,7 @@ "pagespeed": "Web sitenizin sayfa yükleme performansını, Core Web Vitals metriklerini ve optimizasyon puanlarını takip edin.", "grpc": "gRPC sunucusunun ana bilgisayar adını ve portunu girin, isteğe bağlı olarak sağlık kontrolü için bir servis adı belirtin ve bir görünen ad ekleyin.", "websocket": "İzlenecek WebSocket URL'sini girin (örn. wss://example.com/socket) ve bir görünen ad ekleyin.", - "hardware": "Altyapınız için CPU, bellek, disk kullanımı ve sıcaklığı izleyin." + "hardware": "Altyapınızın CPU, bellek, disk kullanımını ve sıcaklığını izleyin. Capture uç nokta URL'si tam yolu /api/v1/metrics içermelidir (ör. http://192.168.1.10:5001/api/v1/metrics). Yetkilendirme anahtarına yalnızca token dizesini yapıştırın — 'Bearer' eklemeyin." } }, "ignoreTls": { diff --git a/client/src/locales/uk.json b/client/src/locales/uk.json index 5b467e4b4..c74dd3d31 100644 --- a/client/src/locales/uk.json +++ b/client/src/locales/uk.json @@ -534,6 +534,10 @@ "wsUrl": { "label": "WebSocket URL", "placeholder": "wss://example.com/socket" + }, + "captureUrl": { + "label": "Точка доступу Capture", + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Загальні налаштування", @@ -546,7 +550,7 @@ "pagespeed": "Відстежуйте швидкість завантаження сторінки, показники Core Web Vitals та оцінки оптимізації Вашого сайту.", "grpc": "Введіть ім'я хоста та порт gRPC-сервера, за бажанням вкажіть назву сервісу для перевірки стану та додайте відображуване ім'я.", "websocket": "Введіть WebSocket URL для моніторингу (напр., wss://example.com/socket) та додайте відображуване ім'я.", - "hardware": "Моніторинг CPU, пам'яті, використання диска та температури Вашої інфраструктури." + "hardware": "Відстежуйте використання ЦП, пам'яті, диска та температуру вашої інфраструктури. URL точки доступу Capture має містити повний шлях /api/v1/metrics (наприклад, http://192.168.1.10:5001/api/v1/metrics). У секрет авторизації вставте лише рядок токена — не додавайте 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/vi.json b/client/src/locales/vi.json index dc3e804de..be3074ee2 100644 --- a/client/src/locales/vi.json +++ b/client/src/locales/vi.json @@ -534,6 +534,10 @@ "wsUrl": { "label": "URL WebSocket", "placeholder": "wss://example.com/socket" + }, + "captureUrl": { + "label": "Điểm cuối Capture", + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Cài đặt chung", @@ -546,7 +550,7 @@ "pagespeed": "Theo dõi hiệu suất tải trang, Core Web Vitals và điểm tối ưu hóa cho trang web của bạn.", "grpc": "Nhập tên máy chủ và cổng của máy chủ gRPC, tùy chọn chỉ định tên dịch vụ cho kiểm tra sức khỏe và thêm tên hiển thị.", "websocket": "Nhập URL WebSocket cần giám sát (vd: wss://example.com/socket) và thêm tên hiển thị.", - "hardware": "Giám sát CPU, bộ nhớ, dung lượng ổ đĩa và nhiệt độ cho hạ tầng của bạn." + "hardware": "Giám sát mức sử dụng CPU, bộ nhớ, ổ đĩa và nhiệt độ của hạ tầng. URL điểm cuối Capture phải bao gồm đường dẫn đầy đủ /api/v1/metrics (ví dụ: http://192.168.1.10:5001/api/v1/metrics). Đối với khóa xác thực, chỉ dán chuỗi token — không bao gồm 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/zh-CN.json b/client/src/locales/zh-CN.json index ed5e70c1e..2a5037f86 100644 --- a/client/src/locales/zh-CN.json +++ b/client/src/locales/zh-CN.json @@ -534,6 +534,10 @@ "wsUrl": { "label": "WebSocket URL", "placeholder": "wss://example.com/socket" + }, + "captureUrl": { + "label": "Capture 端点", + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "常规设置", @@ -546,7 +550,7 @@ "pagespeed": "跟踪网站的页面加载性能、Core Web Vitals 和优化评分。", "grpc": "输入 gRPC 服务器的主机名和端口,可选指定健康检查的服务名称,并添加显示名称。", "websocket": "输入要监控的 WebSocket URL(例如 wss://example.com/socket),并添加显示名称。", - "hardware": "监控基础设施的 CPU、内存、磁盘使用率和温度。" + "hardware": "监控基础设施的 CPU、内存、磁盘使用情况和温度。Capture 端点 URL 必须包含完整路径 /api/v1/metrics(例如 http://192.168.1.10:5001/api/v1/metrics)。授权密钥只需粘贴令牌字符串——请勿包含 'Bearer'。" } }, "ignoreTls": { diff --git a/client/src/locales/zh-TW.json b/client/src/locales/zh-TW.json index ff6e9f6dd..8d0975d1b 100644 --- a/client/src/locales/zh-TW.json +++ b/client/src/locales/zh-TW.json @@ -534,6 +534,10 @@ "wsUrl": { "label": "WebSocket URL", "placeholder": "wss://example.com/socket" + }, + "captureUrl": { + "label": "Capture 端點", + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "一般設定", @@ -546,7 +550,7 @@ "pagespeed": "追蹤您網站的頁面載入效能、Core Web Vitals 和最佳化分數。", "grpc": "輸入 gRPC 伺服器的主機名稱和連接埠,可選擇指定健康檢查的服務名稱,並新增一個顯示名稱。", "websocket": "輸入要監控的 WebSocket URL(例如 wss://example.com/socket),並新增一個顯示名稱。", - "hardware": "監控您基礎架構的 CPU、記憶體、磁碟使用量和溫度。" + "hardware": "監控基礎架構的 CPU、記憶體、磁碟使用情況和溫度。Capture 端點 URL 必須包含完整路徑 /api/v1/metrics(例如 http://192.168.1.10:5001/api/v1/metrics)。授權密鑰僅貼上權杖字串——請勿包含 'Bearer'。" } }, "ignoreTls": {