grafana-util docs

Operator Handbook

Language

Welcome to the grafana-util handbook. Start here if you need a practical operator path from first connection, to repeatable profiles, to day-to-day Grafana maintenance and automation.

grafana-util is a personal long-term tool built around real Grafana maintenance pain. This handbook is written from that same angle: not "how to expose every API surface", but how to move through inventory, inspection, review, migration, and safer live changes without rebuilding the workflow every time.

This handbook is organized around the way operators actually work: first understand what the tool is for, then get a safe connection working, then move into dashboards, alerts, access, and review workflows.

If you want the high-level framing first, including the pain points this tool is meant to solve and when it is the right fit, start here:

Before / After

  • Before: you had to guess which chapter to open when you wanted to understand the workflow.
  • After: start with the purpose page, then choose the handbook path that matches your role.

What success looks like

  • You know which chapter to open for your current task.
  • You can separate the handbook from the exact command reference.
  • You can move from first read-only checks into the right workflow lane without guessing.

Failure checks

  • If you still do not know whether you need dashboard, alert, access, or change guidance, stop at the purpose page and read the role map first.
  • If the first live read fails, fix connection or auth before opening mutation chapters.
  • If you only need exact flags, switch to the command docs instead of trying to infer them from the handbook.

30-Second Quick Start

Get from zero to a first install check, connectivity check, and estate-level overview in three commands.

1. Install (Global Binary)

# Downloads and installs the latest version to your local bin directory
curl -sSL https://raw.githubusercontent.com/kenduest-brobridge/grafana-util/main/scripts/install.sh | sh

2. Confirm the Installed Version

# Purpose: 2. Confirm the Installed Version.
grafana-util --version

3. Run Your First Global Audit

# Generates a high-level health and inventory report of your Grafana estate
grafana-util overview live --url http://localhost:3000 --basic-user admin --prompt-password --output-format interactive

Why this matters: In 30 seconds, you have confirmed connectivity, checked dashboards and alerts, and found the first obvious data source problems before you make changes.

Phase 1: Foundation

Phase 2: Core Asset Management

Phase 3: Identity & Access

Phase 4: Governance & Readiness

  • Change & Status: staged workflows, project snapshots, and preflight checks.

Phase 5: Deep Dive

Choose Your Role

Different readers usually need different paths through the handbook:

Start with What grafana-util is for, then New User Path, then Getting Started, then open Command Docs when you need exact flags.

Start with SRE / Ops Path, then Change & Status, Dashboard Management, Data source Management, and Troubleshooting.

Start with Access Management, then Technical Reference, then the Command Docs.

Start with Automation / CI Path, then Technical Reference, then the Command Docs, then validate exact terminal lookup with the top-level manpage at docs/man/grafana-util.1.

Start with docs/DEVELOPER.md, then maintainer-role-map.md, then the internal design and playbook docs under docs/internal/README.md.

  • New user
  • SRE / operator
  • Identity / access administrator
  • Automation / CI owner
  • Maintainer / architect

How to use this guide

If you are new, start with What grafana-util is for, then Getting Started, then follow the Next Page links at the bottom of each chapter.

Next Step: What grafana-util is for