Monitor GPSD with Prometheus
Project description
gpsd_prometheus_exporter
Prometheus Exporter for GPSD
Prereqs
- python
- pip
- USB GPS device compatible with gpsd
- gpsd installed and running
It's a good idea to make sure that gpsd is working and reporting data. Verify using gpsmon or similar:
Usage Instructions
gpsd-exporter --help
Usage: gpsd-exporter [OPTIONS]
Options:
-b, --bind TEXT Specify alternate bind address [default: 0.0.0.0]
-p, --port INTEGER Specify alternate port [default: 8000]
-d, --debug Turns on more verbose logging, prints output [default:
False]
--help Show this message and exit.
Example
Start the exporter on all addresses and port 9999:
gpsd-exporter -b 0.0.0.0 -p 9999
Adding this exporter to Prometheus
- job_name: gps
static_configs:
- targets: ['boat-pi:8000']
labels:
group: 'gps'
location: 'Boat'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for gpsd_prometheus_exporter-0.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 692ee03660cba15ac4842bea88744174c42bc14b67dc0f5449e34cc252182b77 |
|
MD5 | 4fb22ffc97314833624dda22e1169c04 |
|
BLAKE2b-256 | bf034d26ef4d05107dfd12f59113255147f6c451e16b71e069209579dd967f7c |
Close
Hashes for gpsd_prometheus_exporter-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6908f2740015807268140f47b1550911e7d1a501d72c6d633fcfd13d5fe76f27 |
|
MD5 | d4e966d1e1bcfcdd53d139a0f6f819d9 |
|
BLAKE2b-256 | 0b4aa79fa643809b3469248a6bfc06cfb4623892be8087769823c583694c4a4f |