Skip to main content

Local Workflow Dashboard

When you're developing Dapr workflows and durable agents locally, you probably want to inspect the underlying workflow state and the historical execution data. For this you can use the Diagrid Dashboard. The dashboard runs locally as a container and is powered by the data stored in your local actor state store.

diagrid dashboard

Download & run the Diagrid Dashboard

Prerequisites

Run the container

Depending on which state store you use, follow these instructions to download and run the dashboard.

If you use the default Redis state store that gets installed with the Dapr CLI, you download and run the Diagrid dashboard as follows:

docker run -p 8080:8080 ghcr.io/diagridio/diagrid-dashboard:latest

The terminal will show some logging output including:

level=info msg="starting diagrid-dashboard restservice server on 0.0.0.0:8080

Once the container is running, open the Diagrid Dashboard in the browser at http://localhost:8080/.

Using the Diagrid Dashboard

Once the dashboard is running, start your Dapr workflow application as you normally would, via an IDE or via the Dapr CLI, and use the workflow management API to schedule a new workflow instance.

Once a workflow instance is running you will see it in the dashboard: diagrid dashboard

Click on the Instance ID of a workflow instance to drill down to inspect the workflow execution details, including input, output and historical data: diagrid dashboard

Expand workflow events in the Execution History table to see the details of that workflow step: diagrid dashboard

Update the dashboard

Update the Diagrid dashboard image by running:

docker image pull ghcr.io/diagridio/diagrid-dashboard:latest

Limitations

  1. Currently, the Diagrid Dashboard only supports the following local state stores:
    • Redis (automatic connection)
    • Postgres (manual configuration)
    • SQLite (manual configuration)
  2. This dashboard is intended for local use only. If you need workflow insights for other environments use Catalyst.

Troubleshooting

  • If you get a Error response from daemon: Head "https://ghcr.io/v2/diagridio/diagrid-dashboard/manifests/latest": denied: denied error, logout of the ghcr.io registry using docker logout ghcr.io, and try the docker run command again.

  • If you get a panic: failed to ping the database: failed to connect to... error, please check the connection string in the state store component. Try changing it from localhost to host.docker.internal.

Feedback

We love to hear about your experience using the Diagrid Dashboard! Please join our Discord server and share your feedback.