Publish
Use diver publish to publish dashboards from local *.diver.yml files to the workspace.
diver publish dashboards.diver.yml
Publishing is the step that makes a dashboard available as a workspace dashboard. Use diver preview first when you want to review the result privately before other workspace members see it.
What gets published
The CLI reads each dashboard resource from YAML and creates or updates the matching Diver dashboards. Matching is based on the resource_name values in the file, so the same file can be published repeatedly as the dashboard evolves.
Published dashboards are not placed in your personal preview group. They appear in the workspace dashboard list and can be added to normal dashboard groups for sharing.
Publish one file
diver publish dashboards.diver.yml
Publish every resource in a project
Run the command without a file to discover every *.diver.yml file below the current directory:
diver publish
Recommended workflow
- Create or update a
*.diver.ymlfile in your project. - Run
diver previewand review the personal preview group in Diver. - Share the preview group when another person should review the work.
- Run
diver publishwhen the dashboard is ready for the workspace.
Deprecated alias
diver push remains available as a deprecated alias for diver publish. New scripts and documentation should use diver publish.