Skip to content

A Go application that periodically queries the Geotogether smart meter API and writes data to Datadog.

Notifications You must be signed in to change notification settings

simonwhitaker/geo-energy-datadog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geo-energy-datadog

A Go application that periodically queries the Geotogether smart meter API and writes data to Datadog. It's written in such a way that it ought to be possible to plug in other inputs and outputs fairly easily.

Getting started

export GEO_USERNAME="me@example.com"
export GEO_PASSWORD="<geotogether.com password here>"
export DD_API_KEY="<Datadog API key here>"
export DD_APP_KEY="<Datadog app key here>" # optional
export DD_SITE="datadoghq.eu" # optional, defaults to datadoghq.com

go run .

Using Docker

Export the environment variables as above, then:

docker compose up

About

A Go application that periodically queries the Geotogether smart meter API and writes data to Datadog.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published