grafana-util docs

grafana-util-alert-diff.1

Browser-readable rendering of a generated roff manpage.

This page renders the generated roff manpage into readable HTML for browser use. For richer per-subcommand detail, prefer the command-reference pages.

NAME

grafana-util-alert-diff - Compare local alerting export files against live Grafana resources.

SYNOPSIS

grafana-util alert diff [OPTIONS]

DESCRIPTION

Compare local alerting export files against live Grafana resources.

  • Check a raw export directory against Grafana before import or plan work.
  • Render the diff as plain text or structured JSON.

COMMON OPTIONS

  • --diff-dir points to the raw export directory.
  • --output-format json renders the diff as structured JSON.
  • --json remains available as a compatibility flag equivalent to --output-format json.
  • --dashboard-uid-map and --panel-id-map repair linked alert rules during comparison.

EXAMPLES

Compare local alerting export files against live Grafana resources.

grafana-util alert diff --url http://localhost:3000 --diff-dir ./alerts/raw

SEE ALSO

grafana-util(1), grafana-util-alert(1)