An open API service indexing awesome lists of open source software.

https://github.com/simonwhitaker/geo-energy-datadog

A Go application that periodically queries the Geotogether smart meter API and writes data to Datadog.
https://github.com/simonwhitaker/geo-energy-datadog

datadog energy geotogether smart-meter

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# geo-energy-datadog

A Go application that periodically queries the [Geotogether](https://geotogether.com/) 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.

![](./assets/screenshot.png)

## Getting started

```sh
export GEO_USERNAME="me@example.com"
export GEO_PASSWORD=""
export DD_API_KEY=""
export DD_APP_KEY="" # optional
export DD_SITE="datadoghq.eu" # optional, defaults to datadoghq.com

go run .
```

## Using Docker

Export the environment variables as above, then:

```sh
docker compose up
```