Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/sentry/seer/explorer/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1173,8 +1173,6 @@ def get_log_attributes_for_trace(
)

if not message_substring:
if limit is not None:
items = items[:limit] # Re-apply in case the endpoint didn't respect it.
return {"data": items}

# Filter on message substring.
Expand Down Expand Up @@ -1250,8 +1248,6 @@ def get_metric_attributes_for_trace(
)

if not metric_name:
if limit is not None:
items = items[:limit] # Re-apply in case the endpoint didn't respect it.
return {"data": items}

# Filter on metric name (exact case-insensitive match).
Expand Down
Loading