Skip to content

Commit

Permalink
Update monitoring alert types to digital_ocean_monitoring_alerts module
Browse files Browse the repository at this point in the history
  • Loading branch information
elcfd committed Jun 11, 2024
1 parent 189d5b1 commit 20e9f32
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions plugins/modules/digital_ocean_monitoring_alerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,22 @@
- v1/insights/droplet/public_inbound_bandwidth
- v1/insights/droplet/private_outbound_bandwidth
- v1/insights/droplet/private_inbound_bandwidth
- v1/insights/lbaas/avg_cpu_utilization_percent
- v1/insights/lbaas/connection_utilization_percent
- v1/insights/lbaas/droplet_health
- v1/insights/lbaas/tls_connections_per_second_utilization_percent
- v1/insights/lbaas/increase_in_http_error_rate_percentage_5xx
- v1/insights/lbaas/increase_in_http_error_rate_percentage_4xx
- v1/insights/lbaas/increase_in_http_error_rate_count_5xx
- v1/insights/lbaas/increase_in_http_error_rate_count_4xx
- v1/insights/lbaas/high_http_request_response_time
- v1/insights/lbaas/high_http_request_response_time_50p
- v1/insights/lbaas/high_http_request_response_time_95p
- v1/insights/lbaas/high_http_request_response_time_99p
- v1/dbaas/alerts/load_15_alerts
- v1/dbaas/alerts/memory_utilization_alerts
- v1/dbaas/alerts/disk_utilization_alerts
- v1/dbaas/alerts/cpu_alerts
value:
description: Alert threshold, required for C(state=present)
type: float
Expand Down Expand Up @@ -163,6 +179,22 @@
"v1/insights/droplet/public_inbound_bandwidth",
"v1/insights/droplet/private_outbound_bandwidth",
"v1/insights/droplet/private_inbound_bandwidth",
"v1/insights/lbaas/avg_cpu_utilization_percent",
"v1/insights/lbaas/connection_utilization_percent",
"v1/insights/lbaas/droplet_health",
"v1/insights/lbaas/tls_connections_per_second_utilization_percent",
"v1/insights/lbaas/increase_in_http_error_rate_percentage_5xx",
"v1/insights/lbaas/increase_in_http_error_rate_percentage_4xx",
"v1/insights/lbaas/increase_in_http_error_rate_count_5xx",
"v1/insights/lbaas/increase_in_http_error_rate_count_4xx",
"v1/insights/lbaas/high_http_request_response_time",
"v1/insights/lbaas/high_http_request_response_time_50p",
"v1/insights/lbaas/high_http_request_response_time_95p",
"v1/insights/lbaas/high_http_request_response_time_99p",
"v1/dbaas/alerts/load_15_alerts",
"v1/dbaas/alerts/memory_utilization_alerts",
"v1/dbaas/alerts/disk_utilization_alerts",
"v1/dbaas/alerts/cpu_alerts",
]

alert_keys = [
Expand Down

0 comments on commit 20e9f32

Please sign in to comment.