# Display AWS EBS Volumes Near Maximum IOPS Using DQL

**URL:** <https://community.dynatrace.com/t/display-aws-ebs-volumes-near-maximum-iops-using-dql/52419>\
**Category:** DQL\
**Tags:** dql, aws, dashboards\
**Created:** [July 9, 2025, 9:02am UTC](https://community.dynatrace.com/t/display-aws-ebs-volumes-near-maximum-iops-using-dql/52419 "2025-07-09T09:02:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark\_linders](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mark_linders/32/7446_2.png) [@mark\_linders](https://community.dynatrace.com/u/mark_linders)\
**Post date:** [July 9, 2025, 9:02am UTC](https://community.dynatrace.com/t/display-aws-ebs-volumes-near-maximum-iops-using-dql/52419/1 "2025-07-09T09:02:00Z")

</div>

I was using DQL to create a visualization that displays my EBS volumes and shows how close they are to hitting their maximum IOPS, or list if they are already under high usage.

I did something like this:

```markup
timeseries by:{dt.entity.ebs_volume}, {
  avg_read_iops = avg(dt.cloud.aws.ebs.ops.read),
  avg_write_iops = avg(dt.cloud.aws.ebs.ops.write),
  avg_queue = avg(dt.cloud.aws.ebs.queue)
}
| fieldsAdd total_iops = arraySum(avg_read_iops) + arraySum(avg_write_iops)
| fieldsAdd queue_peak = coalesce(arrayMax(avg_queue), 0.0)
| fieldsAdd flag = if(queue_peak > 5, then: "High Queue",
                 else: if(total_iops >= 2700, then: "High IOPS", else: "Normal"))
| filter flag != "Normal"
| sort total_iops desc

```

But this takes 2700 as a fixed HIgh IOPS rate.  
Now I can get a lot of information about my volumes:

```markup
fetch dt.entity.ebs_volume
| fieldsAdd arn, deviceName, entity.name, id, iops, tags, belongs_to[dt.entity.ec2_instance]

```

What I assumed was possible, is that I can use the information value from iops from dt.entity.ebs\_volume and calculate if I am for example at 90% of my configured IOPS. Also using something like the entity.name in my graph would be super helpful.

My main goal is as follows:  
Display a graph or table with volumes, that are showing they are hitting their configured IOPS limits.

Hope anyone can help me out on this.

---

<div class="post-metadata">

**Author:** ![izabelarokita](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/izabelarokita/32/41812_2.png) [@izabelarokita](https://community.dynatrace.com/u/izabelarokita)\
**Post date:** [December 17, 2025, 10:27am UTC](https://community.dynatrace.com/t/display-aws-ebs-volumes-near-maximum-iops-using-dql/52419/2 "2025-12-17T10:27:50Z")

</div>

Hey&nbsp;[@mark\_linders](https://community.dynatrace.com/user/11859)&nbsp;,  
I just wanted to check in and see if you still need help with this. If so, I’d be happy to look into it for you!&nbsp;:blush:  
Please let me know what works best for you.
