Enhance the version endpoint and fix OTEL deployment

This commit is contained in:
Oliver Falk
2025-10-17 14:49:10 +02:00
parent 25e9e489c3
commit 6db3450b20
6 changed files with 140 additions and 55 deletions

View File

@@ -316,13 +316,6 @@ ENABLE_MALICIOUS_CONTENT_SCAN = True
# Logging configuration - can be overridden in local config
# Example: LOGS_DIR = "/var/log/ivatar" # For production deployments
# OpenTelemetry feature flag - can be disabled for F/LOSS deployments
ENABLE_OPENTELEMETRY = os.environ.get("ENABLE_OPENTELEMETRY", "false").lower() in (
"true",
"1",
"yes",
)
# This MUST BE THE LAST!
if os.path.isfile(os.path.join(BASE_DIR, "config_local.py")):
from config_local import * # noqa # flake8: noqa # NOQA # pragma: no cover