Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
grafana [2019/02/08 00:22]
root [Alerting]
grafana [2019/05/13 05:22] (current)
root [Configuration 5.3]
Line 6: Line 6:
 Clone the github directory https://​github.com/​grafana/​loki/​tree/​master/​production and **docker-compose up** Clone the github directory https://​github.com/​grafana/​loki/​tree/​master/​production and **docker-compose up**
  
 +
 +Logs 
 +<​code>​
 +/​var/​log/​grafana/​grafana.log
 +</​code>​
 == Alerting ==  == Alerting == 
 * Official [[http://​docs.grafana.org/​alerting/​rules/​ | Alerting config]] * Official [[http://​docs.grafana.org/​alerting/​rules/​ | Alerting config]]
 Note email smtp is setup in the configuration .ini file  Note email smtp is setup in the configuration .ini file 
 +* Grafana Alerting with slack https://​medium.com/​pharos-production/​grafana-alerting-and-slack-notifications-3affe9d5f688
 == Configuration ==  == Configuration == 
  
Line 18: Line 23:
  
 Configuration docs http://​docs.grafana.org/​installation/​configuration/#​smtp Configuration docs http://​docs.grafana.org/​installation/​configuration/#​smtp
 +
 +== Configuration 5.3 
 +
 +Grafana 5.3 has 2 core config files 
 +
 +* Default configuration from $WORKING_DIR/​conf/​defaults.ini
 +* Custom configuration from $WORKING_DIR/​conf/​custom.ini ​
 +
 +with the docker WORKING_DIR being /​usr/​share/​grafana/​conf
 +
 +A number if the config file options can be configured with an **environment variable**
 +
 +
 +<code bash>
 +########## Paths ###########
 +[paths]
 +# folder that contains provisioning config files 
 +# that grafana will apply on startup and while running.
 +provisioning = conf/​provisioning
 +</​code>​
 +
 +This provisioning directory can have other two directories inside it:
 +
 +* datasources:​ holds a list of .yaml files that configure data sources (e.g,  Prometheus instance …).
 +* dashboards: holds a list of .yaml files with configuration files that tell Grafana where to look for dashboards to initialize on startup;
 +
 +
 +==== Making Changes to Dashboards ===
 +
 +There is a difference to the interactive dashboards and the json provided dashboards. ​
 +Json dashboards ​
 +* Changes are not auto saved and have to be written back to file (by hand)
 +
 +== Links and Reference == 
 +* Example Youtube tutorial https://​www.youtube.com/​watch?​v=sKNZMtoSHN4
 +
 +
 +
 
grafana.1549614179.txt.gz · Last modified: 2019/02/08 00:22 by root
 
RSS - 200 © CrosswireDigitialMedia Ltd