Skip to content

digitalocean-labs/droplet-metrics-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Droplet Metrics Dashboard

Use DigitalOcean's Public API to fetch metrics for tagged droplets, using curl and jq:

TAG_NAME="wibble" DIGITALOCEAN_TOKEN="[REDACTED]" ./metrics.sh

Serve fetched metrics using a local http server (Caddy), rendered into graphs using Highcharts:

./serve.sh

View your collected metrics at http://localhost:3000/

Tip

If you would like to avoid fetching metrics with curl and jq you may be interested in the nocache branch that uses Caddy server's reverse-proxy capabilities to fetch metrics directly from DigitalOcean's Public API.

Example

Example Droplet Metrics

About

Use public API to display metrics for tagged droplets

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published