<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Query Maximum RabbitMQ Message Count Using DQL in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Query-Maximum-RabbitMQ-Message-Count-Using-DQL/m-p/281709#M2332</link>
    <description>&lt;P&gt;Currently we have a DQL query running in workflow for checking the max value of one of the rabbitmq queues from 22:00 to 23:59 and send us alert if the max value is lower than the threshold. The workflow running in the midnight.&lt;/P&gt;
&lt;P&gt;timeseries ready = max(rabbitmq.queue.messages_ready),&lt;BR /&gt;by:{queue}, from:now()-2h, to:now()&lt;BR /&gt;| fields readyMax = round(arrayMax(ready), decimals: 0), queue&lt;BR /&gt;| filter queue == "Dialler.DecisionTrigger2"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now we would like to have some analysis for the rabbitmq result. We would like to make a summary for the max value of rabbitmq messages from 22:00 to 23:59 for last 3 months by each day as a table format as below:&lt;/P&gt;
&lt;P&gt;|Date | max value|&lt;BR /&gt;&lt;SPAN&gt;|2025-7-1| 115k|&lt;BR /&gt;&lt;/SPAN&gt;|2025-7-2| 35k|&lt;BR /&gt;|2025-7-3| 60k|&lt;BR /&gt;|2025-7-4| 95k|&lt;BR /&gt;|2025-7-5| 55k|&lt;BR /&gt;...&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, we are not familiar to expand the above DQL query including the time filtering and summary part. any help will be appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Dec 2025 13:47:31 GMT</pubDate>
    <dc:creator>simonwu42195</dc:creator>
    <dc:date>2025-12-17T13:47:31Z</dc:date>
    <item>
      <title>Query Maximum RabbitMQ Message Count Using DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Query-Maximum-RabbitMQ-Message-Count-Using-DQL/m-p/281709#M2332</link>
      <description>&lt;P&gt;Currently we have a DQL query running in workflow for checking the max value of one of the rabbitmq queues from 22:00 to 23:59 and send us alert if the max value is lower than the threshold. The workflow running in the midnight.&lt;/P&gt;
&lt;P&gt;timeseries ready = max(rabbitmq.queue.messages_ready),&lt;BR /&gt;by:{queue}, from:now()-2h, to:now()&lt;BR /&gt;| fields readyMax = round(arrayMax(ready), decimals: 0), queue&lt;BR /&gt;| filter queue == "Dialler.DecisionTrigger2"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now we would like to have some analysis for the rabbitmq result. We would like to make a summary for the max value of rabbitmq messages from 22:00 to 23:59 for last 3 months by each day as a table format as below:&lt;/P&gt;
&lt;P&gt;|Date | max value|&lt;BR /&gt;&lt;SPAN&gt;|2025-7-1| 115k|&lt;BR /&gt;&lt;/SPAN&gt;|2025-7-2| 35k|&lt;BR /&gt;|2025-7-3| 60k|&lt;BR /&gt;|2025-7-4| 95k|&lt;BR /&gt;|2025-7-5| 55k|&lt;BR /&gt;...&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, we are not familiar to expand the above DQL query including the time filtering and summary part. any help will be appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 13:47:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Query-Maximum-RabbitMQ-Message-Count-Using-DQL/m-p/281709#M2332</guid>
      <dc:creator>simonwu42195</dc:creator>
      <dc:date>2025-12-17T13:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Write a DQL query for getting max number of rabbitmq messages for a specific timeframe for last 30 days</title>
      <link>https://community.dynatrace.com/t5/DQL/Query-Maximum-RabbitMQ-Message-Count-Using-DQL/m-p/281868#M2342</link>
      <description>&lt;P&gt;I have slightly modified the dql query for extracting that data that I need, and then extract to csv, add the filtering for the report that I want. Not sure if there is better way to do so.&lt;BR /&gt;&lt;BR /&gt;timeseries value = max(rabbitmq.queue.messages), interval: 1h,&lt;BR /&gt;by:{queue}&lt;BR /&gt;// *** timeseries interval splitter start ***&lt;BR /&gt;| fields queue, timeslot=record(&lt;BR /&gt;timeframe.start = timeframe[start] + interval * iIndex(),&lt;BR /&gt;value[]&lt;BR /&gt;/* add any dimension split (by:) field names here */&lt;BR /&gt;&lt;BR /&gt;)&lt;BR /&gt;| filter queue == "Dialler.DecisionTrigger2"&lt;BR /&gt;//| filter getHour(timeframe[start]) &amp;gt;= 19&lt;BR /&gt;| expand timeslot&lt;BR /&gt;| fieldsFlatten timeslot&lt;BR /&gt;| fieldsRemove timeslot&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 17:32:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Query-Maximum-RabbitMQ-Message-Count-Using-DQL/m-p/281868#M2342</guid>
      <dc:creator>simonwu42195</dc:creator>
      <dc:date>2025-07-18T17:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Write a DQL query for getting max number of rabbitmq messages for a specific timeframe for last 30 days</title>
      <link>https://community.dynatrace.com/t5/DQL/Query-Maximum-RabbitMQ-Message-Count-Using-DQL/m-p/281870#M2343</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotation 2025-07-18 183309.jpg" style="width: 414px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29087i8E431A7B09A9CC20/image-size/large?v=v2&amp;amp;px=999" role="button" title="Annotation 2025-07-18 183309.jpg" alt="Annotation 2025-07-18 183309.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 17:34:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Query-Maximum-RabbitMQ-Message-Count-Using-DQL/m-p/281870#M2343</guid>
      <dc:creator>simonwu42195</dc:creator>
      <dc:date>2025-07-18T17:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Write a DQL query for getting max number of rabbitmq messages for a specific timeframe for last 30 days</title>
      <link>https://community.dynatrace.com/t5/DQL/Query-Maximum-RabbitMQ-Message-Count-Using-DQL/m-p/291722#M2913</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/90493"&gt;@simonwu42195&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;SPAN&gt;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!&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know what works best for you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 13:47:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Query-Maximum-RabbitMQ-Message-Count-Using-DQL/m-p/291722#M2913</guid>
      <dc:creator>IzabelaRokita</dc:creator>
      <dc:date>2025-12-17T13:47:04Z</dc:date>
    </item>
  </channel>
</rss>

