refactor(infrastructure): move capture-form guidance to ConfigBox subtitle

The previous commit added inline helperText under the URL and Secret
fields, but no other form in the codebase uses helperText for static
guidance — only for validation errors. The project's pattern for setup
guidance is the ConfigBox subtitle text on the left side of the form,
populated from pages.createMonitor.form.general.description.<type>.

Move the guidance there so this form follows the same convention as
every other monitor type.

- Remove urlHelperText / secretHelperText from GeneralSettingsConfig
- Remove the new helperText props on the URL and Secret TextFields
- Drop captureUrl.helperText and secret.helperText keys from all
  16 locales
- Beef up description.hardware to mention the /api/v1/metrics path
  requirement and the no-Bearer-prefix rule

The realistic captureUrl placeholder (added in the previous commit)
stays — it does most of the URL-disambiguation work on its own.
This commit is contained in:
gorkem-bwl committed 2026-05-01 18:01:44 -04:00
1 parent d5cd957bbd
commit 63c1a60b06
17 files changed
+50 -94

No files matched your search

+2 -14
View File
@@ -44,13 +44,11 @@ import type { MonitorFormData } from "@/Validation/monitor";
interface GeneralSettingsConfig { interface GeneralSettingsConfig {
urlLabel: string; urlLabel: string;
urlPlaceholder: string; urlPlaceholder: string;
urlHelperText?: string;
namePlaceholder: string; namePlaceholder: string;
showUrl: boolean; showUrl: boolean;
showPort: boolean; showPort: boolean;
showGameSelect: boolean; showGameSelect: boolean;
showSecret: boolean; showSecret: boolean;
secretHelperText?: string;
showGrpcServiceName: boolean; showGrpcServiceName: boolean;
showIgnoreTls: boolean; showIgnoreTls: boolean;
} }
@@ -140,13 +138,11 @@ const getGeneralSettingsConfig = (
hardware: { hardware: {
urlLabel: t("pages.createMonitor.form.general.option.captureUrl.label"), urlLabel: t("pages.createMonitor.form.general.option.captureUrl.label"),
urlPlaceholder: t("pages.createMonitor.form.general.option.captureUrl.placeholder"), urlPlaceholder: t("pages.createMonitor.form.general.option.captureUrl.placeholder"),
urlHelperText: t("pages.createMonitor.form.general.option.captureUrl.helperText"),
namePlaceholder: t("pages.createMonitor.form.general.option.name.placeholder"), namePlaceholder: t("pages.createMonitor.form.general.option.name.placeholder"),
showUrl: true, showUrl: true,
showPort: false, showPort: false,
showGameSelect: false, showGameSelect: false,
showSecret: true, showSecret: true,
secretHelperText: t("pages.createMonitor.form.general.option.secret.helperText"),
showGrpcServiceName: false, showGrpcServiceName: false,
showIgnoreTls: false, showIgnoreTls: false,
}, },
@@ -393,11 +389,7 @@ const CreateMonitorPage = () => {
fullWidth fullWidth
disabled={isEditMode} disabled={isEditMode}
error={!!fieldState.error} error={!!fieldState.error}
helperText={ helperText={fieldState.error?.message ?? ""}
fieldState.error?.message ??
generalSettingsConfig.urlHelperText ??
""
}
/> />
)} )}
/> />
@@ -498,11 +490,7 @@ const CreateMonitorPage = () => {
)} )}
fullWidth fullWidth
error={!!fieldState.error} error={!!fieldState.error}
helperText={ helperText={fieldState.error?.message ?? ""}
fieldState.error?.message ??
generalSettingsConfig.secretHelperText ??
""
}
/> />
)} )}
/> />
+3 -5
View File
@@ -513,8 +513,7 @@
}, },
"secret": { "secret": {
"label": "مفتاح التفويض", "label": "مفتاح التفويض",
"placeholder": "أدخل مفتاحك السري", "placeholder": "أدخل مفتاحك السري"
"helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically."
}, },
"url": { "url": {
"label": "URL", "label": "URL",
@@ -538,8 +537,7 @@
}, },
"captureUrl": { "captureUrl": {
"label": "Capture endpoint", "label": "Capture endpoint",
"placeholder": "http://192.168.1.10:5001/api/v1/metrics", "placeholder": "http://192.168.1.10:5001/api/v1/metrics"
"helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics"
} }
}, },
"title": "الإعدادات العامة", "title": "الإعدادات العامة",
@@ -552,7 +550,7 @@
"pagespeed": "تتبع أداء تحميل الصفحة ومؤشرات Core Web Vitals ودرجات التحسين لموقعك.", "pagespeed": "تتبع أداء تحميل الصفحة ومؤشرات Core Web Vitals ودرجات التحسين لموقعك.",
"grpc": "أدخل اسم المضيف ومنفذ خادم gRPC، وحدد اختيارياً اسم خدمة لفحص الصحة، وأضف اسم عرض.", "grpc": "أدخل اسم المضيف ومنفذ خادم gRPC، وحدد اختيارياً اسم خدمة لفحص الصحة، وأضف اسم عرض.",
"websocket": "أدخل رابط WebSocket للمراقبة (مثال: wss://example.com/socket) وأضف اسم عرض.", "websocket": "أدخل رابط WebSocket للمراقبة (مثال: wss://example.com/socket) وأضف اسم عرض.",
"hardware": "مراقبة استخدام CPU والذاكرة والقرص ودرجة الحرارة للبنية التحتية الخاصة بك." "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": { "ignoreTls": {
+3 -5
View File
@@ -513,8 +513,7 @@
}, },
"secret": { "secret": {
"label": "Autorizační tajný klíč", "label": "Autorizační tajný klíč",
"placeholder": "Zadejte svůj tajný klíč", "placeholder": "Zadejte svůj tajný klíč"
"helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically."
}, },
"url": { "url": {
"label": "URL", "label": "URL",
@@ -538,8 +537,7 @@
}, },
"captureUrl": { "captureUrl": {
"label": "Capture endpoint", "label": "Capture endpoint",
"placeholder": "http://192.168.1.10:5001/api/v1/metrics", "placeholder": "http://192.168.1.10:5001/api/v1/metrics"
"helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics"
} }
}, },
"title": "Obecná nastavení", "title": "Obecná nastavení",
@@ -552,7 +550,7 @@
"pagespeed": "Sledujte výkon načítání stránky, metriky Core Web Vitals a hodnocení optimalizace vašeho webu.", "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.", "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.", "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": "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": { "ignoreTls": {
+3 -5
View File
@@ -513,8 +513,7 @@
}, },
"secret": { "secret": {
"label": "Autorisierungsschlüssel", "label": "Autorisierungsschlüssel",
"placeholder": "Geben Sie Ihren geheimen Schlüssel ein", "placeholder": "Geben Sie Ihren geheimen Schlüssel ein"
"helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically."
}, },
"url": { "url": {
"label": "URL", "label": "URL",
@@ -538,8 +537,7 @@
}, },
"captureUrl": { "captureUrl": {
"label": "Capture endpoint", "label": "Capture endpoint",
"placeholder": "http://192.168.1.10:5001/api/v1/metrics", "placeholder": "http://192.168.1.10:5001/api/v1/metrics"
"helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics"
} }
}, },
"title": "Allgemeine Einstellungen", "title": "Allgemeine Einstellungen",
@@ -552,7 +550,7 @@
"pagespeed": "Verfolgen Sie die Ladezeit, Core Web Vitals und Optimierungswerte Ihrer Website.", "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.", "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.", "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": "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": { "ignoreTls": {
+3 -5
View File
@@ -513,8 +513,7 @@
}, },
"secret": { "secret": {
"label": "Authorization secret", "label": "Authorization secret",
"placeholder": "Enter your secret key", "placeholder": "Enter your secret key"
"helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically."
}, },
"url": { "url": {
"label": "URL", "label": "URL",
@@ -538,8 +537,7 @@
}, },
"captureUrl": { "captureUrl": {
"label": "Capture endpoint", "label": "Capture endpoint",
"placeholder": "http://192.168.1.10:5001/api/v1/metrics", "placeholder": "http://192.168.1.10:5001/api/v1/metrics"
"helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics"
} }
}, },
"title": "General settings", "title": "General settings",
@@ -552,7 +550,7 @@
"pagespeed": "Track page load performance, Core Web Vitals, and optimization scores for your website.", "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.", "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.", "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": { "ignoreTls": {
+3 -5
View File
@@ -520,8 +520,7 @@
}, },
"secret": { "secret": {
"label": "Secreto de autorización", "label": "Secreto de autorización",
"placeholder": "Ingrese su clave secreta", "placeholder": "Ingrese su clave secreta"
"helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically."
}, },
"url": { "url": {
"label": "URL", "label": "URL",
@@ -545,8 +544,7 @@
}, },
"captureUrl": { "captureUrl": {
"label": "Capture endpoint", "label": "Capture endpoint",
"placeholder": "http://192.168.1.10:5001/api/v1/metrics", "placeholder": "http://192.168.1.10:5001/api/v1/metrics"
"helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics"
} }
}, },
"title": "Configuración general", "title": "Configuración general",
@@ -559,7 +557,7 @@
"pagespeed": "Rastree el rendimiento de carga de página, Core Web Vitals y puntuaciones de optimización de su sitio web.", "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.", "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.", "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": "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": { "ignoreTls": {
+3 -5
View File
@@ -513,8 +513,7 @@
}, },
"secret": { "secret": {
"label": "Valtuutusavain", "label": "Valtuutusavain",
"placeholder": "Syötä salausavaimesi", "placeholder": "Syötä salausavaimesi"
"helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically."
}, },
"url": { "url": {
"label": "URL", "label": "URL",
@@ -538,8 +537,7 @@
}, },
"captureUrl": { "captureUrl": {
"label": "Capture endpoint", "label": "Capture endpoint",
"placeholder": "http://192.168.1.10:5001/api/v1/metrics", "placeholder": "http://192.168.1.10:5001/api/v1/metrics"
"helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics"
} }
}, },
"title": "Yleiset asetukset", "title": "Yleiset asetukset",
@@ -552,7 +550,7 @@
"pagespeed": "Seuraa sivun latausnopeutta, Core Web Vitals -arvoja ja optimointipisteitä verkkosivustollasi.", "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.", "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.", "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": "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": { "ignoreTls": {
+3 -5
View File
@@ -513,8 +513,7 @@
}, },
"secret": { "secret": {
"label": "Secret d'autorisation", "label": "Secret d'autorisation",
"placeholder": "Saisissez votre clé secrète", "placeholder": "Saisissez votre clé secrète"
"helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically."
}, },
"url": { "url": {
"label": "URL", "label": "URL",
@@ -538,8 +537,7 @@
}, },
"captureUrl": { "captureUrl": {
"label": "Capture endpoint", "label": "Capture endpoint",
"placeholder": "http://192.168.1.10:5001/api/v1/metrics", "placeholder": "http://192.168.1.10:5001/api/v1/metrics"
"helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics"
} }
}, },
"title": "Paramètres généraux", "title": "Paramètres généraux",
@@ -552,7 +550,7 @@
"pagespeed": "Suivez les performances de chargement, les Core Web Vitals et les scores d'optimisation de votre site web.", "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.", "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.", "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": "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": { "ignoreTls": {
+3 -5
View File
@@ -513,8 +513,7 @@
}, },
"secret": { "secret": {
"label": "認証シークレット", "label": "認証シークレット",
"placeholder": "シークレットキーを入力", "placeholder": "シークレットキーを入力"
"helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically."
}, },
"url": { "url": {
"label": "URL", "label": "URL",
@@ -538,8 +537,7 @@
}, },
"captureUrl": { "captureUrl": {
"label": "Capture endpoint", "label": "Capture endpoint",
"placeholder": "http://192.168.1.10:5001/api/v1/metrics", "placeholder": "http://192.168.1.10:5001/api/v1/metrics"
"helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics"
} }
}, },
"title": "一般設定", "title": "一般設定",
@@ -552,7 +550,7 @@
"pagespeed": "Webサイトのページ読み込みパフォーマンス、Core Web Vitals、最適化スコアを追跡します。", "pagespeed": "Webサイトのページ読み込みパフォーマンス、Core Web Vitals、最適化スコアを追跡します。",
"grpc": "gRPCサーバーのホスト名とポートを入力し、必要に応じてヘルスチェック用のサービス名を指定し、表示名を追加してください。", "grpc": "gRPCサーバーのホスト名とポートを入力し、必要に応じてヘルスチェック用のサービス名を指定し、表示名を追加してください。",
"websocket": "監視するWebSocket URLを入力し(例: wss://example.com/socket)、表示名を追加してください。", "websocket": "監視するWebSocket URLを入力し(例: wss://example.com/socket)、表示名を追加してください。",
"hardware": "インフラストラクチャのCPU、メモリ、ディスク使用量、温度を監視します。" "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": { "ignoreTls": {
+3 -5
View File
@@ -513,8 +513,7 @@
}, },
"secret": { "secret": {
"label": "Chave de autorização", "label": "Chave de autorização",
"placeholder": "Digite sua chave secreta", "placeholder": "Digite sua chave secreta"
"helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically."
}, },
"url": { "url": {
"label": "URL", "label": "URL",
@@ -538,8 +537,7 @@
}, },
"captureUrl": { "captureUrl": {
"label": "Capture endpoint", "label": "Capture endpoint",
"placeholder": "http://192.168.1.10:5001/api/v1/metrics", "placeholder": "http://192.168.1.10:5001/api/v1/metrics"
"helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics"
} }
}, },
"title": "Configurações gerais", "title": "Configurações gerais",
@@ -552,7 +550,7 @@
"pagespeed": "Acompanhe o desempenho de carregamento da página, Core Web Vitals e pontuações de otimização do seu site.", "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.", "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.", "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": "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": { "ignoreTls": {
+3 -5
View File
@@ -513,8 +513,7 @@
}, },
"secret": { "secret": {
"label": "Секрет авторизации", "label": "Секрет авторизации",
"placeholder": "Введите Ваш секретный ключ", "placeholder": "Введите Ваш секретный ключ"
"helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically."
}, },
"url": { "url": {
"label": "URL", "label": "URL",
@@ -538,8 +537,7 @@
}, },
"captureUrl": { "captureUrl": {
"label": "Capture endpoint", "label": "Capture endpoint",
"placeholder": "http://192.168.1.10:5001/api/v1/metrics", "placeholder": "http://192.168.1.10:5001/api/v1/metrics"
"helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics"
} }
}, },
"title": "Основные настройки", "title": "Основные настройки",
@@ -552,7 +550,7 @@
"pagespeed": "Отслеживайте производительность загрузки, Core Web Vitals и показатели оптимизации для Вашего сайта.", "pagespeed": "Отслеживайте производительность загрузки, Core Web Vitals и показатели оптимизации для Вашего сайта.",
"grpc": "Введите имя хоста и порт gRPC-сервера, при необходимости укажите имя сервиса для проверки состояния и добавьте отображаемое имя.", "grpc": "Введите имя хоста и порт gRPC-сервера, при необходимости укажите имя сервиса для проверки состояния и добавьте отображаемое имя.",
"websocket": "Введите WebSocket URL для мониторинга (напр., wss://example.com/socket) и добавьте отображаемое имя.", "websocket": "Введите WebSocket URL для мониторинга (напр., wss://example.com/socket) и добавьте отображаемое имя.",
"hardware": "Мониторинг CPU, памяти, дисков и температуры Вашей инфраструктуры." "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": { "ignoreTls": {
+3 -5
View File
@@ -513,8 +513,7 @@
}, },
"secret": { "secret": {
"label": "รหัสลับสำหรับยืนยันตัวตน", "label": "รหัสลับสำหรับยืนยันตัวตน",
"placeholder": "กรอกรหัสลับของคุณ", "placeholder": "กรอกรหัสลับของคุณ"
"helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically."
}, },
"url": { "url": {
"label": "URL", "label": "URL",
@@ -538,8 +537,7 @@
}, },
"captureUrl": { "captureUrl": {
"label": "Capture endpoint", "label": "Capture endpoint",
"placeholder": "http://192.168.1.10:5001/api/v1/metrics", "placeholder": "http://192.168.1.10:5001/api/v1/metrics"
"helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics"
} }
}, },
"title": "ตั้งค่าทั่วไป", "title": "ตั้งค่าทั่วไป",
@@ -552,7 +550,7 @@
"pagespeed": "ติดตามประสิทธิภาพการโหลดหน้า Core Web Vitals และคะแนนการเพิ่มประสิทธิภาพของเว็บไซต์", "pagespeed": "ติดตามประสิทธิภาพการโหลดหน้า Core Web Vitals และคะแนนการเพิ่มประสิทธิภาพของเว็บไซต์",
"grpc": "กรอกชื่อโฮสต์และพอร์ตของเซิร์ฟเวอร์ gRPC ระบุชื่อบริการสำหรับ health check (ไม่บังคับ) และตั้งชื่อที่แสดง", "grpc": "กรอกชื่อโฮสต์และพอร์ตของเซิร์ฟเวอร์ gRPC ระบุชื่อบริการสำหรับ health check (ไม่บังคับ) และตั้งชื่อที่แสดง",
"websocket": "กรอก URL ของ WebSocket ที่ต้องการตรวจสอบ (เช่น wss://example.com/socket) และตั้งชื่อที่แสดง", "websocket": "กรอก URL ของ WebSocket ที่ต้องการตรวจสอบ (เช่น wss://example.com/socket) และตั้งชื่อที่แสดง",
"hardware": "ตรวจสอบการใช้งาน CPU หน่วยความจำ ดิสก์ และอุณหภูมิของโครงสร้างพื้นฐาน" "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": { "ignoreTls": {
+3 -5
View File
@@ -513,8 +513,7 @@
}, },
"secret": { "secret": {
"label": "Yetkilendirme anahtarı", "label": "Yetkilendirme anahtarı",
"placeholder": "Gizli anahtarınızı girin", "placeholder": "Gizli anahtarınızı girin"
"helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically."
}, },
"url": { "url": {
"label": "URL", "label": "URL",
@@ -538,8 +537,7 @@
}, },
"captureUrl": { "captureUrl": {
"label": "Capture endpoint", "label": "Capture endpoint",
"placeholder": "http://192.168.1.10:5001/api/v1/metrics", "placeholder": "http://192.168.1.10:5001/api/v1/metrics"
"helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics"
} }
}, },
"title": "Genel ayarlar", "title": "Genel ayarlar",
@@ -552,7 +550,7 @@
"pagespeed": "Web sitenizin sayfa yükleme performansını, Core Web Vitals metriklerini ve optimizasyon puanlarını takip edin.", "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.", "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.", "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": "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": { "ignoreTls": {
+3 -5
View File
@@ -513,8 +513,7 @@
}, },
"secret": { "secret": {
"label": "Секрет авторизації", "label": "Секрет авторизації",
"placeholder": "Введіть Ваш секретний ключ", "placeholder": "Введіть Ваш секретний ключ"
"helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically."
}, },
"url": { "url": {
"label": "URL", "label": "URL",
@@ -538,8 +537,7 @@
}, },
"captureUrl": { "captureUrl": {
"label": "Capture endpoint", "label": "Capture endpoint",
"placeholder": "http://192.168.1.10:5001/api/v1/metrics", "placeholder": "http://192.168.1.10:5001/api/v1/metrics"
"helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics"
} }
}, },
"title": "Загальні налаштування", "title": "Загальні налаштування",
@@ -552,7 +550,7 @@
"pagespeed": "Відстежуйте швидкість завантаження сторінки, показники Core Web Vitals та оцінки оптимізації Вашого сайту.", "pagespeed": "Відстежуйте швидкість завантаження сторінки, показники Core Web Vitals та оцінки оптимізації Вашого сайту.",
"grpc": "Введіть ім'я хоста та порт gRPC-сервера, за бажанням вкажіть назву сервісу для перевірки стану та додайте відображуване ім'я.", "grpc": "Введіть ім'я хоста та порт gRPC-сервера, за бажанням вкажіть назву сервісу для перевірки стану та додайте відображуване ім'я.",
"websocket": "Введіть WebSocket URL для моніторингу (напр., wss://example.com/socket) та додайте відображуване ім'я.", "websocket": "Введіть WebSocket URL для моніторингу (напр., wss://example.com/socket) та додайте відображуване ім'я.",
"hardware": "Моніторинг CPU, пам'яті, використання диска та температури Вашої інфраструктури." "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": { "ignoreTls": {
+3 -5
View File
@@ -513,8 +513,7 @@
}, },
"secret": { "secret": {
"label": "Khóa xác thực", "label": "Khóa xác thực",
"placeholder": "Nhập khóa bí mật của bạn", "placeholder": "Nhập khóa bí mật của bạn"
"helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically."
}, },
"url": { "url": {
"label": "URL", "label": "URL",
@@ -538,8 +537,7 @@
}, },
"captureUrl": { "captureUrl": {
"label": "Capture endpoint", "label": "Capture endpoint",
"placeholder": "http://192.168.1.10:5001/api/v1/metrics", "placeholder": "http://192.168.1.10:5001/api/v1/metrics"
"helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics"
} }
}, },
"title": "Cài đặt chung", "title": "Cài đặt chung",
@@ -552,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.", "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ị.", "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ị.", "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": "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": { "ignoreTls": {
+3 -5
View File
@@ -513,8 +513,7 @@
}, },
"secret": { "secret": {
"label": "授权密钥", "label": "授权密钥",
"placeholder": "输入您的密钥", "placeholder": "输入您的密钥"
"helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically."
}, },
"url": { "url": {
"label": "URL", "label": "URL",
@@ -538,8 +537,7 @@
}, },
"captureUrl": { "captureUrl": {
"label": "Capture endpoint", "label": "Capture endpoint",
"placeholder": "http://192.168.1.10:5001/api/v1/metrics", "placeholder": "http://192.168.1.10:5001/api/v1/metrics"
"helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics"
} }
}, },
"title": "常规设置", "title": "常规设置",
@@ -552,7 +550,7 @@
"pagespeed": "跟踪网站的页面加载性能、Core Web Vitals 和优化评分。", "pagespeed": "跟踪网站的页面加载性能、Core Web Vitals 和优化评分。",
"grpc": "输入 gRPC 服务器的主机名和端口,可选指定健康检查的服务名称,并添加显示名称。", "grpc": "输入 gRPC 服务器的主机名和端口,可选指定健康检查的服务名称,并添加显示名称。",
"websocket": "输入要监控的 WebSocket URL(例如 wss://example.com/socket),并添加显示名称。", "websocket": "输入要监控的 WebSocket URL(例如 wss://example.com/socket),并添加显示名称。",
"hardware": "监控基础设施的 CPU、内存、磁盘使用率和温度。" "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": { "ignoreTls": {
+3 -5
View File
@@ -513,8 +513,7 @@
}, },
"secret": { "secret": {
"label": "授權密鑰", "label": "授權密鑰",
"placeholder": "輸入您的密鑰", "placeholder": "輸入您的密鑰"
"helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically."
}, },
"url": { "url": {
"label": "URL", "label": "URL",
@@ -538,8 +537,7 @@
}, },
"captureUrl": { "captureUrl": {
"label": "Capture endpoint", "label": "Capture endpoint",
"placeholder": "http://192.168.1.10:5001/api/v1/metrics", "placeholder": "http://192.168.1.10:5001/api/v1/metrics"
"helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics"
} }
}, },
"title": "一般設定", "title": "一般設定",
@@ -552,7 +550,7 @@
"pagespeed": "追蹤您網站的頁面載入效能、Core Web Vitals 和最佳化分數。", "pagespeed": "追蹤您網站的頁面載入效能、Core Web Vitals 和最佳化分數。",
"grpc": "輸入 gRPC 伺服器的主機名稱和連接埠,可選擇指定健康檢查的服務名稱,並新增一個顯示名稱。", "grpc": "輸入 gRPC 伺服器的主機名稱和連接埠,可選擇指定健康檢查的服務名稱,並新增一個顯示名稱。",
"websocket": "輸入要監控的 WebSocket URL(例如 wss://example.com/socket),並新增一個顯示名稱。", "websocket": "輸入要監控的 WebSocket URL(例如 wss://example.com/socket),並新增一個顯示名稱。",
"hardware": "監控您基礎架構的 CPU、記憶體、磁碟使用量和溫度。" "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": { "ignoreTls": {