Skip to content

Commit a647b86

Browse files
authored
chore(llm-detector): Add more data to logs (#102968)
adds more fields to the logs to give more insight into the traces we are selecting
1 parent 58f5bb0 commit a647b86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sentry/tasks/llm_issue_detection.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ def detect_llm_issues_for_project(project_id: int) -> None:
205205
extra={
206206
"trace_id": trace.trace_id,
207207
"project_id": project_id,
208+
"total_spans": trace.total_spans,
209+
"transaction_name": trace.transaction_name,
208210
},
209211
)
210212

0 commit comments

Comments
 (0)