Skip to content

Instantly share code, notes, and snippets.

@O1ahmad
Created January 18, 2020 04:50
Show Gist options
  • Save O1ahmad/d4d6c828a4f456f778f64b104b6af3bf to your computer and use it in GitHub Desktop.
Save O1ahmad/d4d6c828a4f456f778f64b104b6af3bf to your computer and use it in GitHub Desktop.
Grafana Command-line Interface (CLI) Options
$./grafana-server -h
Usage of grafana-server:
-config string
path to config file
-convey-json
When true, emits results in JSON blocks. Default: 'false'
-convey-silent
When true, all output from GoConvey is suppressed.
-convey-story
When true, emits story output, otherwise emits dot output. When not provided, this flag mirrors the value of the '-test.v' flag
-homepath string
path to grafana install/home path, defaults to working directory
-packaging string
describes the way Grafana was installed (default "unknown")
-pidfile string
path to pid file
-profile
Turn on pprof profiling
-profile-port uint
Define custom port for profiling (default 6060)
-tracing
Turn on tracing
-tracing-file string
Define tracing output file (default "trace.out")
-v prints current version and exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment