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.

In 2013, DigitalOcean became one of the first cloud-based hosting companies to offer virtual machines that were based on solid state drives as opposed to more traditional hard disk drive storage. They expanded all over the world and by 2020, they had 13 data centers in various parts of the world — thus putting them in an excellent position to offer their innovative blend of services to an entirely new audience.

Why monitor your DigitalOcean bills?

A key thing to understand about your Digital Ocean plan is that you will be billed on a monthly basis. Likewise, the total amount of money you'll pay will depend entirely on the tier that you are on — with higher consumption plans always requiring you to pay more. Therefore, you always want to make a proactive effort to monitor your consumption to ensure that you’re:

  • Getting the most out of what you're paying for
  • On the appropriate plan to begin with (given your needs)

The InfluxDB DigitalOcean Billing Monitoring Template allows you to always see information about your account at a quick glance, enabling you to identify trends and patterns that otherwise likely would have gone undiscovered. In addition to being able to see your current balance, you can also view important metrics like your consumption to date, your balance to date and more — all without needing to compile this information on your own. The Template provides the actionable information you need to make more informed decisions.

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