Diamond
To collect useful system metrics in Hosted Graphite such as System CPU, User CPU, Load Average, and Physical Memory you can use a python daemon called Diamond.
Last updated
Was this helpful?
To collect useful system metrics in Hosted Graphite such as System CPU, User CPU, Load Average, and Physical Memory you can use a python daemon called Diamond.
Last updated
Was this helpful?
Diamond runs on your server, and intermittently sends these useful system metrics to Graphite. Here’s a quick primer on how to configure it.
Download Diamond - Available at .
Install Diamond - Follow the installation instructions at .
Edit the config file - Usually located at /etc/diamond/diamond.conf
At the top of the config file, add the HostedGraphiteHandler
Under the
[handlers]
[[HostedGraphiteHandler]]
section, set:
Under the
[[default]]
section, you can change how frequently metrics are reported:
On our servers we also enable collectors for network metrics and MySQL:
More collectors - Here is a for various systems e.g. Hadoop, NetApp, Nginx, Postgres, RabbitMQ, Redis, and Zookeeper.
Start Diamond - Usually with /etc/init.d/diamond start
but it may differ depending on your OS.
Diamond should now be configured to send data to Hosted Graphite and it will appear under the ‘servers’ entry in your tree of metrics. Once you start receiving Diamond metrics, an automatic Diamond dashboard will be created in your account which offers a great starting point and can be customized further.