feat: tracing fe (#5487)

This commit is contained in:
Joel
2024-06-26 17:33:57 +08:00
committed by GitHub
parent 4e2de638af
commit 8fa6cb5e03
34 changed files with 2222 additions and 14 deletions

View File

@@ -1,3 +1,4 @@
import type { LangFuseConfig, LangSmithConfig, TracingProvider } from '@/app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/tracing/type'
import type { App, AppTemplate, SiteConfig } from '@/types/app'
/* export type App = {
@@ -129,3 +130,13 @@ export type AppVoicesListResponse = [{
name: string
value: string
}]
export type TracingStatus = {
enabled: boolean
tracing_provider: TracingProvider | null
}
export type TracingConfig = {
tracing_provider: TracingProvider
tracing_config: LangSmithConfig | LangFuseConfig
}