feat: Add Aliyun LLM Observability Integration (#21471)
This commit is contained in:
parent
fec6bafcda
commit
a201e9faee
33 changed files with 1156 additions and 32 deletions
|
|
@ -10,6 +10,7 @@ class TracingProviderEnum(StrEnum):
|
|||
LANGSMITH = "langsmith"
|
||||
OPIK = "opik"
|
||||
WEAVE = "weave"
|
||||
ALIYUN = "aliyun"
|
||||
|
||||
|
||||
class BaseTracingConfig(BaseModel):
|
||||
|
|
@ -184,5 +185,15 @@ class WeaveConfig(BaseTracingConfig):
|
|||
return v
|
||||
|
||||
|
||||
class AliyunConfig(BaseTracingConfig):
|
||||
"""
|
||||
Model class for Aliyun tracing config.
|
||||
"""
|
||||
|
||||
app_name: str = "dify_app"
|
||||
license_key: str
|
||||
endpoint: str
|
||||
|
||||
|
||||
OPS_FILE_PATH = "ops_trace/"
|
||||
OPS_TRACE_FAILED_KEY = "FAILED_OPS_TRACE"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue