Grafana dashboard import to complete the export/import round trip
Les mainteneurs répondent en général sous 1 jour
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 68/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- grafana, typescript
- Domaine
- observability-sre, tooling
Piste de recherche
Start with mcp-server/src/tools/grafanaSnapshot.ts to see how a Grafana MCP tool is registered, confirm-gated, and uses the auth helper; mirror that for homelab_grafanaImport. Update skills/grafana-dashboards/SKILL.md so its create/import/export workflow matches the tool. Run cd mcp-server && npm install && npm test and npm run typecheck. Done means the tool is registered, confirm-gated, size-capped, POSTs dashboard JSON to /api/dashboards/db, returns UID and URL, and docs/tests pass.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Summary
The grafana-dashboards skill promises create, import and export, but only export (homelab_grafanaSnapshot) exists.
Where
skills/grafana-dashboards/SKILL.md:3, :45, :49
Details
The agent can generate dashboard JSON but has to hand it back to the user to paste into the UI.
Impact
The skill's import workflow has no tool.
Suggested fix
Add confirm-gated homelab_grafanaImport taking dashboard JSON (size-capped, passed to the node via stdin or base64 rather than inline in the command) and an overwrite flag; POST /api/dashboards/db with the Grafana auth helper; return the UID and URL.
Open questions: folder selection; whether overwrite: true should be the destructive variant.
Acceptance criteria
- Import tool registered, confirm-gated, size-capped
- Returns UID and URL
Getting started
- Relevant files:
mcp-server/src/tools/grafanaSnapshot.ts,skills/grafana-dashboards/SKILL.md - How to run tests:
cd mcp-server && npm install && npm test(andnpm run typecheck); structure tests:pip install -r requirements-test.txt && pytest tests/ -v - Conventions: see
CLAUDE.mdandCONTRIBUTING.md
Filed by repo-audit/full-audit at 636fefb. Severity: low. Effort: M. audit-key: enhancement|skills/grafana-dashboards/SKILL.md|homelab_grafanaImport
- Langage dominant
- TypeScript
- Étoiles
- 0
- Forks
- 4
- Merge moyen
- 10 h 16 min
- PR mergées (30 j)
- 2
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de TMHSDigital/Home-Lab-Developer-Tools
-
speedtestResults ignores count: /api/speedtest/latest returns one resultPeut-être pris @laozhej l’a pris il y a 2 jours. Ouvertebug severity: low
Difficulté 2/5 1-3 heures Accessibilité débutants 80/100
TMHSDigital/Home-Lab-Developer-Tools#160 ·
Les mainteneurs répondent en général sous 1 jour
-
Integration tests import tool modules inside tests and can time out under loadPeut-être pris @laozhej l’a pris il y a 2 jours. Ouvertegood first issue severity: low testing
Difficulté 2/5 1-3 heures Accessibilité débutants 25/100
TMHSDigital/Home-Lab-Developer-Tools#174 ·
Les mainteneurs répondent en général sous 1 jour
-
help wanted severity: low testing
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
TMHSDigital/Home-Lab-Developer-Tools#164 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement severity: medium
Difficulté 3/5 1-2 jours Accessibilité débutants 72/100
TMHSDigital/Home-Lab-Developer-Tools#159 ·
Les mainteneurs répondent en général sous 1 jour
-
Add AdGuard local DNS rewrite tools (list, add, delete)Peut-être pris @laozhej l’a pris il y a 1 jour. Ouverteenhancement severity: medium
Difficulté 3/5 1-2 jours Accessibilité débutants 72/100
TMHSDigital/Home-Lab-Developer-Tools#157 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de TMHSDigital/Home-Lab-Developer-Tools
Issues similaires
-
[MCP]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
microsoft/playwright#44289 ·
Les mainteneurs répondent en général sous 1 jour
-
good first issue
Difficulté 2/5 Une demi-journée Accessibilité débutants 65/100
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
blamechris/chroxy#9272 ·
Les mainteneurs répondent en général sous 1 jour
-
no-repo-link tool-submission
Difficulté 1/5 Moins d'une heure Accessibilité débutants 66/100
BraveOPotato/NoSignups#2458 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
drmrd/vernacular#1061 ·
Les mainteneurs répondent en général sous 1 jour