From 4c42e6fd3a626ffc3663ef3534fce6aa01586fbe Mon Sep 17 00:00:00 2001 From: Rohan Agarwal Date: Wed, 19 Nov 2025 09:34:24 -0500 Subject: [PATCH] chore(explorer): add more debug logs for profiling --- src/sentry/seer/explorer/tools.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/sentry/seer/explorer/tools.py b/src/sentry/seer/explorer/tools.py index 70b6294df8cbdf..3c8159c246a281 100644 --- a/src/sentry/seer/explorer/tools.py +++ b/src/sentry/seer/explorer/tools.py @@ -466,7 +466,11 @@ def rpc_get_profile_flamegraph(profile_id: str, organization_id: int) -> dict[st if not execution_tree: logger.warning( "rpc_get_profile_flamegraph: Empty execution tree", - extra={"profile_id": actual_profile_id, "project_id": project_id}, + extra={ + "profile_id": actual_profile_id, + "project_id": project_id, + "raw_profile_data": profile_data, + }, ) return {"error": "Failed to generate execution tree from profile data"}