Always emit insight logs to simplify debugging (#4988)

This commit is contained in:
Innokentii Konstantinov 2024-11-06 11:37:23 +08:00 committed by GitHub
parent 7501304e96
commit effaa0a330
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,4 +21,4 @@ def is_insight_logs_enabled(organization: "Organization") -> bool:
f"ONCALL_BACKEND_REGION={settings.ONCALL_BACKEND_REGION} "
f"cluster_slug={organization.cluster_slug}"
)
return not settings.IS_OPEN_SOURCE and settings.ONCALL_BACKEND_REGION == organization.cluster_slug
return not settings.IS_OPEN_SOURCE