grafana-util docs

grafana-util-alert-add-contact-point.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-add-contact-point - Author a staged alert contact point from the higher-level authoring surface.

SYNOPSIS

grafana-util alert add-contact-point [OPTIONS]

DESCRIPTION

Author a staged alert contact point from the higher-level authoring surface.

  • Create a new contact point under a desired-state alert tree.
  • Preview the generated file before writing it.

BEFORE / AFTER

  • Before: hand-build the contact point file and remember the authoring shape yourself.
  • After: create one staged contact point file from the higher-level authoring surface.

COMMON OPTIONS

  • --desired-dir points to the staged alert tree.
  • --name sets the contact point name.
  • --dry-run previews the planned output.

SUCCESS CRITERIA

  • The contact point file appears in the desired-state tree with the expected name.
  • A dry-run shows the receiver details you intended to write.

FAILURE CHECKS

  • Verify --desired-dir before writing into the tree.
  • Check for duplicate contact point names if the scaffold looks reused.
  • Remember that this command authors the contact point; it does not wire the route tree by itself.

EXAMPLES

Author a staged alert contact point from the higher-level authoring surface.

grafana-util alert add-contact-point --desired-dir ./alerts/desired --name pagerduty-primary

SEE ALSO

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