feat: Add Aliyun LLM Observability Integration (#21471)

This commit is contained in:
heyszt 2025-07-04 21:54:33 +08:00 • committed by GitHub
commit a201e9faee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 1156 additions and 32 deletions

View file

@ -104,6 +104,17 @@ class OpsTraceProviderConfigMap(dict[str, dict[str, Any]]):
"other_keys": ["project", "endpoint"],
"trace_instance": ArizePhoenixDataTrace,
}
case TracingProviderEnum.ALIYUN:
from core.ops.aliyun_trace.aliyun_trace import AliyunDataTrace
from core.ops.entities.config_entity import AliyunConfig
return {
"config_class": AliyunConfig,
"secret_keys": ["license_key"],
"other_keys": ["endpoint", "app_name"],
"trace_instance": AliyunDataTrace,
}
case _:
raise KeyError(f"Unsupported tracing provider: {provider}")