Docs: Getting started edits (#19915)

* Getting started edits

Adjusted weights, moved some from mac.md to configuration.md, have some questions

* Update docs/sources/installation/configuration.md

Co-Authored-By: Marcus Olsson <olsson.e.marcus@gmail.com>

* Update docs/sources/installation/configuration.md

Co-Authored-By: Marcus Olsson <olsson.e.marcus@gmail.com>

* Update docs/sources/installation/configuration.md

Co-Authored-By: Marcus Olsson <olsson.e.marcus@gmail.com>

* Edited configuration.md

* Update docs/sources/installation/configuration.md

Co-Authored-By: Marcus Olsson <olsson.e.marcus@gmail.com>

* Update docs/sources/installation/configuration.md

Co-Authored-By: Marcus Olsson <olsson.e.marcus@gmail.com>

* Update docs/sources/installation/mac.md

Co-Authored-By: Marcus Olsson <olsson.e.marcus@gmail.com>

* Update docs/sources/installation/mac.md

Co-Authored-By: Marcus Olsson <olsson.e.marcus@gmail.com>

* Update docs/sources/installation/mac.md

Co-Authored-By: Marcus Olsson <olsson.e.marcus@gmail.com>

* Update requirements.md

* Update requirements.md

* Update building_from_source.md
This commit is contained in:
oddlittlebird
2019-11-13 04:04:06 -08:00
committed by Marcus Olsson
co-authored by Marcus Olsson
parent 17724e9f84
commit 85b371a02a
9 changed files with 54 additions and 233 deletions
+12 -9
View File
@@ -17,7 +17,7 @@ specified in a `.ini` configuration file or specified using environment variable
> **Note.** Grafana needs to be restarted for any configuration changes to take effect.
## Comments In .ini Files
## Comments in .ini Files
Semicolons (the `;` char) are the standard way to comment out lines in a `.ini` file.
@@ -35,6 +35,8 @@ A common problem is forgetting to uncomment a line in the `custom.ini` (or `graf
> used. This path is specified in the Grafana
> init.d script using `--config` file parameter.
**macOS:** By default, the configuration file is located at `/usr/local/etc/grafana/grafana.ini`.
## Using environment variables
All options in the configuration file (listed below) can be overridden
@@ -79,9 +81,9 @@ system calls to get the machine name.
### data
Path to where Grafana stores the sqlite3 database (if used), file based
sessions (if used), and other data. This path is usually specified via
command line in the init.d script or the systemd service file.
Path to where Grafana stores the sqlite3 database (if used), file based sessions (if used), and other data. This path is usually specified via command line in the init.d script or the systemd service file.
**macOS:** The default SQLite database is located at `/usr/local/var/lib/grafana`
### temp_data_lifetime
@@ -90,14 +92,15 @@ How long temporary images in `data` directory should be kept. Defaults to: `24h`
### logs
Path to where Grafana will store logs. This path is usually specified via
command line in the init.d script or the systemd service file. It can
be overridden in the configuration file or in the default environment variable
file.
Path to where Grafana will store logs. This path is usually specified via command line in the init.d script or the systemd service file. It can be overridden in the configuration file or in the default environment variable file.
**macOS:** By default, the log file should be located at `/usr/local/var/log/grafana/grafana.log`.
### plugins
Directory where grafana will automatically scan and look for plugins
Directory where Grafana will automatically scan and look for plugins. Manually or automatically install any plugins here.
**macOS:** By default, the Mac plugin location is: `/usr/local/var/lib/grafana/plugins`.
### provisioning