[Observability] Integrate OpenTelemetry (#17627)

This commit is contained in:
AichiB7A 2025-04-11 17:04:06 +08:00 • committed by GitHub
commit 5f8d20b5b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 464 additions and 36 deletions

View file

@ -51,6 +51,7 @@ def initialize_extensions(app: DifyApp):
ext_login,
ext_mail,
ext_migrate,
ext_otel,
ext_proxy_fix,
ext_redis,
ext_sentry,
@ -81,6 +82,7 @@ def initialize_extensions(app: DifyApp):
ext_proxy_fix,
ext_blueprints,
ext_commands,
ext_otel,
]
for ext in extensions:
short_name = ext.__name__.split(".")[-1]