Skip to content

Commit

Permalink
Fix: add provider filter for RDS (#127)
Browse files Browse the repository at this point in the history
Merging so they can test it, if anyone sees something wrong just let me know and I'll fix it.
  • Loading branch information
jlegoff authored Mar 24, 2021
1 parent 82cc0ac commit 347bdcd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions definitions/infra-awsrdsdbcluster/summary_metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ readIops:
eventId: entityGuid
select: average(`provider.volumeReadIops.Average`)
from: DatastoreSample
where: provider='RdsDbCluster'
unit: COUNT
title: Read IOPS
writeIops:
query:
eventId: entityGuid
select: average(`provider.volumeWriteIops.Average`)
from: DatastoreSample
where: provider='RdsDbCluster'
unit: COUNT
title: Write IOPS
3 changes: 3 additions & 0 deletions definitions/infra-awsrdsdbinstance/summary_metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,22 @@ throughput:
eventId: entityGuid
select: average(`provider.readThroughput.Average`) + average(`provider.writeThroughput.Average`)
from: DatastoreSample
where: provider='RdsDbInstance'
unit: BYTES
title: Throughput
freeStorage:
query:
eventId: entityGuid
select: min(`provider.freeStorageSpaceBytes.Minimum`)
from: DatastoreSample
where: provider='RdsDbInstance'
unit: BYTES
title: Free storage
cpuUtilization:
query:
eventId: entityGuid
select: average(`provider.cpuUtilization.Average`)
from: DatastoreSample
where: provider='RdsDbInstance'
unit: PERCENTAGE
title: CPU utilization

0 comments on commit 347bdcd

Please sign in to comment.