1VERSION(1)                       User Commands                      VERSION(1)
2
3
4

NAME

6       grafana-server  - back-end server for the Grafana metrics dashboard and
7       graph editor
8

DESCRIPTION

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

OPTIONS

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  and  also provide additional
25       options for testing Grafana.
26
27       -config string
28
29              path to config file
30
31       -homepath string
32
33              path to grafana install/home path, defaults to working directory
34
35       -packaging string
36
37              describes the way Grafana was installed (default "unknown")
38
39       -pidfile string
40
41              path to pid file
42
43       -profile
44
45              Turn on pprof profiling
46
47       -profile-port int
48
49              Define custom port for profiling (default 6060)
50
51       -test.bench regexp
52
53              run only benchmarks matching regexp
54
55       -test.benchmem
56
57              print memory allocations for benchmarks
58
59       -test.benchtime d
60
61              run each benchmark for duration d (default 1s)
62
63       -test.blockprofile file
64
65              write a goroutine blocking profile to file
66
67       -test.blockprofilerate rate
68
69              set  blocking  profile  rate  (see  runtime.SetBlockProfileRate)
70              (default 1)
71
72       -test.count n
73
74              run tests and benchmarks n times (default 1)
75
76       -test.coverprofile file
77
78              write a coverage profile to file
79
80       -test.cpu list
81
82              comma-separated list of cpu counts to run each test with
83
84       -test.cpuprofile file
85
86              write a cpu profile to file
87
88       -test.failfast
89
90              do not start new tests after the first test failure
91
92       -test.list regexp
93
94              list tests, examples, and benchmarks matching regexp then exit
95
96       -test.memprofile file
97
98              write a memory profile to file
99
100       -test.memprofilerate rate
101
102              set memory profiling rate (see runtime.MemProfileRate)
103
104       -test.mutexprofile string
105
106              write  a mutex contention profile to the named file after execu‐
107              tion
108
109       -test.mutexprofilefraction int
110
111              if >= 0, calls runtime.SetMutexProfileFraction() (default 1)
112
113       -test.outputdir dir
114
115              write profiles to dir
116
117       -test.parallel n
118
119              run at most n tests in parallel (default 8)
120
121       -test.run regexp
122
123              run only tests and examples matching regexp
124
125       -test.short
126
127              run smaller test suite to save time
128
129       -test.testlogfile file
130
131              write test action log to file (for use only by cmd/go)
132
133       -test.timeout d
134
135              panic test binary after duration d (default 0, timeout disabled)
136
137       -test.trace file
138
139              write an execution trace to file
140
141       -test.v
142
143              verbose: print additional output
144
145       -v     prints current version and exits
146

SEE ALSO

148       The  full  documentation  for   Grafana   is   available   on-line   at
149       http://docs.grafana.org/.
150
151
152
153Version 5.4.3                    February 2019                      VERSION(1)
Impressum