Graphite: Difference between revisions
From charlesreid1
| Line 6: | Line 6: | ||
See [[Docker/System Stats#graphite docker]]. | See [[Docker/System Stats#graphite docker]]. | ||
Charlesreid1 git repo: https://charlesreid1.com:3000/docker/d-graphite | |||
=Configuring= | =Configuring= | ||
Revision as of 09:26, 4 February 2018
What is Graphite? It is a tool for building time series databases and displaying the results via dashboards.
Installing
Just use Docker.
See Docker/System Stats#graphite docker.
Charlesreid1 git repo: https://charlesreid1.com:3000/docker/d-graphite
Configuring
Once you get everything installed, you have to get it configured.
All the configuration steps: https://graphite.readthedocs.io/en/latest/install.html#initial-configuration
Set up the web app database (which uses django??) to use a sqlite database: https://graphite.readthedocs.io/en/latest/config-database-setup.html
Documentation on setting up web app: https://graphite.readthedocs.io/en/latest/config-webapp.html#nginx-gunicorn
Local settings for graphite: https://graphite.readthedocs.io/en/latest/config-local-settings.html
Configuring carbon: https://graphite.readthedocs.io/en/latest/config-carbon.html
Basic Operations
Data I/O
Getting data into graphite
Link: http://graphiteapp.org/quick-start-guides/feeding-metrics.html
Easy as using netcat:
$ echo "foo.bar 1 `date +%s`" | nc localhost 2003
Getting data out of graphite
Link: http://graphiteapp.org/quick-start-guides/graphing-metrics.html
The web app is how you explore your metrics.
Grafana is how you soup things up and trick things out for dashboards.
Related Pages
Code: https://charlesreid1.com:3000/data/graphite
Old pages: Graphite/Old · Graphite/Old2