Sign inSign up

tnwhitwell/nest_exporter

By tnwhitwell

•Updated over 7 years ago

Nest metrics exporter

Image
0

1.7K

tnwhitwell/nest_exporter repository overview

⁠Nest Exporter

Build Status Go Report Card

Prometheus exporter for Nest thermostat devices.

⁠Building and Running

Prerequisites:

Building:

go get github.com/scnewma/nest_exporter
cd ${GOPATH}/src/github.com/scnewma/nest_exporter
make
./nest_exporter --nest.token=[TOKEN]

⁠Running Tests

make test

⁠Using Docker

# put Nest token in .token file then
make docker-run

# OR

docker run -p 9264:9264 -d scnewma/nest_exporter --nest.token=[TOKEN]

⁠Credit

The idea for how to structure/build the project and accept flags for running the exporter came from reviewing node_exporter⁠.

There is already a nest exporter⁠ available. I borrowed the metrics port from that exporter. I wrote a new exporter for learning purposes.

Tag summary

Content type

Image

Digest

Size

3.8 MB

Last updated

over 7 years ago

docker pull tnwhitwell/nest_exporter