Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added options and example call
  • Loading branch information
vfoucault authored Apr 1, 2019
1 parent 12fa208 commit 5616678
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,28 @@ bearerToken: BearerTokenFromGrafana
go build
```

# Call

## Options

```
Usage of grafana-annotation:
-config-file string
Configuration File (default "~/.grafana-anotation-poster.yml")
-data string
Additional data.
-tag value
Tags. may be repeated multiple times
-verbose
Be Verbose.
-what string
The What item to post. (default "$(hostname)")
```

## Example call

```
~$ grafana-annotation -data "Details on this event" -tag foo \
-tag bar -what "Something happened on system foo with bar event"
```

0 comments on commit 5616678

Please sign in to comment.