feat: add cli/grafana_dashboard.php #85

Merged
jmiller merged 2 commits from dev into main 2026-05-25 22:14:42 +00:00
Owner

Summary

cli/grafana_dashboard.php - Grafana dashboard management via API.

Commands: push, delete, list, export. Supports env vars for CI.

Closes #53

## Summary cli/grafana_dashboard.php - Grafana dashboard management via API. Commands: push, delete, list, export. Supports env vars for CI. Closes #53
jmiller added 2 commits 2026-05-25 21:56:38 +00:00
chore: cascade main → dev [skip ci]
feat: add cli/grafana_dashboard.php for Grafana dashboard management
Platform: moko-platform CI / CI Summary (push) Blocked by required conditions
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 1s
Generic: Repo Health / Release configuration (push) Successful in 4s
Generic: Repo Health / Scripts governance (push) Successful in 4s
Generic: Repo Health / Repository health (push) Successful in 12s
Platform: moko-platform CI / Gate 1: Code Quality (push) Successful in 45s
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (push) Failing after 0s
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (push) Failing after 0s
Platform: moko-platform CI / Gate 3: Self-Health Check (push) Failing after 1s
Platform: moko-platform CI / Gate 4: Governance (push) Failing after 0s
Platform: moko-platform CI / Gate 5: Template Integrity (push) Failing after 0s
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (push) Failing after 31s
Platform: moko-platform CI / CI Summary (pull_request) Blocked by required conditions
Generic: Repo Health / Site Health (pull_request) Has been skipped
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
Generic: Repo Health / Access control (pull_request) Successful in 1s
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Successful in 4s
Universal: PR Check / Validate PR (pull_request) Successful in 4s
Generic: Repo Health / Release configuration (pull_request) Successful in 4s
Universal: PR Check / Build RC Package (pull_request) Successful in 1s
Generic: Repo Health / Scripts governance (pull_request) Successful in 4s
Generic: Repo Health / Repository health (pull_request) Successful in 11s
Platform: moko-platform CI / Gate 1: Code Quality (pull_request) Successful in 44s
Platform: moko-platform CI / Gate 5: Template Integrity (pull_request) Failing after 5s
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (pull_request) Failing after 39s
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (pull_request) Failing after 45s
Platform: moko-platform CI / Gate 3: Self-Health Check (pull_request) Failing after 47s
Platform: moko-platform CI / Gate 4: Governance (pull_request) Successful in 48s
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (pull_request) Failing after 51s
bb0ee435e8
Four commands for dashboard lifecycle management via the Grafana API:
- push: create/update dashboard from JSON file (with folder support)
- delete: remove dashboard by UID
- list: list dashboards (optionally filtered by folder)
- export: download dashboard JSON by UID

Supports GRAFANA_URL and GRAFANA_TOKEN env vars for CI integration.

Closes #53

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jmiller merged commit bffb8c3f94 into main 2026-05-25 22:14:42 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/moko-platform#85