Skip to content

ConsoleDestination

ConsoleDestinations print a message to the terminal when an alert fires.

They are useful for trying out alerts locally or in CI logs before wiring up a Slack or email destination.

Example

destinations:
  - name: terminal
    type: console
    message: A test failed in the last run.

Attributes

Field Type Default Description
path string None A unique path to this object
name string None The unique name of the object across the entire project.
file_path string None The path to the file that contains the object definition.
called boolean False Set to true after the destination fires. You do not need to set this.
message string Console Destination Run The message printed to the console.
type string None