23 Jan 2024 02:31 PM - last edited on 19 Aug 2024 02:05 PM by Michal_Gebacki
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,
Solved! Go to Solution.
26 Feb 2024 11:11 PM - edited 26 Feb 2024 11:12 PM
Hi @Ccastrillon,
Are queues IBM MQ? If this is the case, you can use the IBM MQ extension, and obtain the Depth metric.
27 Feb 2024 08:33 AM
Are you looking for the "content" of the message?
17 Mar 2024 02:54 AM
@Ccastrillon As suggested by @Miguel_RinconG MQ extension is the solution, if in case MQ is not there then try below some more option
Identify the relevant entities representing the queues in your environment.
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.
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.