1VERSION(1) User Commands VERSION(1)
2
3
4
6 grafana-server - back-end server for the Grafana metrics dashboard and
7 graph editor
8
10 grafana-server is the back-end server for the Grafana metrics dashboard
11 and graph editor. The grafana-server program should not normally be
12 run from the command line, except when testing or for development pur‐
13 poses. Rather it should be managed by systemd. After installing
14 Grafana, the systemd service should be enabled and started as follows:
15
16 systemctl daemon-reload
17 systemctl enable grafana-server.service
18 systemctl start grafana-server.service
19
21 The gafana-server configuration is specified in
22 /etc/grafana/grafana.ini and is well documented with comments. The
23 command-line options listed below override options of the same (or sim‐
24 ilar) name in the configuration file.
25
26 -config string
27
28 path to config file
29
30 -convey-json
31
32 When true, emits results in JSON blocks. Default: 'false'
33
34 -convey-silent
35
36 When true, all output from GoConvey is suppressed.
37
38 -convey-story
39
40 When true, emits story output, otherwise emits dot output. When
41 not provided, this flag mirrors the value of the '-test.v' flag
42
43 -homepath string
44
45 path to grafana install/home path, defaults to working directory
46
47 -packaging string
48
49 describes the way Grafana was installed (default "unknown")
50
51 -pidfile string
52
53 path to pid file
54
55 -profile
56
57 Turn on pprof profiling
58
59 -profile-port uint
60
61 Define custom port for profiling (default 6060)
62
63 -tracing
64
65 Turn on tracing
66
67 -tracing-file string
68
69 Define tracing output file (default "trace.out")
70
71 -v
72
73 prints current version and exits
74
76 The full documentation for Grafana is available on-line at
77 http://docs.grafana.org/.
78
79
80
81Version 7.3.6 December 2020 VERSION(1)