Skip to content

fix(dashboards): Use span.op for MCP pre-built dashboard filters#115540

Merged
gggritso merged 1 commit into
masterfrom
georgegritsouk/dain-1673-mcp-pre-built-dashboards-use-incorrect-filters
May 14, 2026
Merged

fix(dashboards): Use span.op for MCP pre-built dashboard filters#115540
gggritso merged 1 commit into
masterfrom
georgegritsouk/dain-1673-mcp-pre-built-dashboards-use-incorrect-filters

Conversation

@gggritso
Copy link
Copy Markdown
Member

@gggritso gggritso commented May 14, 2026

getsentry/relay#5961 correctly (but unexpectedly) changed the name attribute for MCP spans, which caused our pre-built dashboards to stop loading data, because the span.name:mcp.server filter is no longer valid. Instead, we need to use span.op which is less semantic but is actually correct!

I also have a migration to repair existing widgets, there are only ~100: #115543

References DAIN-1673.

The MCP pre-built dashboards filtered spans on `span.name:mcp.server`,
but a recent Relay change corrected the `name` of MCP spans, so the
filter no longer matches and the dashboards stopped loading data.
Switch to `span.op:mcp.server`, which is the stable defining attribute
for these spans.

Fixes DAIN-1673
Co-Authored-By: Claude <noreply@anthropic.com>
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 14, 2026

DAIN-1673

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 14, 2026
@github-actions
Copy link
Copy Markdown
Contributor

📊 Type Coverage Diff

✅ No new type safety issues introduced. Coverage: 93.51%

@gggritso gggritso marked this pull request as ready for review May 14, 2026 14:03
@gggritso gggritso requested a review from a team as a code owner May 14, 2026 14:03
@gggritso gggritso merged commit 547fa3d into master May 14, 2026
78 checks passed
@gggritso gggritso deleted the georgegritsouk/dain-1673-mcp-pre-built-dashboards-use-incorrect-filters branch May 14, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants