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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gpsd_prometheus_exporter-0.3.1.tar.gz.
File metadata
- Download URL: gpsd_prometheus_exporter-0.3.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.1 Linux/5.4.79-v7l+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
692ee03660cba15ac4842bea88744174c42bc14b67dc0f5449e34cc252182b77
|
|
| MD5 |
4fb22ffc97314833624dda22e1169c04
|
|
| BLAKE2b-256 |
bf034d26ef4d05107dfd12f59113255147f6c451e16b71e069209579dd967f7c
|
File details
Details for the file gpsd_prometheus_exporter-0.3.1-py3-none-any.whl.
File metadata
- Download URL: gpsd_prometheus_exporter-0.3.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.1 Linux/5.4.79-v7l+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6908f2740015807268140f47b1550911e7d1a501d72c6d633fcfd13d5fe76f27
|
|
| MD5 |
d4e966d1e1bcfcdd53d139a0f6f819d9
|
|
| BLAKE2b-256 |
0b4aa79fa643809b3469248a6bfc06cfb4623892be8087769823c583694c4a4f
|