Skip to content

Commit

Permalink
Add snippet to README
Browse files Browse the repository at this point in the history
  • Loading branch information
hoenn committed Jul 13, 2020
1 parent 46db75a commit a4a9ba0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ to provision dashboards that can be picked up immediately by Grafana.
$ grr export some-mixin.libsonnet my-provisioning-dir
```

### grr preview
Renders a mixin and uploads each dashboard produced as snapshots to Grafana. Prints out links for each dashboard that was uploaded.
```sh
$ grr preview some-mixin.libsonnet
```
Snapshots by default do not expire. Expiration can be set via the `-e, --expires` flag which takes a number of seconds as an argument.

## Flags

### `-t, --target strings`
Expand Down

0 comments on commit a4a9ba0

Please sign in to comment.