{"id":448,"date":"2016-07-25T15:58:01","date_gmt":"2016-07-25T14:58:01","guid":{"rendered":"https:\/\/marketaylor.synology.me\/?p=448"},"modified":"2021-11-27T15:00:13","modified_gmt":"2021-11-27T15:00:13","slug":"ibm-mq-using-prometheus-and-grafana-to-monitor-queue-managers","status":"publish","type":"post","link":"https:\/\/marketaylor.synology.me\/?p=448","title":{"rendered":"IBM MQ &#8211; Using Prometheus and Grafana to monitor queue managers"},"content":{"rendered":"<p>In <a href=\"https:\/\/marketaylor.synology.me\/?p=264\" target=\"_blank\" rel=\"noopener noreferrer\">a previous blog<\/a> entry I wrote about using the Go language with MQ. One of the reasons for creating that Go package was to enable the creation of a program that sends MQ statistics to Prometheus and hence to be easily visualised in Grafana. This blog shows how it all fits together.<\/p>\n<h2>Introduction<\/h2>\n<h3>MQ V9 metrics<\/h3>\n<p>MQ V9 (and the MQ appliance) makes many statistics available through a pub\/sub interface. One huge benefit of the pub\/sub model is that this data can be collected without interfering with any other monitoring programs. An early prototype of the MQ exporter for Prometheus used the RESET QSTATS command just to prove the concept, but that is not a good command to use in general when you have any other tools that may also use it. Publish\/subscribe gives easy isolation for monitors.<\/p>\n<p>There is much more information about these metrics in the <a href=\"https:\/\/www.ibm.com\/support\/knowledgecenter\/SSFKSJ_9.0.0\/com.ibm.mq.mon.doc\/mo00013_.htm\" target=\"_blank\" rel=\"noopener noreferrer\">MQ KnowledgeCenter<\/a> and other <a href=\"https:\/\/www.ibm.com\/developerworks\/community\/blogs\/messaging\/entry\/Statistics_published_to_the_system_topic_in_MQ_v9\" target=\"_blank\" rel=\"noopener noreferrer\">blog posts<\/a>.<\/p>\n<h3>What is Prometheus<\/h3>\n<p><a href=\"https:\/\/prometheus.io\/\" target=\"_blank\" rel=\"noopener noreferrer\">Prometheus<\/a> is an open-source monitoring and alerting solution, whose particular strength is the collection of time series data, with the ability to easily query that data. For example, the number of MQPUTs to a queue may be of interest, and this kind of database makes it easy to see how many operations occurred in an interval, or calculate averages. Prometheus works by pulling information from exporters such as this MQ program at configured intervals over an HTTP connection. It provides libraries in several languages to enable products to export data to it, but the most commonly used is probably the Go library &#8211; hence the need for an MQ Go package.<\/p>\n<h3>What is Grafana<\/h3>\n<p><a href=\"https:\/\/grafana.org\" target=\"_blank\" rel=\"noopener noreferrer\" error=\"true\">Grafana<\/a> provides a way to create dashboards and visualise data held in time series databases. It has Prometheus as a built-in data source, making this pair of products a natural fit together.<\/p>\n<h2>Getting started with the monitor<\/h2>\n<h3>Building the monitor<\/h3>\n<p>The github repository contains the monitoring program, the ibmmq package that links to the core MQ application interface and other prerequisite components.<\/p>\n<p>The command<\/p>\n<pre>git clone https:\/\/github.com\/ibm-messaging\/mq-metric-samples\n<\/pre>\n<p>should pull down the client code and its dependencies. The README file in the root of that package shows how to compile the code, either locally or within a Docker container.<\/p>\n<h2>Configuring MQ<\/h2>\n<p>It is convenient to run the monitor program as a queue manager service, automatically started and stopped along with the queue manager.<\/p>\n<p>The source code directory contains an MQSC script to define such a service. In fact, the service definition points at a simple script (also provided) which sets up any necessary environment and builds the command line parameters for the real monitor program. As the last line of the script calls &#8220;exec&#8221;, the process id of the script is inherited by the monitor program, and the queue manager can then check on the status, and can drive a suitable <code>STOP SERVICE<\/code> operation during queue manager shutdown.<\/p>\n<p>Edit the MQSC script and the shell script to point at appropriate directories where the programs exist, and where you want to put <em>stdout\/stderr<\/em>. Ensure that the mqm id running the queue manager has permission to access the programs and output files.<\/p>\n<p>The monitor listens for calls from Prometheus on a TCP port. The default port, reserved for this use in the Prometheus list, is <code>9157<\/code>. If you want to use a different number, then use the <code>-ibmmq.httpListenPort<\/code> command parameter.<\/p>\n<p>The monitor always collects all of the available queue manager-wide metrics. It can also be configured to collect statistics for specific sets of queues. The sets of queues can be given either directly on the command line with the<br \/>\n<code>-ibmmq.monitoredQueues<\/code> flag, or put into a separate file which is also named on the command line, with the <code>-ibmmq.monitoredQueuesFile<\/code> flag. An example is included in the startup shell script. For example,<\/p>\n<pre>mq_prometheus -ibmmq.QueueManager=\"QM1\" -ibmmq.monitoredQueues=\"APPA.*,APPB.*\"\n<\/pre>\n<p>starts the monitor to collect the statistics for all queues whose names begin APPA and APPB.<\/p>\n<h3>Note on queue patterns<\/h3>\n<p>For now, the queue patterns are expanded only at startup of the monitor program. If you want to change the patterns, or new queues are defined that match an existing pattern, the monitor must be restarted with a <code>STOP SERVICE<\/code> and <code>START SERVICE<\/code> pair of commands.<\/p>\n<h2>Configuring Prometheus<\/h2>\n<p>The Prometheus server has to know how to contact the MQ monitor. The simplest way is just to add a reference to the monitor in the server&#8217;s configuration file. For example, add this block to <em>\/etc\/prometheus\/prometheus.yml<\/em> with any changes needed for your hostnames and ports.<\/p>\n<pre>  # Adding a reference to an MQ monitor. All we have to do is\n  # name the host and port on which the monitor is listening.\n  # Port 9157 is the reserved default port for the MQ monitor.\n  - job_name: 'ibmmq'\n    scrape_interval: 15s\n\n    static_configs:\n    - targets: ['hostname.example.com:9157']\n<\/pre>\n<p>The Prometheus documentation has information on more complex configuration options, including the ability to pull information on which hosts should be monitored from a variety of discovery tools.<br \/>\nOnce the Prometheus server has picked up the MQ configuration, the metrics can be seen under the jobname of <strong>ibmmq<\/strong>. The values are labelled with the queue and queue manager names, to assist with selection. This picture shows some of the available information in the selection drop-down:<\/p>\n<figure id=\"attachment_458\" aria-describedby=\"caption-attachment-458\" style=\"width: 275px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-458\" src=\"https:\/\/marketaylor.synology.me\/wp-content\/uploads\/Pictures\/2019\/11\/prometheus4.png\" alt=\"\" width=\"275\" height=\"199\" \/><figcaption id=\"caption-attachment-458\" class=\"wp-caption-text\">Selecting metrics<\/figcaption><\/figure>\n<p>You can select an item from this panel and see its recent values with the queue and queue manager labels. For example,<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-455\" src=\"https:\/\/marketaylor.synology.me\/wp-content\/uploads\/Pictures\/2019\/11\/prometheus3.png\" alt=\"\" width=\"567\" height=\"395\" srcset=\"https:\/\/marketaylor.synology.me\/wp-content\/uploads\/Pictures\/2019\/11\/prometheus3.png 567w, https:\/\/marketaylor.synology.me\/wp-content\/uploads\/Pictures\/2019\/11\/prometheus3-300x209.png 300w\" sizes=\"auto, (max-width: 567px) 85vw, 567px\" \/><\/p>\n<p>However, it is more flexible to work with the graphing and dashboard views from Grafana.<\/p>\n<h2>Configuring Grafana<\/h2>\n<p>Once the Prometheus system is working, grafana can use it as a datasource &#8211; again, only a hostname and portnumber is required when adding this type of datasource. And from there, all of the MQ metrics can be accessed and added to dashboards. As an example, this dashboard is looking at several items including the same queues as above, and CPU and logging information:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-457\" src=\"https:\/\/marketaylor.synology.me\/wp-content\/uploads\/Pictures\/2019\/11\/grafana.png\" alt=\"\" width=\"960\" height=\"308\" srcset=\"https:\/\/marketaylor.synology.me\/wp-content\/uploads\/Pictures\/2019\/11\/grafana.png 960w, https:\/\/marketaylor.synology.me\/wp-content\/uploads\/Pictures\/2019\/11\/grafana-300x96.png 300w, https:\/\/marketaylor.synology.me\/wp-content\/uploads\/Pictures\/2019\/11\/grafana-768x246.png 768w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p>This picture shows how the top panel was configured, to select several metrics and show the object name in the legend:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-456\" src=\"https:\/\/marketaylor.synology.me\/wp-content\/uploads\/Pictures\/2019\/11\/grafana4.png\" alt=\"\" width=\"944\" height=\"310\" srcset=\"https:\/\/marketaylor.synology.me\/wp-content\/uploads\/Pictures\/2019\/11\/grafana4.png 944w, https:\/\/marketaylor.synology.me\/wp-content\/uploads\/Pictures\/2019\/11\/grafana4-300x99.png 300w, https:\/\/marketaylor.synology.me\/wp-content\/uploads\/Pictures\/2019\/11\/grafana4-768x252.png 768w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<h2>Deployment in Docker containers<\/h2>\n<p>All of these components can be configured to run inside Docker containers to simplify deployment. To get started, almost everything in the existing Prometheus and Grafana containers can be left to default, except for the need to add the MQ configuration to <em>prometheus.yml<\/em>. For example, I have this simple Dockerfile<\/p>\n<pre>FROM prom\/prometheus\nADD  prometheus.yml \/etc\/prometheus\/prometheus.yml\n<\/pre>\n<p>where I&#8217;ve added the ibmmq block shown above to the default yml file.<\/p>\n<p>And then this script gets both the Prometheus and Grafana components running, using local directories under \/var\/docker to hold their persistent data:<\/p>\n<pre>  docker build -t my-prometheus .\n  ARGS=\"--config.file=\/etc\/prometheus\/prometheus.yml\"\n\n  docker run -p 9090:9090 -v \/var\/docker\/prom:\/prometheus \\ \n    --detach my-prometheus $ARGS\n\n  docker run -p 3000:3000 -v \/var\/docker\/grafana:\/var\/lib\/grafana\\\n    --detach grafana\/grafana\n<\/pre>\n<p>The MQ exporter program and its configuration can also of course be baked into a Docker image. The MQ docker image on Github has information on the configuration of MQ. The service definition, the shell script and the actual monitoring program can all be copied into a new image.<\/p>\n<h2>Conclusion<\/h2>\n<p>This article has shown how the statistics generated by MQ can easily be used in some of the monitoring packages that are commonly used with various cloud and container-based systems. The MQ data can be integrated with other metrics to give a complete view of your environment.<br \/>\nI would welcome feedback on this tool. Please leave any feedback here, or in the <a href=\"https:\/\/github.com\/ibm-messaging\/mq-golang\/issues\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub issue tracker<\/a>, whether bugs, enhancements, or thoughts on the value of the monitoring.<\/p>\n<p class=\"last-modified\" style=\"border:1px solid;padding: 10px;\">This post was last updated on November 27th, 2021 at 03:00 pm<\/p>","protected":false},"excerpt":{"rendered":"<p>In a previous blog entry I wrote about using the Go language with MQ. One of the reasons for creating that Go package was to enable the creation of a program that sends MQ statistics to Prometheus and hence to be easily visualised in Grafana. This blog shows how it all fits together. Introduction MQ &hellip; <a href=\"https:\/\/marketaylor.synology.me\/?p=448\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;IBM MQ &#8211; Using Prometheus and Grafana to monitor queue managers&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[55,36,43,35,56,20,42],"class_list":["post-448","post","type-post","status-publish","format-standard","hentry","category-mq","tag-cloud","tag-golang","tag-grafana","tag-ibmmq","tag-metrics","tag-mqseries","tag-prometheus"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>IBM MQ - Using Prometheus and Grafana to monitor queue managers - Mark Taylor&#039;s Blog<\/title>\n<meta name=\"description\" content=\"This post shows how you can use Prometheus and Grafana in combination with Open Source tools to look at activity in your IBM MQ queue manager.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/marketaylor.synology.me\/?p=448\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"IBM MQ - Using Prometheus and Grafana to monitor queue managers - Mark Taylor&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"This post shows how you can use Prometheus and Grafana in combination with Open Source tools to look at activity in your IBM MQ queue manager.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/marketaylor.synology.me\/?p=448\" \/>\n<meta property=\"og:site_name\" content=\"Mark Taylor&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-07-25T14:58:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-27T15:00:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/marketaylor.synology.me\/wp-content\/uploads\/Pictures\/2019\/11\/prometheus4.png\" \/>\n<meta name=\"author\" content=\"Mark\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@marketaylor\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mark\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/marketaylor.synology.me\\\/?p=448#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/marketaylor.synology.me\\\/?p=448\"},\"author\":{\"name\":\"Mark\",\"@id\":\"https:\\\/\\\/marketaylor.synology.me\\\/#\\\/schema\\\/person\\\/2d6f4113ff54187023e20c20186bbb3c\"},\"headline\":\"IBM MQ &#8211; Using Prometheus and Grafana to monitor queue managers\",\"datePublished\":\"2016-07-25T14:58:01+00:00\",\"dateModified\":\"2021-11-27T15:00:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/marketaylor.synology.me\\\/?p=448\"},\"wordCount\":1174,\"commentCount\":3,\"image\":{\"@id\":\"https:\\\/\\\/marketaylor.synology.me\\\/?p=448#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/marketaylor.synology.me\\\/wp-content\\\/uploads\\\/Pictures\\\/2019\\\/11\\\/prometheus4.png\",\"keywords\":[\"cloud\",\"golang\",\"grafana\",\"ibmmq\",\"metrics\",\"mqseries\",\"prometheus\"],\"articleSection\":[\"IBM MQ\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/marketaylor.synology.me\\\/?p=448#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/marketaylor.synology.me\\\/?p=448\",\"url\":\"https:\\\/\\\/marketaylor.synology.me\\\/?p=448\",\"name\":\"IBM MQ - Using Prometheus and Grafana to monitor queue managers - Mark Taylor&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/marketaylor.synology.me\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/marketaylor.synology.me\\\/?p=448#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/marketaylor.synology.me\\\/?p=448#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/marketaylor.synology.me\\\/wp-content\\\/uploads\\\/Pictures\\\/2019\\\/11\\\/prometheus4.png\",\"datePublished\":\"2016-07-25T14:58:01+00:00\",\"dateModified\":\"2021-11-27T15:00:13+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/marketaylor.synology.me\\\/#\\\/schema\\\/person\\\/2d6f4113ff54187023e20c20186bbb3c\"},\"description\":\"This post shows how you can use Prometheus and Grafana in combination with Open Source tools to look at activity in your IBM MQ queue manager.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/marketaylor.synology.me\\\/?p=448#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/marketaylor.synology.me\\\/?p=448\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/marketaylor.synology.me\\\/?p=448#primaryimage\",\"url\":\"https:\\\/\\\/marketaylor.synology.me\\\/wp-content\\\/uploads\\\/Pictures\\\/2019\\\/11\\\/prometheus4.png\",\"contentUrl\":\"https:\\\/\\\/marketaylor.synology.me\\\/wp-content\\\/uploads\\\/Pictures\\\/2019\\\/11\\\/prometheus4.png\",\"width\":275,\"height\":199,\"caption\":\"Selecting metrics\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/marketaylor.synology.me\\\/?p=448#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/marketaylor.synology.me\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"IBM MQ &#8211; Using Prometheus and Grafana to monitor queue managers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/marketaylor.synology.me\\\/#website\",\"url\":\"https:\\\/\\\/marketaylor.synology.me\\\/\",\"name\":\"Mark Taylor&#039;s Blog\",\"description\":\"Messaging, Music and Moving Around\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/marketaylor.synology.me\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/marketaylor.synology.me\\\/#\\\/schema\\\/person\\\/2d6f4113ff54187023e20c20186bbb3c\",\"name\":\"Mark\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9a5ae091c43730194cba7cabb5d65c1dc3f48d05caaddec6ff2319a1ce66376f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9a5ae091c43730194cba7cabb5d65c1dc3f48d05caaddec6ff2319a1ce66376f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9a5ae091c43730194cba7cabb5d65c1dc3f48d05caaddec6ff2319a1ce66376f?s=96&d=mm&r=g\",\"caption\":\"Mark\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/marketaylor\"],\"url\":\"https:\\\/\\\/marketaylor.synology.me\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"IBM MQ - Using Prometheus and Grafana to monitor queue managers - Mark Taylor&#039;s Blog","description":"This post shows how you can use Prometheus and Grafana in combination with Open Source tools to look at activity in your IBM MQ queue manager.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/marketaylor.synology.me\/?p=448","og_locale":"en_GB","og_type":"article","og_title":"IBM MQ - Using Prometheus and Grafana to monitor queue managers - Mark Taylor&#039;s Blog","og_description":"This post shows how you can use Prometheus and Grafana in combination with Open Source tools to look at activity in your IBM MQ queue manager.","og_url":"https:\/\/marketaylor.synology.me\/?p=448","og_site_name":"Mark Taylor&#039;s Blog","article_published_time":"2016-07-25T14:58:01+00:00","article_modified_time":"2021-11-27T15:00:13+00:00","og_image":[{"url":"https:\/\/marketaylor.synology.me\/wp-content\/uploads\/Pictures\/2019\/11\/prometheus4.png","type":"","width":"","height":""}],"author":"Mark","twitter_card":"summary_large_image","twitter_creator":"@marketaylor","twitter_misc":{"Written by":"Mark","Estimated reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/marketaylor.synology.me\/?p=448#article","isPartOf":{"@id":"https:\/\/marketaylor.synology.me\/?p=448"},"author":{"name":"Mark","@id":"https:\/\/marketaylor.synology.me\/#\/schema\/person\/2d6f4113ff54187023e20c20186bbb3c"},"headline":"IBM MQ &#8211; Using Prometheus and Grafana to monitor queue managers","datePublished":"2016-07-25T14:58:01+00:00","dateModified":"2021-11-27T15:00:13+00:00","mainEntityOfPage":{"@id":"https:\/\/marketaylor.synology.me\/?p=448"},"wordCount":1174,"commentCount":3,"image":{"@id":"https:\/\/marketaylor.synology.me\/?p=448#primaryimage"},"thumbnailUrl":"https:\/\/marketaylor.synology.me\/wp-content\/uploads\/Pictures\/2019\/11\/prometheus4.png","keywords":["cloud","golang","grafana","ibmmq","metrics","mqseries","prometheus"],"articleSection":["IBM MQ"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/marketaylor.synology.me\/?p=448#respond"]}]},{"@type":"WebPage","@id":"https:\/\/marketaylor.synology.me\/?p=448","url":"https:\/\/marketaylor.synology.me\/?p=448","name":"IBM MQ - Using Prometheus and Grafana to monitor queue managers - Mark Taylor&#039;s Blog","isPartOf":{"@id":"https:\/\/marketaylor.synology.me\/#website"},"primaryImageOfPage":{"@id":"https:\/\/marketaylor.synology.me\/?p=448#primaryimage"},"image":{"@id":"https:\/\/marketaylor.synology.me\/?p=448#primaryimage"},"thumbnailUrl":"https:\/\/marketaylor.synology.me\/wp-content\/uploads\/Pictures\/2019\/11\/prometheus4.png","datePublished":"2016-07-25T14:58:01+00:00","dateModified":"2021-11-27T15:00:13+00:00","author":{"@id":"https:\/\/marketaylor.synology.me\/#\/schema\/person\/2d6f4113ff54187023e20c20186bbb3c"},"description":"This post shows how you can use Prometheus and Grafana in combination with Open Source tools to look at activity in your IBM MQ queue manager.","breadcrumb":{"@id":"https:\/\/marketaylor.synology.me\/?p=448#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/marketaylor.synology.me\/?p=448"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/marketaylor.synology.me\/?p=448#primaryimage","url":"https:\/\/marketaylor.synology.me\/wp-content\/uploads\/Pictures\/2019\/11\/prometheus4.png","contentUrl":"https:\/\/marketaylor.synology.me\/wp-content\/uploads\/Pictures\/2019\/11\/prometheus4.png","width":275,"height":199,"caption":"Selecting metrics"},{"@type":"BreadcrumbList","@id":"https:\/\/marketaylor.synology.me\/?p=448#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/marketaylor.synology.me\/"},{"@type":"ListItem","position":2,"name":"IBM MQ &#8211; Using Prometheus and Grafana to monitor queue managers"}]},{"@type":"WebSite","@id":"https:\/\/marketaylor.synology.me\/#website","url":"https:\/\/marketaylor.synology.me\/","name":"Mark Taylor&#039;s Blog","description":"Messaging, Music and Moving Around","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/marketaylor.synology.me\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/marketaylor.synology.me\/#\/schema\/person\/2d6f4113ff54187023e20c20186bbb3c","name":"Mark","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/9a5ae091c43730194cba7cabb5d65c1dc3f48d05caaddec6ff2319a1ce66376f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/9a5ae091c43730194cba7cabb5d65c1dc3f48d05caaddec6ff2319a1ce66376f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9a5ae091c43730194cba7cabb5d65c1dc3f48d05caaddec6ff2319a1ce66376f?s=96&d=mm&r=g","caption":"Mark"},"sameAs":["https:\/\/x.com\/marketaylor"],"url":"https:\/\/marketaylor.synology.me\/?author=1"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/marketaylor.synology.me\/index.php?rest_route=\/wp\/v2\/posts\/448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marketaylor.synology.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/marketaylor.synology.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/marketaylor.synology.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/marketaylor.synology.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=448"}],"version-history":[{"count":8,"href":"https:\/\/marketaylor.synology.me\/index.php?rest_route=\/wp\/v2\/posts\/448\/revisions"}],"predecessor-version":[{"id":1065,"href":"https:\/\/marketaylor.synology.me\/index.php?rest_route=\/wp\/v2\/posts\/448\/revisions\/1065"}],"wp:attachment":[{"href":"https:\/\/marketaylor.synology.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/marketaylor.synology.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/marketaylor.synology.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}