Skip to content

Commit

Permalink
Support new endpoints for http alerts load balancers (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenVarela authored Nov 23, 2022
1 parent 359fbcb commit 975f20d
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions monitoring.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,16 @@ const (
DropletFiveMinuteLoadAverage = "v1/insights/droplet/load_5"
DropletFifteenMinuteLoadAverage = "v1/insights/droplet/load_15"

LoadBalancerCPUUtilizationPercent = "v1/insights/lbaas/avg_cpu_utilization_percent"
LoadBalancerConnectionUtilizationPercent = "v1/insights/lbaas/connection_utilization_percent"
LoadBalancerDropletHealth = "v1/insights/lbaas/droplet_health"
LoadBalancerTLSUtilizationPercent = "v1/insights/lbaas/tls_connections_per_second_utilization_percent"
LoadBalancerCPUUtilizationPercent = "v1/insights/lbaas/avg_cpu_utilization_percent"
LoadBalancerConnectionUtilizationPercent = "v1/insights/lbaas/connection_utilization_percent"
LoadBalancerDropletHealth = "v1/insights/lbaas/droplet_health"
LoadBalancerTLSUtilizationPercent = "v1/insights/lbaas/tls_connections_per_second_utilization_percent"
LoadBalancerIncreaseInHTTPErrorRatePercentage = "v1/insights/lbaas/increase_in_http_error_rate_percentage"
LoadBalancerIncreaseInHTTPErrorRateCount = "v1/insights/lbaas/increase_in_http_error_rate_count"
LoadBalancerHighHttpResponseTime = "v1/insights/lbaas/high_http_request_response_time"
LoadBalancerHighHttpResponseTime50P = "v1/insights/lbaas/high_http_request_response_time_50p"
LoadBalancerHighHttpResponseTime95P = "v1/insights/lbaas/high_http_request_response_time_95p"
LoadBalancerHighHttpResponseTime99P = "v1/insights/lbaas/high_http_request_response_time_99p"

DbaasFifteenMinuteLoadAverage = "v1/dbaas/alerts/load_15_alerts"
DbaasMemoryUtilizationPercent = "v1/dbaas/alerts/memory_utilization_alerts"
Expand Down

0 comments on commit 975f20d

Please sign in to comment.