DigitalOcean-logo

DigitalOcean Billing Monitoring

Template built by

Telegraf Plugins used:

Included Resources:

  • 1 Telegraf Configuration: 'dobilling'
  • 1 Dashboards: 'DigitalOcean Billing'
  • 1 Label: 'digitalocean'
  • 1 Bucket: 'do_billing'
  • 1 sh file: balance.sh

Quick Install

If you have your InfluxDB credentials configured in the CLI, you can install this template with:

https://raw.githubusercontent.com/influxdata/community-templates/master/do_billing/dobilling.yml

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 $DO_TOKEN.

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

Related Resources

Linux System Monitoring Template

Linux monitoring of Ubuntu, Centos, RedHat and any other distro is crucial to ensuring uptime. Use this template to start monitoring now.

Infrastructure and application monitoring

Efficiently finding and addressing infrastructure and application issues through proactive monitoring is critical to providing your users with the great experience they deserve.

Google Cloud Monitoring Template

With the Google Cloud Monitoring solution, you can get a comprehensive view across your entire Google Cloud environment, containers, applications and microservices.

Scroll to Top