In this guide we’ll demonstrate how to install and configure a monitoring agent, view and manage the generated metrics, and finally how to create a simple dashboard with Grafana. This material is also available on the Account Overview page when you first open your account.
For information on sending metrics without a monitoring service, take a look at the examples in our Language Guide.
The simplest client to install is our own Hosted Graphite Agent client, which is already configured with your API key, monitors itself and can be used to send metrics from your own applications to Hosted Graphite as well.
Installing the HG Agent
Debian/Ubuntu: curl -s https://YOUR-API-KEY@www.hostedgraphite.com/agent/installer/deb/ | sudo sh RHEL: curl -s https://YOUR-API-KEY@www.hostedgraphite.com/agent/installer/rpm/ | sudo sh
You can also find the command with the API key already filling in, by clicking the ‘How do I send metrics?’ button beneath your API key on the Account Overview page.
To confirm the HG-Agent is working correctly, go to the Agents page on your Hosted Graphite account.
Viewing the HG-Agent Dashboard
A dashboard is generated automatically when you install the HG Agent, which you can access via the Agents page. Find your agent and click the dashboard icon to the right of the page. You’ll be taken to the HG Agent Dashboard in Grafana with that agent selected. Use the dropdown menu at the top to browse any other agents you have installed.