grafana

    grafana/gcx

    A CLI for managing Grafana and Grafana Cloud resources. Optimized for agentic usage.

    cli
    Go
    Apache-2.0
    816 stars
    64 forks
    816 GitHub watchers
    Updated Nov 4, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 14 days ago, with 119 contributors on GitHub.

    Use Cases & Benefits

    • Provides a CLI tool to manage Grafana and Grafana Cloud resources including dashboards, alerts, SLOs, metrics, logs, and traces.
    • Enables seamless integration with agentic coding environments and AI assistants for automated investigation, fixing, and observability workflows.
    • Use for automating alert investigation and remediation workflows directly from your terminal or editor with AI assistant integration.
    • Use for managing Grafana resources via GitOps workflows by pulling, editing, validating, and pushing dashboards and alert rules as code.
    • Use for querying and visualizing production metrics, logs, and traces interactively in terminal environments without leaving your development workflow.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Grafana — in your terminal and your agentic coding environment. gcx works with Grafana Cloud, Enterprise, and OSS (Grafana 12+). See the compatibility matrix for details.

    Query production. Investigate alerts. Let the Assistant root-cause issues. Ship fixes with observability built in. Without leaving your editor.

    "Don't guess. Check the actual production data."

    gcx is a CLI for Grafana — Cloud, Enterprise, and OSS alike. It gives you and your AI coding agent structured access to your Grafana instance: dashboards, alerts, SLOs, metrics, logs, traces, and more. Core features (resources, alerting, signal queries) work on any Grafana 12+; Grafana Cloud adds product-specific commands on top.

    gcx works with any agentic coding tool. It ships with a suite of agent skills for common workflows like alert investigation, dashboard creation and GitOps, SLO management, and observability setup - ready to use out of the box.

    Excerpt from the grafana/gcx README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Sep 20: +7Sep 28: +0Oct 3: +2Oct 8: +0

    +263 stars over 82 days across 13 snapshot days; best day +7 on Sep 20.

    Forks

    64+20

    Open issues

    342+93

    Compared with peers in CLI

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    grafana/gcx compared with CLI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    vercel-labs/agent-desktop17.0K+13.3K33today
    mattpocock/skills315.4K+8.7K357 days ago
    stablyai/orca116.8K+6.6K40today
    obra/superpowers313.1K+4.5K532 days ago
    Panniantong/Agent-Reach109.3K+3.0K604 days ago
    grafana/gcx816—6414 days ago
    Category median116.8K+6.6K40—

    Also by grafana

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description