Skip to content

fix(mcp): show slow operations for every protocol in service performance - #335

Merged
vishr merged 1 commit into
mainfrom
fix/performance-operations
Oct 17, 2026
Merged

vishr merged 1 commit into
mainfrom
fix/performance-operations

Conversation

@vishr

@vishr vishr commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

Summary

  • The service performance preset grouped its slow-endpoint table by http_route and kept only rows with a route. gRPC servers and message consumers have no HTTP route, so for services such as checkout and fraud-detection in the OpenTelemetry Demo the panel was always empty, and chat opened it as a large empty box.
  • The panel is now Slow operations: p95 duration by operation over server and consumer spans. HTTP, gRPC and consumer spans each name the operation, so one query covers all three.
  • When several filters combine to match nothing, the empty-state diagnosis names the combination instead of blaming one filter that matches rows on its own.

Verification

  • New Go tests on real DuckDB rows: gRPC server, Kafka consumer and HTTP server services each return slow operations ordered by p95; client and internal spans are excluded.
  • go test ./internal/mcp/... ./internal/panel/... ./internal/agent/..., UI lint and affected UI tests, just docs-generate-check.
  • just check in the pre-push hook.

The service performance preset grouped its slow-endpoint table by
http_route and kept only rows with a route. gRPC servers and message
consumers have no HTTP route, so for services such as checkout and
fraud-detection in the OpenTelemetry Demo the panel was always empty,
and chat opened it as a large empty box.

The panel is now "Slow operations": p95 duration by operation over the
spans a service handles (server and consumer spans). HTTP, gRPC and
consumer spans each name the operation, so one query covers all three.

When several filters combine to match nothing, the empty-state diagnosis
now names the combination instead of blaming one filter that matches
rows on its own.

Claude-Session: https://claude.ai/code/session_018HfyEXHyGD1utmKF4CQtyQ
@vishr
vishr force-pushed the fix/performance-operations branch from 59e8177 to 434a85f Compare October 17, 2026 18:51
@vishr
vishr merged commit 243de42 into main Oct 17, 2026
16 checks passed
@vishr
vishr deleted the fix/performance-operations branch October 17, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant