-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Labels
enhancementImprovement to existing feature or Goblet in generalImprovement to existing feature or Goblet in general
Description
app = Goblet(function_name="test-function")
goblet_entrypoint(app)
error_alert = Alert(
"test-alert",
conditions=[LogMatchCondition("error", filter="severity>=ERROR", replace_filter=True)],
)
app.alert(error_alert)
goblet deploy -l us-central1 --skip-backend --skip-handlers --skip-infra
deploying the alert does not generate output or notify that the alert will not be deployed unless the alert_type is specified
updating this value to a valid value resolves this
error_alert.alert_type = "handler"
INFO:goblet.deployer:created alert: test-alert
Metadata
Metadata
Assignees
Labels
enhancementImprovement to existing feature or Goblet in generalImprovement to existing feature or Goblet in general