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 grafana-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 -homepath string
31
32 path to grafana install/home path, defaults to working directory
33
34 -packaging string
35
36 describes the way Grafana was installed (default "unknown")
37
38 -pidfile string
39
40 path to pid file
41
42 -profile
43
44 Turn on pprof profiling
45
46 -profile-addr string
47
48 Define custom address for profiling (default "localhost")
49
50 -profile-port uint
51
52 Define custom port for profiling (default 6060)
53
54 -tracing
55
56 Turn on tracing
57
58 -tracing-file string
59
60 Define tracing output file (default "trace.out")
61
62 -v
63
64 prints current version and exits
65
66 -vv
67
68 prints current version, all dependencies and exits
69
71 The full documentation for Grafana is available on-line at
72 http://docs.grafana.org/.
73
74
75
76Version 9.0.9 September 2022 VERSION(1)