grafana-util docs

grafana-util-alert-clone-rule.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-clone-rule - Clone an existing staged alert rule into a new authoring target.

SYNOPSIS

grafana-util alert clone-rule [OPTIONS]

DESCRIPTION

Clone an existing staged alert rule into a new authoring target.

  • Reuse an existing rule as a starting point for a variant.
  • Override folder, rule group, receiver, or route behavior while cloning.

COMMON OPTIONS

  • --desired-dir points to the staged alert tree.
  • --source identifies the rule to clone.
  • --name sets the new rule name.
  • --folder, --rule-group, --receiver, and --no-route adjust the clone target.
  • --dry-run previews the cloned output.

EXAMPLES

Clone an existing staged alert rule into a new authoring target.

grafana-util alert clone-rule --desired-dir ./alerts/desired --source cpu-high --name cpu-high-staging --folder staging-alerts --rule-group cpu --receiver slack-platform

SEE ALSO

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