This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
prometheus_grafana [2019/01/11 21:01] – created admin | prometheus_grafana [2019/01/12 15:41] – admin | ||
---|---|---|---|
Line 8: | Line 8: | ||
https:// | https:// | ||
- | ===== Run exporters on boot (could be improved) ===== | + | Gitlab included Exporter |
- | In '' | + | * PostgreSQL: https://docs.gitlab.com/ |
+ | * Redis: https:// | ||
+ | * Runner: https:// | ||
- | <code bash> | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
+ | Install using go: | ||
+ | |||
+ | < | ||
+ | go get github.com/ | ||
</ | </ | ||
+ | |||
+ | ===== Run exporters on boot using supervisord ===== | ||
+ | |||
+ | Apache Exporter | ||
+ | |||
+ | <code bash / | ||
+ | [program: | ||
+ | command=/ | ||
+ | autostart=yes | ||
+ | autorestart=yes | ||
+ | startretries=3 | ||
+ | stderr_logfile=/ | ||
+ | stdout_logfile=/ | ||
+ | user=www-data | ||
+ | </ | ||
+ | |||
+ | MySQL Exporter | ||
+ | |||
+ | <code bash / | ||
+ | [program: | ||
+ | command=/ | ||
+ | autostart=yes | ||
+ | autorestart=yes | ||
+ | startretries=3 | ||
+ | stderr_logfile=/ | ||
+ | stdout_logfile=/ | ||
+ | user=root # don't run this process as root | ||
+ | </ | ||
+ | |||
+ | Grafana-rrd-server - https:// | ||
+ | |||
+ | <code bash / | ||
+ | [program: | ||
+ | command=/ | ||
+ | autostart=yes | ||
+ | autorestart=yes | ||
+ | startretries=3 | ||
+ | stderr_logfile=/ | ||
+ | stdout_logfile=/ | ||
+ | user=root # don't run this process as root | ||
+ | </ | ||
+ | |||
+ | ===== Grafana Dashboards ===== | ||
+ | |||
+ | See Grafana website for available dashboards: https:// | ||