docs: small updates

This commit is contained in:
Daniel Lee 2017-06-26 17:42:50 +02:00
parent 8c8b1dde8a
commit 10127e8ac9
2 changed files with 3 additions and 2 deletions

View File

@ -88,8 +88,8 @@ You can switch to raw query mode by clicking hamburger icon and then `Switch edi
- $m = replaced with measurement name
- $measurement = replaced with measurement name
- $col = replaced with column name
- $tag_hostname = replaced with the value of the hostname tag
- You can also use [[tag_hostname]] pattern replacement syntax
- $tag_hostname = replaced with the value of the hostname tag. Use your tag instead of hostname and the tag must be used to group by in the query when used in the ALIAS BY field.
- You can also use [[tag_hostname]] pattern replacement syntax. For example, in the ALIAS BY field using this text `Host: [[tag_hostname]]` would substitute in the `hostname` tag value for each legend value and an example legend value would be: `Host: server1`.
### Table query / raw data

View File

@ -81,6 +81,7 @@ sudo apt-get install -y apt-transport-https
- Installs systemd service (if systemd is available) name `grafana-server.service`
- The default configuration sets the log file at `/var/log/grafana/grafana.log`
- The default configuration specifies an sqlite3 db at `/var/lib/grafana/grafana.db`
- Installs HTML/JS/CSS and other Grafana files at `/usr/share/grafana`
## Start the server (init.d service)