grafana-util docs

grafana-util-dashboard-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-dashboard-diff - Compare local dashboard files against live Grafana dashboards.

SYNOPSIS

grafana-util dashboard diff [OPTIONS]

DESCRIPTION

Compare local dashboard files against live Grafana dashboards.

Use this when you want to see what would change before importing or publishing a dashboard bundle.

COMMON OPTIONS

--input-dir
compare this export directory against Grafana.
--input-format
choose raw or provisioning.
--import-folder-uid
override the destination folder UID for the comparison.
--context-lines
unified diff context.
--output-format
choose text or json.

EXAMPLES

Compare local dashboard files against live Grafana dashboards.

grafana-util dashboard diff --url http://localhost:3000 --basic-user admin --basic-password admin --input-dir ./dashboards/raw

SEE ALSO

grafana-util(1), grafana-util-dashboard(1)