-
[OPIK-5158] [FE] feat: add hidden source filter to v2 project pages (#5918)
发布于
2026-03-27 14:07:11 +00:00 Filter all v2 trace/span/thread views to show only sdk/unknown source
traces, excluding experiment, playground, and optimization traces per
OPIK-4617 Addendum A.- Add LOGS_SOURCE enum to types/traces.ts
- Add generateLogsSourceFilter() with hardcoded ID to lib/filters.ts
- Add optional logsSource param to all trace/span/thread API hooks
- Pass logsSource: LOGS_SOURCE.sdk in v2 LogsPage, AnnotationQueuePage,
and ProjectMetricsWidget - v1 pages remain untouched (no logsSource passed)
Co-authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com
下载附件