is it possible to monitor a RabbitMQ (CloudFoundry service) queue size somehow?
If so, how? Would it be possible to pull queue size data using the DynatraceAPI?
Thanks in advance for your help,
Answer by Jakub M. ·
We have RabbitMQ plugin which runs in OneAgent. If OneAgent can be installed on RabbitMQ host then we will have all metrics form plugin . If OneAgent could not be install then plugin will not work and API will be needed.
Answer by Raffaele T. ·
just to add some details about using Dynatrace API for RabbitMQ metrics, here's a quick guide.
Hope that helps.
Dynatrace API – RabbitMQ
For details about monitoring RabbitMQ please refer to these pages:
RabbitMQ timeseries API invocation:
*remember to always put the APIToken in the API invocations. That is generated in the UI under Settings -> Integration -> Dynatrace API
All the available API parameters here: https://help.dynatrace.com/dynatrace-api/timeseries/how-do-i-fetch-the-metrics-of-monitored-entities/
RabbitMQ timeseries API invocation examples:
Querying the average size of the queues in the specified timeframe expressed in Unix time milliseconds (useful link for UTC to milliseconds and conversion: https://currentmillis.com/)
Available RabbitMQ metrics (timeseriesId=):
API invocation of available metrics for Dynatrace Plugins: