Miles
Miles

Reputation: 89

Datadog AWS RDS monitoring storage used

Setting up Datadog alert to monitor AWS RDS Aurora databased by percentage used. If the percentage of storage is above 80% alert. Using the following two metrics

A: aws.rds.free_local_storage
B: aws.rds.volume_bytes_used

a/b 

Alert if greater than 0.8

Is this possible in Datadog using the two metrics and diving them? or is their another way of achieving this in Datadog ?

Upvotes: 1

Views: 648

Answers (1)

filiprem
filiprem

Reputation: 7144

Yes it is possible to alert on A/B in Datadog.

  1. Go to New Metric - based Monitor page
  2. In Choose the detection method choose Threshold Alert
  3. In the Define the metric section create three entries:
    • Query a: avg:aws.rds.free_local_storage{*} by {dbclusteridentifier}
    • Query b: avg:aws.rds.volume_bytes_used{*} by {dbclusteridentifier}
    • Formula c: a/(a+b)
  4. In the Set alert conditions section, set *Alert threshold to 0.8.

Upvotes: 1

Related Questions