Coder Social home page Coder Social logo

scnewma / nest_exporter Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 3.0 1.68 MB

Prometheus exporter for nest metrics.

License: GNU General Public License v3.0

Dockerfile 11.25% Makefile 8.15% Go 78.44% Shell 2.16%
prometheus-exporter prometheus golang nest

nest_exporter's Introduction

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.

nest_exporter's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar scnewma avatar whi-tw avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nest_exporter's Issues

How to get metrics now that WWN is going away?

Hi there,

I just installed a Nest thermostat today and wanted to get on with scraping some metrics, and looking at your exporter (and a few others) it seems that the way to do this has always been the Works with Nest (WWN) program which is being retired in a few weeks. It looks like I can't even log into the Nest Developers console to try your exporter.

Have you found a route to continuing to get your metrics through the WWGA platform? I've not worked with it so I'm a bit confused at first, but I'll report back if I figure it out.

Thanks
Patrick

Docker Hub builds are only tagged with 'latest'

Hello!

Sorry, me again. It looks like you're only tagging the docker repos with 'latest' (hooks/post_push has been removed in 6f60556, which caused docker hub to add extra tags to the built image - without that, it will only tag latest.

Would it be possible to add some extra per-build tags, so a container can be pinned to a specific version?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.