fix(ops): stabilize api rollout source correlation smoke
This commit is contained in:
@@ -3459,9 +3459,13 @@ async def _fetch_source_correlation_summary(
|
||||
WHERE project_id = :project_id
|
||||
AND {provider_sql} IN ('sentry', 'signoz')
|
||||
AND LOWER(COALESCE(source_envelope->>'stage', '')) = 'heartbeat'
|
||||
AND received_at >= :window_start
|
||||
GROUP BY {provider_sql}
|
||||
"""),
|
||||
{"project_id": safe_project_id},
|
||||
{
|
||||
"project_id": safe_project_id,
|
||||
"window_start": window_start,
|
||||
},
|
||||
)
|
||||
heartbeat_rows = list(heartbeat_result.mappings().all())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user