# Queued messages option

**URL:** <https://community.dynatrace.com/t/queued-messages-option/43780>\
**Category:** Extensions\
**Tags:** extensions, queues, ibm-mq\
**Created:** [January 23, 2024, 2:31pm UTC](https://community.dynatrace.com/t/queued-messages-option/43780 "2024-01-23T14:31:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ccastrillon](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@Ccastrillon](https://community.dynatrace.com/u/Ccastrillon)\
**Post date:** [January 23, 2024, 2:31pm UTC](https://community.dynatrace.com/t/queued-messages-option/43780/1 "2024-01-23T14:31:06Z")

</div>

[@Mizső](https://community.dynatrace.com/user/47783)

Good morning.  
I am creating a dashboard for Openshift queue information.  
The client requests to have a graph showing the messages queued for each queue.  
From the openshift console the queued messages are observed in the MESSAGE\_COUNT option is the field that shows the queued messages.

Can someone please help me by telling me how I can get this information from dynatrace?

I have used the metrics of:  
builtin:queue.incoming\_requests:splitBy(“dt.entity.queue”):sum  
builtin:queue.outgoing\_requests:splitBy(“dt.entity.queue”):sum

But these metrics do not show what the client needs to see which is the messages queued by each queue.

Greetings,

---

<div class="post-metadata">

**Author:** ![Miguel\_RinconG](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/miguel_rincong/32/29455_2.png) [@Miguel\_RinconG](https://community.dynatrace.com/u/Miguel_RinconG)\
**Post date:** [February 26, 2024, 11:11pm UTC](https://community.dynatrace.com/t/queued-messages-option/43780/2 "2024-02-26T23:11:35Z")

</div>

Hi&nbsp;[@Ccastrillon](https://community.dynatrace.com/user/46436),

Are queues IBM MQ? If this is the case, you can use the [IBM MQ extension](https://www.dynatrace.com/hub/detail/ibm-mq-local/?query=queue&filter=all), and obtain the Depth metric.

 ![Miguel_RinconG_0-1708989137283.png](https://global.discourse-cdn.com/dynatrace/original/3X/3/6/36de2cced280f71ee12de46fd6ec95f5b6d4adc4.png)

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [February 27, 2024, 8:33am UTC](https://community.dynatrace.com/t/queued-messages-option/43780/3 "2024-02-27T08:33:13Z")

</div>

Are you looking for the “content” of the message?

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [March 17, 2024, 2:54am UTC](https://community.dynatrace.com/t/queued-messages-option/43780/4 "2024-03-17T02:54:31Z")

</div>

[@Ccastrillon](https://community.dynatrace.com/user/46436)&nbsp;As suggested by&nbsp;[@Miguel\_RinconG](https://community.dynatrace.com/user/46739)&nbsp;MQ extension is the solution, if in case MQ is not there then try below some more option

1. Identify the relevant entities representing the queues in your environment.
2. Once you’ve identified the entities representing the queues, you can use Dynatrace’s custom metrics feature to capture the number of queued messages for each queue. You’ll need to instrument your application or queue manager to expose this metric, and then send it to Dynatrace.
3. Once the custom metric is available in Dynatrace, you can create a custom chart or dashboard tile to visualize the number of queued messages for each queue over time.
