Template built by
Telegraf Plugins used:
- 1 Telegraf Configuration:
- 1 Dashboards:
- 1 Label:
- 1 Bucket:
- 1 sh file:
If you have your InfluxDB credentials configured in the CLI, you can install this template with:
DigitalOcean Billing dashboard
DigitalOcean, Inc. — a cloud infrastructure provider with data centers worldwide — provides developers with cloud services that help to deploy and scale applications that run simultaneously on multiple computers.
Why monitor your DigitalOcean bills?
DigitalOcean billing cycles are monthly and depending on the price plan tier you are on. You might want to actively monitor your consumption of resources to manage your spend. This InfluxDB template offers you information about your current balance, consumption to date and balance to date of your DigitalOcean Account.
How to use DigitalOcean Billing Monitoring Template
Once your InfluxDB credentials have been properly configured in the CLI, you can install the DigitalOcean Billing Monitoring Template using the Quick Install command. Once installed, the data for the dashboard will be populated by the included Telegraf configuration. Note that you might need to customize the input configuration to better serve your needs, including by specifying a new input value. All of this will depend on how your organization is currently running DigitalOcean.
To find out more information about environmental variables within the Telegraf configuration, consult the following link.
Telegraf configuration requires the following environment variables
INFLUX_TOKEN- The token with the permissions to read Telegraf configs and write data to the telegraf bucket. You can just use your operator token to get started.
INFLUX_ORG- The name of your Organization.
INFLUX_HOST- The address of your InfluxDB
To use this dashboard, you need a DigitalOcean Token. Read-only access is sufficient, and you can get one from here and pass as an environment variable. In the
balance.sh file, the variable expected is
The Telegraf config has set up a path to the
balance.sh file in the working directory from where Telegraf is running.
Key DigitalOcean Billing monitoring metrics to monitor
Some of the most important DigitalOcean Billing monitoring metrics that you should proactively monitor include:
- Billing consumption to date
- Billing month to date balance
- Current balance
Efficiently finding and addressing infrastructure and application issues through proactive monitoring is critical to providing your users with the great experience they deserve.