Skip to main content

Move from diagrid to dod

The Dapr Ops Dashboard commands are moving from the diagrid CLI to their own CLI, dod. The Dapr Ops Dashboard was formerly called Conductor.

The Dapr Ops Dashboard commands in diagrid are deprecated and are removed in the next major version of diagrid. Move your scripts to dod before you upgrade to it.

What changes​

  • Install dod. See Install the Dapr Ops Dashboard CLI.
  • Replace diagrid with dod. Each command keeps its name, arguments, flags and output. Only the name of the CLI changes.
  • Drop diagrid product use conductor. dod always acts on the Dapr Ops Dashboard, so it has no product command.
  • Sign-in is shared. dod and diagrid use the same sign-in, stored in ~/.diagrid. If you're signed in with diagrid login, dod uses that session, and dod login signs diagrid in too. An API key set with --api-key or the DIAGRID_API_KEY environment variable works the same way in both.

For example, a script that connected a cluster with diagrid:

- diagrid product use conductor
- diagrid clusters connect --name mycluster --install-dapr --profile dev --manifests | kubectl apply -f -
+ dod clusters connect --name mycluster --install-dapr --profile dev --manifests | kubectl apply -f -

Command mapping​

Every Dapr Ops Dashboard command in diagrid and the dod command that replaces it. The hidden diagrid conductor <command> form of each command maps to the same dod command.

diagrid commanddod command
diagrid advisories list <cluster-id>dod advisories list <cluster-id>
diagrid advisories dismiss <cluster-id>dod advisories dismiss <cluster-id>
diagrid clusters connectdod clusters connect
diagrid clusters listdod clusters list
diagrid clusters get <cluster-id>dod clusters get <cluster-id>
diagrid clusters update <cluster-id>dod clusters update <cluster-id>
diagrid clusters delete <cluster-id>dod clusters delete <cluster-id>
diagrid clusters manifests <cluster-id>dod clusters manifests <cluster-id>
diagrid clusters helmvalues <cluster-id>dod clusters helmvalues <cluster-id>
diagrid clusters helmvaluesdapr <cluster-id>dod clusters helmvaluesdapr <cluster-id>
diagrid clusters dapr install <cluster-id>dod clusters dapr install <cluster-id>
diagrid clusters dapr update <cluster-id>dod clusters dapr update <cluster-id>
diagrid diagnosedod diagnose
diagrid metrics cluster <cluster-id>dod metrics cluster <cluster-id>
diagrid metrics app <cluster-id> <app-id>dod metrics app <cluster-id> <app-id>
diagrid operator manifestsdod operator manifests
diagrid product use conductorNot needed

The aliases carry over: dod advisor and dod cluster work as diagrid advisor and diagrid cluster did.

dod also has login, logout, whoami and version, which work as they do in diagrid. For the full list, see the dod command reference.

Commands that stay in diagrid​

These commands manage your Diagrid account rather than the Dapr Ops Dashboard, so they stay in diagrid and aren't deprecated:

  • diagrid org: list and switch organizations
  • diagrid user: manage the users in your organization
  • diagrid apikey: manage API keys
  • diagrid auth: print access and identity tokens
  • diagrid web, diagrid docs and diagrid update