dmscli analyze concurrency

AI Tools

Analyzes and visualizes workflow concurrency to verify FIFO execution.

Synopsis

Fetches workflow execution data from Temporal to analyze workflow concurrency and scheduling.

This command generates a set of documents to help visualize workflow sequencing:

  1. A sorted HTML table showing the discrepancy between creation order and execution order.

  2. A scatter plot image (PNG) comparing creation time to start time.

  3. A Gantt chart HTML to visualize workflow duration and overlap.

  4. A manifest file explaining the generated artifacts and input parameters.

dmscli analyze concurrency [flags]

Examples:

# Analyze workflows of type 'SemaphoreWorkflow' created in the last hour dmscli analyze concurrency --workflow-type SemaphoreWorkflow --since 1h # Analyze workflows within a specific time window dmscli analyze concurrency --since 2024-01-01T00:00:00Z --until 2024-01-01T12:00:00Z # Analyze a specific range of workflows by ID and output to a specific directory dmscli analyze concurrency --start-wid <start-workflow-id> --end-wid <end-workflow-id> --dest-dir /home/user/analysis

Flag

Short

Type

Default

Description

--help

-h

bool


Help for concurrency.

--dest-dir


string


The destination directory for the generated analysis files (default: /tmp/dmscli-concurrency-status-<timestamp>).

--end-wid


string


The ending workflow ID to conclude the analysis at.

--since


string


The start of the time range to query for workflows (e.g., '1h', '2023-01-01T15:04:05Z').

--start-wid


string


The starting workflow ID to begin the analysis from.

--until


string


The end of the time range to query for workflows (e.g., '2023-01-02T15:04:05Z').

--workflow-type


string


The type of workflow to analyze. If empty, all types are analyzed.



On This Page