Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/features/14777-proxy-log-observed-fields.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- **feat(dashboard):** proxy log journal shows received code, exit address, correlation and served account ([#14777](https://github.com/diegosouzapw/OmniRoute/pull/14777)) — thanks @maxmad64bis
12 changes: 10 additions & 2 deletions src/app/(dashboard)/dashboard/logs/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ function LogsPageContent() {
// Read ONCE: #6830 fixed the detail modal reopening on first close by freezing this
// value, and the #8354 page rewrite regressed it by reading the live searchParams on
// every render — the prop flips mid-session and re-fires the child's deep-link effect
// exactly when the modal closes.
// exactly when the modal closes. Same freeze applies to ?correlationId=: a same-page
// navigation to a new correlation link needs a full remount (key change) to take
// effect — mirrored from initialId on purpose.
const [initialId] = useState(() => searchParams.get("id"));
const [initialCorrelationId] = useState(() => searchParams.get("correlationId"));

const [showExport, setShowExport] = useState(false);
const [exporting, setExporting] = useState(false);
Expand Down Expand Up @@ -218,7 +221,12 @@ function LogsPageContent() {
)}

<div className="min-h-0">
<RequestLoggerV2 key={requestLogKey} ref={requestLoggerRef} initialSelectedId={initialId} />
<RequestLoggerV2
key={requestLogKey}
ref={requestLoggerRef}
initialSelectedId={initialId}
initialCorrelationId={initialCorrelationId}
/>
</div>

<ConfirmModal
Expand Down
36 changes: 24 additions & 12 deletions src/i18n/messages/am.json
Original file line number Diff line number Diff line change
Expand Up @@ -3790,6 +3790,15 @@
"disableSessionStickiness": "የክፍለ ጊዜ ተጣባቂነትን አሰናክል",
"sessionStickinessEnabled": "ተጣባቂነት በርቷል",
"sessionStickinessDisabled": "ተጣባቂነት ጠፍቷል",
"stickyLimitEffective": "Effective {value} ({source})",
"stickyLimitSourceCombo": "combo",
"stickyLimitSourceComboDefaults": "combo defaults",
"stickyLimitSourceGlobal": "global default",
"connectionAwareExpansion": "Connection-aware expansion",
"triStateInherit": "inherit",
"connectionAwareExpansionOn": "On",
"connectionAwareExpansionOff": "Off",
"promptCacheAffinityHint": "Prompt-cache locality routing takes precedence over round-robin/weighted rotation across pinned accounts. Turn it off under Settings, Combo defaults, if you need strict rotation.",
"kimiPresetTitle": "የKimi Coding ቅድመ-ቅንብር",
"kimiPresetDescription": "Kimi K3 እንደ ዋና ሞዴል (Moonshot API)፣ ሲዋቀሩ ደግሞ ወደ Kimi Code ግንኙነቶችዎ (kimi-coding, kimi-web) በራስ-ሰር የሚቀየር ምትኬ ያለው።",
"kimiPresetCta": "ቅድመ-ቅንብር አክል",
Expand All @@ -3805,16 +3814,7 @@
"duplicateAutoComboSnapshotMsg": "ይህ ከዚህ አብነት ጋር የሚዛመዱትን በአሁኑ ጊዜ የተገናኙ አቅራቢዎች/ሞዴሎች ቅጽበታዊ ቅጂ ወደሚስተካከል ጥምረት ይቀይራል።",
"duplicateAutoComboFailedPrefix": "ራስ-ሰር ጥምረቱን ማባዛት አልተሳካም፦",
"duplicateAutoComboUnknownError": "ያልታወቀ ስህተት",
"duplicateAutoComboTitle": "ከ{name} የማይለወጥ ጥምረት ፍጠር",
"stickyLimitEffective": "Effective {value} ({source})",
"stickyLimitSourceCombo": "combo",
"stickyLimitSourceComboDefaults": "combo defaults",
"stickyLimitSourceGlobal": "global default",
"connectionAwareExpansion": "Connection-aware expansion",
"triStateInherit": "inherit",
"connectionAwareExpansionOn": "On",
"connectionAwareExpansionOff": "Off",
"promptCacheAffinityHint": "Prompt-cache locality routing takes precedence over round-robin/weighted rotation across pinned accounts. Turn it off under Settings, Combo defaults, if you need strict rotation."
"duplicateAutoComboTitle": "ከ{name} የማይለወጥ ጥምረት ፍጠር"
},
"costs": {
"title": "ወጪዎች",
Expand Down Expand Up @@ -11537,7 +11537,14 @@
"noProxyLogs": "እስካሁን ምንም የፕሮክሲ ምዝግብ ማስታወሻዎች የሉም። ፕሮክሲዎችን ያዋቅሩ እና እዚህ ለማየት የAPI ጥሪዎችን ያድርጉ።",
"noMatchingLogs": "ከአሁኑ ማጣሪያዎች ጋር የሚዛመዱ ምዝግብ ማስታወሻዎች የሉም።",
"tlsFingerprint": "Chrome 124 TLS አሻራ",
"colPublicIp": "ይፋዊ IP"
"colPublicIp": "ይፋዊ IP",
"colUpstream": "ከላይ ያለው",
"colEgress": "ወጣት አይፒ",
"colCorrelation": "የተያያዘ",
"colServedBy": "የተሰጠ በ",
"filterTraffic": "ትራፊክ",
"filterTests": "ፈተናዎች",
"filterSource": "ምንጭ"
},
"endpointOptions": {
"speech": "ንግግር",
Expand Down Expand Up @@ -14119,7 +14126,12 @@
"directNative": "ቀጥታ (ቤተኛ)",
"targetUrl": "ዒላማ URL",
"error": "ስህተት",
"configuration": "የፕሮክሲ ውቅር"
"configuration": "የፕሮክሲ ውቅር",
"upstreamStatus": "ከላይ የሚገኝ ሁኔታ",
"noResponse": "አንድ እንደማይመልስ",
"egressIp": "ወጣት አይፒ",
"servedBy": "የተሰጠ በ",
"correlationId": "የተያያዘ መለያ"
},
"requestTimeline": {
"title": "የጥያቄ ጊዜ መስመር",
Expand Down
36 changes: 24 additions & 12 deletions src/i18n/messages/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -3790,6 +3790,15 @@
"disableSessionStickiness": "تعطيل ثبات الجلسة",
"sessionStickinessEnabled": "تم تشغيل الثبات",
"sessionStickinessDisabled": "تم إيقاف الثبات",
"stickyLimitEffective": "Effective {value} ({source})",
"stickyLimitSourceCombo": "combo",
"stickyLimitSourceComboDefaults": "combo defaults",
"stickyLimitSourceGlobal": "global default",
"connectionAwareExpansion": "Connection-aware expansion",
"triStateInherit": "inherit",
"connectionAwareExpansionOn": "On",
"connectionAwareExpansionOff": "Off",
"promptCacheAffinityHint": "Prompt-cache locality routing takes precedence over round-robin/weighted rotation across pinned accounts. Turn it off under Settings, Combo defaults, if you need strict rotation.",
"kimiPresetTitle": "إعداد Kimi Coding المسبق",
"kimiPresetDescription": "نموذج Kimi K3 كنموذج أساسي (Moonshot API)، مع تراجع تلقائي إلى اتصالات Kimi Code الخاصة بك (kimi-coding، kimi-web) عند تكوينها.",
"kimiPresetCta": "إضافة الإعداد المسبق",
Expand All @@ -3805,16 +3814,7 @@
"duplicateAutoComboSnapshotMsg": "سيؤدي هذا إلى التقاط المزودين/النماذج المتصلة حاليًا التي تطابق هذا القالب في مجموعة قابلة للتحرير.",
"duplicateAutoComboFailedPrefix": "فشل تكرار المجموعة التلقائية:",
"duplicateAutoComboUnknownError": "خطأ غير معروف",
"duplicateAutoComboTitle": "إنشاء مجموعة ثابتة من {name}",
"stickyLimitEffective": "Effective {value} ({source})",
"stickyLimitSourceCombo": "combo",
"stickyLimitSourceComboDefaults": "combo defaults",
"stickyLimitSourceGlobal": "global default",
"connectionAwareExpansion": "Connection-aware expansion",
"triStateInherit": "inherit",
"connectionAwareExpansionOn": "On",
"connectionAwareExpansionOff": "Off",
"promptCacheAffinityHint": "Prompt-cache locality routing takes precedence over round-robin/weighted rotation across pinned accounts. Turn it off under Settings, Combo defaults, if you need strict rotation."
"duplicateAutoComboTitle": "إنشاء مجموعة ثابتة من {name}"
},
"costs": {
"title": "التكاليف",
Expand Down Expand Up @@ -11537,7 +11537,14 @@
"noProxyLogs": "لا توجد سجلات بروكسي حتى الآن. كوّن البروكسيات وأجرِ استدعاءات API لعرضها هنا.",
"noMatchingLogs": "لا توجد سجلات تتطابق مع عوامل التصفية الحالية.",
"tlsFingerprint": "بصمة TLS لـ Chrome 124",
"colPublicIp": "عنوان IP العام"
"colPublicIp": "عنوان IP العام",
"colUpstream": "التيار العلوي",
"colEgress": "عنوان IP الصادر",
"colCorrelation": "التوافق",
"colServedBy": "مقدم بواسطة",
"filterTraffic": "حركة المرور",
"filterTests": "اختبارات",
"filterSource": "المصدر"
},
"endpointOptions": {
"speech": "تحويل النص إلى كلام",
Expand Down Expand Up @@ -14119,7 +14126,12 @@
"directNative": "مباشر",
"targetUrl": "عنوان URL المستهدف",
"error": "خطأ",
"configuration": "تكوين الوكيل"
"configuration": "تكوين الوكيل",
"upstreamStatus": "حالة التيار العلوي",
"noResponse": "لا توجد استجابة",
"egressIp": "عنوان IP الصادر",
"servedBy": "مقدم بواسطة",
"correlationId": "معرف التوافق"
},
"requestTimeline": {
"title": "جدول زمني للطلب",
Expand Down
36 changes: 24 additions & 12 deletions src/i18n/messages/az.json
Original file line number Diff line number Diff line change
Expand Up @@ -3790,6 +3790,15 @@
"disableSessionStickiness": "Sessiya yapışqanlığını söndürün",
"sessionStickinessEnabled": "Yapışqanlıq aktivdir",
"sessionStickinessDisabled": "Yapışqanlıq qapalıdır",
"stickyLimitEffective": "Effective {value} ({source})",
"stickyLimitSourceCombo": "combo",
"stickyLimitSourceComboDefaults": "combo defaults",
"stickyLimitSourceGlobal": "global default",
"connectionAwareExpansion": "Connection-aware expansion",
"triStateInherit": "inherit",
"connectionAwareExpansionOn": "On",
"connectionAwareExpansionOff": "Off",
"promptCacheAffinityHint": "Prompt-cache locality routing takes precedence over round-robin/weighted rotation across pinned accounts. Turn it off under Settings, Combo defaults, if you need strict rotation.",
"kimiPresetTitle": "Kimi Coding hazır ayarı",
"kimiPresetDescription": "Əsas model olaraq Kimi K3 (Moonshot API), konfiqurasiya edildikdə Kimi Code bağlantılarınıza (kimi-coding, kimi-web) avtomatik keçid ilə.",
"kimiPresetCta": "Hazır ayarı əlavə et",
Expand All @@ -3805,16 +3814,7 @@
"duplicateAutoComboSnapshotMsg": "Bu, bu şablona uyğun olan hazırkı qoşulmuş provayderləri/modeləri redaktə oluna bilən kombo kimi saxlayacaq.",
"duplicateAutoComboFailedPrefix": "Avtokombo kopyalanması uğursuz oldu:",
"duplicateAutoComboUnknownError": "Naməlum xəta",
"duplicateAutoComboTitle": "{name}-dan statik kombo yarat",
"stickyLimitEffective": "Effective {value} ({source})",
"stickyLimitSourceCombo": "combo",
"stickyLimitSourceComboDefaults": "combo defaults",
"stickyLimitSourceGlobal": "global default",
"connectionAwareExpansion": "Connection-aware expansion",
"triStateInherit": "inherit",
"connectionAwareExpansionOn": "On",
"connectionAwareExpansionOff": "Off",
"promptCacheAffinityHint": "Prompt-cache locality routing takes precedence over round-robin/weighted rotation across pinned accounts. Turn it off under Settings, Combo defaults, if you need strict rotation."
"duplicateAutoComboTitle": "{name}-dan statik kombo yarat"
},
"costs": {
"title": "Xərclər",
Expand Down Expand Up @@ -11537,7 +11537,14 @@
"noProxyLogs": "Hələ proksi jurnalı yoxdur. Onları burada görmək üçün proksiləri konfiqurasiya edin və API çağırışları edin.",
"noMatchingLogs": "Cari filtrlərə uyğun jurnal yoxdur.",
"tlsFingerprint": "Chrome 124 TLS barmaq izi",
"colPublicIp": "İctimai IP"
"colPublicIp": "İctimai IP",
"colUpstream": "Yuxarı axın",
"colEgress": "Çıxış IP",
"colCorrelation": "Korrelyasiya",
"colServedBy": "Təmin edən",
"filterTraffic": "Trafik",
"filterTests": "Testlər",
"filterSource": "Mənbə"
},
"endpointOptions": {
"speech": "Nitq",
Expand Down Expand Up @@ -14119,7 +14126,12 @@
"directNative": "Birbaşa",
"targetUrl": "Hədəf URL",
"error": "Xəta",
"configuration": "Proksi Konfiqurasiyası"
"configuration": "Proksi Konfiqurasiyası",
"upstreamStatus": "Yuxarı axın statusu",
"noResponse": "Cavab yoxdur",
"egressIp": "Çıxış IP",
"servedBy": "Təmin edən",
"correlationId": "Korrelyasiya ID"
},
"requestTimeline": {
"title": "Sorğu Zaman Çizgisi",
Expand Down
36 changes: 24 additions & 12 deletions src/i18n/messages/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -3790,6 +3790,15 @@
"disableSessionStickiness": "Деактивиране на устойчивостта на сесията",
"sessionStickinessEnabled": "Устойчивостта е включена",
"sessionStickinessDisabled": "Устойчивостта е изключена",
"stickyLimitEffective": "Effective {value} ({source})",
"stickyLimitSourceCombo": "combo",
"stickyLimitSourceComboDefaults": "combo defaults",
"stickyLimitSourceGlobal": "global default",
"connectionAwareExpansion": "Connection-aware expansion",
"triStateInherit": "inherit",
"connectionAwareExpansionOn": "On",
"connectionAwareExpansionOff": "Off",
"promptCacheAffinityHint": "Prompt-cache locality routing takes precedence over round-robin/weighted rotation across pinned accounts. Turn it off under Settings, Combo defaults, if you need strict rotation.",
"kimiPresetTitle": "Предварителна настройка за Kimi Coding",
"kimiPresetDescription": "Kimi K3 като основен модел (Moonshot API), с автоматично превключване към вашите Kimi Code връзки (kimi-coding, kimi-web), когато са конфигурирани.",
"kimiPresetCta": "Добавяне на предварителна настройка",
Expand All @@ -3805,16 +3814,7 @@
"duplicateAutoComboSnapshotMsg": "Това ще направи моментна снимка на текущо свързаните доставчици/модели, които съвпадат с този шаблон, в редактируемо комбо.",
"duplicateAutoComboFailedPrefix": "Неуспешно копиране на автоматично комбо:",
"duplicateAutoComboUnknownError": "Неизвестна грешка",
"duplicateAutoComboTitle": "Създайте статично комбо от {name}",
"stickyLimitEffective": "Effective {value} ({source})",
"stickyLimitSourceCombo": "combo",
"stickyLimitSourceComboDefaults": "combo defaults",
"stickyLimitSourceGlobal": "global default",
"connectionAwareExpansion": "Connection-aware expansion",
"triStateInherit": "inherit",
"connectionAwareExpansionOn": "On",
"connectionAwareExpansionOff": "Off",
"promptCacheAffinityHint": "Prompt-cache locality routing takes precedence over round-robin/weighted rotation across pinned accounts. Turn it off under Settings, Combo defaults, if you need strict rotation."
"duplicateAutoComboTitle": "Създайте статично комбо от {name}"
},
"costs": {
"title": "Разходи",
Expand Down Expand Up @@ -11537,7 +11537,14 @@
"noProxyLogs": "Все още няма прокси журнали. Конфигурирайте проксита и изпратете API заявки, за да ги видите тук.",
"noMatchingLogs": "Няма журнали, съответстващи на текущите филтри.",
"tlsFingerprint": "TLS отпечатък на Chrome 124",
"colPublicIp": "Публичен IP"
"colPublicIp": "Публичен IP",
"colUpstream": "Входящ",
"colEgress": "Изходящ IP",
"colCorrelation": "Корелация",
"colServedBy": "Обслужвано от",
"filterTraffic": "Трафик",
"filterTests": "Тестове",
"filterSource": "Източник"
},
"endpointOptions": {
"speech": "Реч",
Expand Down Expand Up @@ -14119,7 +14126,12 @@
"directNative": "Директен",
"targetUrl": "Целеви URL",
"error": "Грешка",
"configuration": "Конфигурация на прокси"
"configuration": "Конфигурация на прокси",
"upstreamStatus": "Статус на входящия",
"noResponse": "Няма отговор",
"egressIp": "Изходящ IP",
"servedBy": "Обслужвано от",
"correlationId": "Идентификатор на корелацията"
},
"requestTimeline": {
"title": "Хронология на заявките",
Expand Down
Loading
Loading