-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
45 lines (40 loc) · 2.59 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
USAGE
graf [-h|--help] <-u USER:PASS|-t TOKEN> URL [--from FROM] [--to TO] [--interval SECS] [-f]
select and print grafana dashboard panel to terminal
-u USER:PASS basic user password authentication
-t TOKEN api token
URL grafana base url
--from FROM, --to TO
time specifiers for grafana (defaults to now-1m, now)
INTERVAL interval in seconds between frames (defaults to <terminal rows> / TO-FROM)
-f follow, update data every INTERVAL seconds
EXAMPLE
$ graf http://localhost:3000 -u admin:admin --from now-1m -f
0 - title="dash" uid="2qZKhw-4z"
1 - title="Simple Streaming Example" uid="TXSTREZ"
Please select a dashboard: 0
0 - title="Random Walk"
1 - title="flight sim"
2 - title="Simple dummy streaming example"
Please select a panel: 1
02:47:40 |-122.43 |-31.46----|-----59.52-----------150.50----------241.48------' |332.45---'
| | '-----| | | | | '.
| | |-----. | | | |
| | | |'------. | | | '.
| | | | '-----. | | | '.
02:47:45 | | | | '-----. | | '.
| | | | | '-----. | | '.
| | | | | '------. | '.
| | | | | |'-----. | '.
| | | | | | '-----. | '.
02:47:50 | | .-----|-------------------------------------------------' | .-------'
| | '-----| | | | | '.
| | |-----. | | | |
| | | |'------. | | | '.
| | | | '-----. | | | '.
02:47:55 | | | | '-----. | | '.
| | | | | '-----. | | '.
| | | | | '------. | '.
| | | | | |'-----. | '.
^C
$