Skip to content

Add grafana mcp tooling for debugging e2e client tests#247

Merged
bisgaard-itis merged 8 commits into
ITISFoundation:masterfrom
bisgaard-itis:add-grafana-mcp-tooling-for-debugging-e2e-client-tests
Mar 31, 2026
Merged

Add grafana mcp tooling for debugging e2e client tests#247
bisgaard-itis merged 8 commits into
ITISFoundation:masterfrom
bisgaard-itis:add-grafana-mcp-tooling-for-debugging-e2e-client-tests

Conversation

@bisgaard-itis
Copy link
Copy Markdown
Collaborator

@bisgaard-itis bisgaard-itis commented Mar 30, 2026

This pull request introduces new documentation and configuration to support debugging of failing end-to-end (e2e) tests, particularly by leveraging Grafana Loki and the MCP server. The main changes provide a detailed workflow for analyzing pytest error logs, querying server-side logs, and using Grafana dashboards to diagnose issues. Additionally, a new VSCode configuration template for connecting to a local Grafana MCP server is included, and the Python client README is updated with instructions for running the MCP server and utilizing the new debugging workflow.

Documentation for e2e test debugging:

  • Added a comprehensive .github/skills/debug-e2e-tests/SKILL.md guide detailing how to analyze pytest failures, extract key error details, query Grafana Loki logs, classify errors, and utilize the simcore/Services Grafana dashboard for root cause analysis.
  • Updated clients/python/README.md with instructions on running the Grafana MCP server via Docker and using it in conjunction with the copilot to debug client e2e test failures.

Configuration for local development:

  • Added .vscode/mcp.template.json to configure a local SSE connection to the Grafana MCP server, streamlining local debugging workflows.

What do these changes do?

Related issue/s

How to test

For internal developers

@bisgaard-itis bisgaard-itis added this to the Cassata milestone Mar 30, 2026
@bisgaard-itis bisgaard-itis self-assigned this Mar 30, 2026
Copy link
Copy Markdown
Member

@pcrespov pcrespov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx. Looking forward to give it a spin.
I am curious about what you found while using it. Tell me offline.

Comment thread .github/skills/debug-e2e-tests/SKILL.md
Comment thread .github/skills/debug-e2e-tests/SKILL.md
Comment thread .github/skills/debug-e2e-tests/SKILL.md
Comment thread .github/skills/debug-e2e-tests/SKILL.md
Comment thread .github/skills/debug-e2e-tests/SKILL.md
Comment thread clients/python/README.md Outdated
@pcrespov
Copy link
Copy Markdown
Member

pcrespov commented Mar 30, 2026

And come on ... write the issue description properly (took the liberty of removing all the icons you left uncommented...) ;-)

@bisgaard-itis bisgaard-itis merged commit 3200a0b into ITISFoundation:master Mar 31, 2026
5 checks passed
@bisgaard-itis bisgaard-itis deleted the add-grafana-mcp-tooling-for-debugging-e2e-client-tests branch March 31, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants