[Observability][Bugfix] Fix expected an instance of Token, got None error in OpenTelemetry (#18934)

This commit is contained in:
AichiB7A
2025-04-28 10:31:13 +08:00
committed by GitHub
parent 7a62202392
commit 8299614e60
3 changed files with 166 additions and 226 deletions

View File

@@ -52,7 +52,6 @@ def initialize_extensions(app: DifyApp):
ext_mail,
ext_migrate,
ext_otel,
ext_otel_patch,
ext_proxy_fix,
ext_redis,
ext_repositories,
@@ -85,7 +84,6 @@ def initialize_extensions(app: DifyApp):
ext_proxy_fix,
ext_blueprints,
ext_commands,
ext_otel_patch, # Apply patch before initializing OpenTelemetry
ext_otel,
]
for ext in extensions: