Python CLI to create and manage Perses dashboards.
--dashboard-name--dashboard-path(optional. defaults to current directory)--project-name(optional. defaults toproj1)--dashboard-version(optional. defaults to0)--duration(optional. defaults to1h)--refresh-interval(optional. defaults to0s)--dry-run(optional. defaults toFalse)--debug(optional. defaults toFalse)--version(prints version of this CLI and exits)
This is the minimal working example. Relies on above defaults.
- Download binary from releases.
- Rename it to
persescli - Make it executable and add to
PATH.
Create a dashboard called foo and save it as ./foo.json
./persescli --dashboard-name fooCreate dashboard which belongs to project1, defaults to a duration of 6h and a refresh interval of 10s:
./persescli --dashboard-name=foo --project-name=project1 --duration=6h --refresh-interval=10s