{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":47432,"path":"servicenow-platform/instance-data-replication-idr/idr-queue-dashboard.md","title":"Monitoring queues in Instance Data Replication","bundle":null,"doc_type":null,"release":"australia","body":"\n# Monitoring queues in Instance Data Replication\n\nMonitor the replication record queue, message produced queue, message consumed queue, and the messages processed for all replications sets through the Instance Data Replication \\(IDR\\) Queue Dashboard.\n\n## Accessing the IDR Queue Dashboard\n\nUsers with the admin or idr\\_admin role can access the dashboard.\n\nAccess the IDR Queue Dashboard by navigating to **Instance Data Replication** &gt; **Queue Dashboard**.\n\n## IDR Queue Dashboard\n\nThe IDR Queue Dashboard enables you to monitor the following:\n\n-   IDR Queued Producer Records which are hourly records queued for all tables over a 24-hour time period.\n-   Outbound Messages Remaining which are messages remaining in the replication queue that are not yet sent to the message queue.\n-   Outbound Messages Processed which are messages produced from this instance to the message queue.\n-   Inbound Messages Remaining which are messages remaining in the message queue, that have not yet been processed.\n-   Inbound Messages Processed which are messages consumed on this instance.\n\nIn any chart, select **Last 24 Hours** or **Last 5 Days** as the time period. For the 24-hour period, the number of messages is per hour. For the 5-day period, the number of messages is per day.\n\nSelect the legend link under the chart to exclude that data source.\n\n\\[Omitted image \"idr-queue-dashboard.png\"\\] Alt text: Queue dashboard.\n\n## IDR Queued Producer Records\n\nWith the IDR Queued Producer Records chart, you can see the number of records queued for each table over an hourly or daily period. It shows which tables account for the highest amount of traffic within IDR over time. Use this chart to identify activity spikes that cause predictable performance lags on the consumer instance.\n\nFor example, if you see that a large spike of activity occurs every day at 3:00 a.m. due to a business rule on a table, you should expect a performance lag to occur on the consumer around that time.\n\nSelect **All Tables** or a specific table. Position your cursor over a point in the chart to see the queue count and tables for that point.\n\n## Outbound Messages Remaining\n\nWith the Outbound Messages Remaining chart, you can determine whether a producer instance is catching up to real-time replication after a large spike in activity.\n\nWhen replication is working correctly, the messages remaining count should be very low. If there is a spike in activity, you can expect a large value. For example, when a business rule is changing tens of thousands of records within a minute.\n\nYou can also expect messages remaining to decrease over time as the jobs process the messages.\n\nIf the messages remaining count continues to grow without resolution, it might indicate:\n\n-   An issue processing the messages. For example, the **IDRProducerJob** is not running, or cannot send messages to the message queue.\n-   The instance is recording changes faster than IDR can produce them.\n\nSelect **All Sets** or a specific set. Position your cursor over a point in the chart to see the message count and replication set name for that point.\n\n## Outbound Messages Processed\n\nWith the Outbound Messages Processed chart, you can see the flow of records from a producer instance to the message queue over time.\n\nTrends for messages processed and the messages remaining over time indicates if replication is recovering from a lag or if there are issues sending data to the message queue.\n\nAlong with the Data Replication Queued Producer records chart, you can see if the instance is sending data. If your instance has queued records that are not being sent, it might indicate:\n\n-   The instance is not able to run the producer job. For example, due to other resource-intensive processes running on the instance and all worker threads being busy.\n-   There is an issue connecting to the message queue.\n\nTo see the message count and replication set name for a graph point, select **All Sets** or a specific set and position your cursor over a point in the chart.\n\n## Inbound Messages Remaining\n\nWith the Inbound Messages Remaining chart, you can determine whether a consumer instance is catching up to real-time replication after a large spike in activity.\n\nYou can expect a temporary large value when there is a spike in activity. The value normally decreases as the messages are processed.\n\nIf this value continues to grow without resolution, it might indicate:\n\n-   An issue processing the messages. For example, the **IDRConsumerJob** is not running, or cannot read messages from the message queue.\n-   The instance is recording changes faster than IDR can consume them.\n\nSelect **All Sets** or a specific set. Position your cursor over a point in the chart to see the message count and replication set name for that point.\n\n## Inbound Messages Processed\n\nWith the Inbound Messages Processed chart, you can see the flow of records for each consumer set over time.\n\nUse the inbound messages chart to determine which replication sets have the most traffic and see trends for messages processed and the messages remaining.\n\nIf the producer is sending records to the message queue and the consumer is not processing them, it might indicate issues with the producer or the consumer instance.\n\nPosition your cursor over a point in the chart to see the message count and replication set name for that point.\n\n**Parent Topic:**[Administering Instance Data Replication](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/instance-data-replication-idr/administering-instance-data-replication.md)\n\n**Related topics**  \n\n\n[Manage consumer access to replication data in Instance Data Replication]()\n\n[Comparing replicated data between instances in Instance Data Replication]()\n\n[Deploying a replication configuration from one instance to another in Instance Data Replication]()\n\n[Cloning options with Instance Data Replication]()\n\n[Monitoring replication status in Instance Data Replication]()\n\n[Avoiding insert and update errors in Instance Data Replication]()\n\n[Resolving data replication errors in Instance Data Replication]()\n\n"}}