Skip to content

Commit

Permalink
Merge pull request #784 from RizaFarheen/riz-updates
Browse files Browse the repository at this point in the history
Updates
  • Loading branch information
RizaFarheen authored Nov 7, 2024
2 parents a08ddcd + 7fcaa7a commit 60b830a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions docs/developer-guides/monitoring-task-queues.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,34 @@
# Monitoring Task Queues

Monitoring task queues is essential for ensuring optimal performance and efficiency in task processing. Task queues hold tasks that are pending execution. By monitoring these queues, you can track key metrics such as the number of tasks waiting, the number of workers polling for tasks, and the time of the last poll. This information helps manage workflow efficiency, identify potential issues, and maintain system reliability.
When an application or workflow needs to execute a task in the background, it adds tasks to task queues. These queues hold tasks that are pending execution and are processed later by worker services.

Monitoring task queues is crucial for maintaining optimal performance and efficiency. By tracking key metrics, such as the number of tasks waiting, the number of workers polling for tasks, and the last poll time, you can manage workflow efficiency, identify potential issues, and ensure system reliability.

## Viewing Task Queues

To monitor your task queues:
To monitor task queues:

1. Navigate to **Executions > Queue Monitor** from the left menu on your Orkes Conductor cluster.
1. Go to **Executions > Queue Monitor** from the left menu on your Orkes Conductor cluster.

<p align="center"><img src="/content/img/task-queue-monitor-view.png" alt="Monitoring Task Queues in Conductor" width="100%" height="auto"></img></p>

The task queue monitoring page provides the following details:
The Queue Monitor page displays the following information:

- **Queue Size** : Shows the number of tasks waiting to be executed.
- **Worker Count** : Displays the number of worker instances polling for tasks.
- **Last Poll Time** : Indicates the time of the last poll.
- **Queue Size** : The number of tasks waiting to be executed.
- **Worker Count** : The number of worker instances polling for tasks.
- **Last Poll Time** : The time the task was last polled.

You can filter task queues based on queue size, worker count, and last poll time.
Use the filter options to narrow down task queues based on queue size, worker count, and last poll time.

<p align="center"><img src="/content/img/filtering-task-queues.png" alt="Filtering task queues in Orkes Conductor" width="20%" height="auto"></img></p>
## Viewing Worker Details

To view worker details:
To view worker details for a specific task queue:

1. Select the desired task queue.
2. View the worker name, task-to-domain mapping (if any), and last poll time as shown below:
1. Select the desired task queue from the list in the **Queue Monitor**.
2. Scroll down to the **Worker** section for details about the worker's polling tasks. This includes:
- Worker name
- Task-to-domain mapping (if applicable)
- Last poll time

<p align="center"><img src="/content/img/worker-details-in-task-queue-monitor.jpg" alt="Worker details in task queue monitor" width="100%" height="auto"></img></p>
<p align="center"><img src="/content/img/worker-details-in-task-queue-monitor.png" alt="Worker details in task queue monitor" width="100%" height="auto"></img></p>

Binary file modified static/img/task-queue-monitor-view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 60b830a

Please sign in to comment.