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.
- Host: GitHub
- URL: https://github.com/simonwhitaker/geo-energy-datadog
- Owner: simonwhitaker
- Created: 2023-11-24T21:24:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-04T10:39:51.000Z (about 2 years ago)
- Last Synced: 2025-01-01T02:28:59.944Z (over 1 year ago)
- Topics: datadog, energy, geotogether, smart-meter
- Language: Go
- Homepage:
- Size: 825 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.

## 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
```