Git Product home page Git Product logo

gpsd-exporter's Introduction

Prometheus exporter for gpsd

Release Go Report License

gpsd-exporter polls gpsd over its TCP JSON interface and exports the data to Prometheus.

Supported gpsd classes

  • Time position value (TPV)
  • Sky view (SKY)
  • Satellite (Satellite)
  • Pseudorange noise report (GST)
  • Time offset (TOFF)
  • Pulse per second (PPS)
  • Oscillator (OSC)
  • gpsd Version (VERSION)

See gpsd's protocol responses for more information.

Grafana

Grafana

A simple dashboard is available to import into Grafana from the gpsd-exporter Grafana JSON file.

Quickstart

With gpsd running on localhost:2947:

Linux

Install gpsd-exporter from the apt/yum repo or build with go build

$ gpsd-exporter
INFO[0000] Starting metrics exporter on :9978/metrics
INFO[0000] Connecting to gpsd on localhost:2947

Docker

docker run -p 9978:9978 ghcr.io/natesales/gpsd-exporter

Usage

Usage of ./gpsd-exporter:
  -d string
        gpsd address (default "localhost:2947")
  -l string
        metrics listen address (default ":9978")
  -p duration
        gpsd poll interval (default 10s)
  -v    enable verbose logging
  -vv
        enable extra verbose logging

gpsd-exporter's People

Contributors

natesales avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

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.