Page cover

edit-alert

The llm edit-alert command modifies an existing LLM alert within your project. It allows you to update details such as the alert name, description, metric, variable, threshold, notification email, and alert period.

Usage

cldkctl llm edit-alert [flags]

Aliases

edit-alert, modify-alert

Steps

Follow the steps below to run and view the result of this command:

  1. Run the following command in your terminal:

cldkctl llm edit-alert --alert [alert id]
  1. Replace [alert id] with the ID of the alert you want to modify. You can find the alert ID by running the command in the llm list-alert section.

  2. The terminal will display the current configuration of the selected alert.

  3. Update the desired fields you need.

  1. After completing your changes, a confirmation prompt appears asking Update this LLM Alert?. Use ←/→ to toggle between Update and Cancel, then press y or Enter to confirm the update, or n to cancel the operation

  1. Once completed successfully, a message "✓ LLM Alert updated successfully!" will appear in your terminal.

Flags

This command supports global flags. Refer to the Global Flags section for details.

Flag
Description

-a, --alert string

Specify the alert ID to edit.

-h, --help

Help for the llm edit-alert command.

Last updated