mirror of
https://github.com/langgenius/dify.git
synced 2026-02-09 15:10:13 -05:00
feat(enterprise-telemetry): add ENTERPRISE_OTLP_API_KEY config field
This commit is contained in:
@@ -45,6 +45,12 @@ class EnterpriseTelemetryConfig(BaseSettings):
|
|||||||
default="http",
|
default="http",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
ENTERPRISE_OTLP_API_KEY: str = Field(
|
||||||
|
description="Bearer token for enterprise OTLP export authentication. "
|
||||||
|
"When set, gRPC exporters automatically use TLS (insecure=False).",
|
||||||
|
default="",
|
||||||
|
)
|
||||||
|
|
||||||
ENTERPRISE_INCLUDE_CONTENT: bool = Field(
|
ENTERPRISE_INCLUDE_CONTENT: bool = Field(
|
||||||
description="Include input/output content in traces (privacy toggle).",
|
description="Include input/output content in traces (privacy toggle).",
|
||||||
default=True,
|
default=True,
|
||||||
|
|||||||
Reference in New Issue
Block a user