From 0563c143e55f2305838cf79251360a350ad8d380 Mon Sep 17 00:00:00 2001 From: danaelhe <42972711+danaelhe@users.noreply.github.com> Date: Thu, 5 Oct 2023 14:49:10 -0400 Subject: [PATCH 1/3] Alerts: Expand on Monitoring Alerts doc --- commands/monitoring.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/commands/monitoring.go b/commands/monitoring.go index 8d74b92a3..b8d18861d 100644 --- a/commands/monitoring.go +++ b/commands/monitoring.go @@ -50,7 +50,12 @@ func alertPolicies() *Command { Use: "alert", Aliases: []string{"alerts", "a"}, Short: "Display commands for managing alert policies", - Long: "The commands under `doctl monitoring alert` are for the management of alert policies.", + Long: `The commands under ` + "`" + `doctl monitoring alert` + "`" + ` are for the management of alert policies. + +An alert policy can be applied to resource(s) (currently Droplets) +in order to alert on resource consumption. + +If you'd like to alert on a specific URL or IP address, use ` + "`" + `doctl monitoring uptime alert` + "` instead", }, } From b7d88b1680a360f2262feea187b20e2e8c6e395b Mon Sep 17 00:00:00 2001 From: danaelhe <42972711+danaelhe@users.noreply.github.com> Date: Thu, 5 Oct 2023 14:54:11 -0400 Subject: [PATCH 2/3] add uptime --- commands/monitoring.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/monitoring.go b/commands/monitoring.go index b8d18861d..f2ecb603a 100644 --- a/commands/monitoring.go +++ b/commands/monitoring.go @@ -55,7 +55,7 @@ func alertPolicies() *Command { An alert policy can be applied to resource(s) (currently Droplets) in order to alert on resource consumption. -If you'd like to alert on a specific URL or IP address, use ` + "`" + `doctl monitoring uptime alert` + "` instead", +If you'd like to alert on the uptime of specific URL or IP address, use ` + "`" + `doctl monitoring uptime alert` + "` instead", }, } From 3e64aba7095d8009357f185501072028309878c7 Mon Sep 17 00:00:00 2001 From: danaelhe <42972711+danaelhe@users.noreply.github.com> Date: Thu, 5 Oct 2023 14:54:27 -0400 Subject: [PATCH 3/3] add article --- commands/monitoring.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/monitoring.go b/commands/monitoring.go index f2ecb603a..e520fa23d 100644 --- a/commands/monitoring.go +++ b/commands/monitoring.go @@ -55,7 +55,7 @@ func alertPolicies() *Command { An alert policy can be applied to resource(s) (currently Droplets) in order to alert on resource consumption. -If you'd like to alert on the uptime of specific URL or IP address, use ` + "`" + `doctl monitoring uptime alert` + "` instead", +If you'd like to alert on the uptime of a specific URL or IP address, use ` + "`" + `doctl monitoring uptime alert` + "` instead", }, }