No project description provided
Project description
py-air-control-exporter
Exports air quality metrics to Prometheus.
This exporter uses py-air-control to obtain data.
Installation
pip install py-air-control-exporter
Running
py-air-control-exporter --host 192.168.1.105 --protocol <http|coap|plain_coap>
This will serve metrics at http://0.0.0.0:9896/metrics
.
For more instructions run py-air-control-exporter --help
.
You can make Prometheus scrape these with this scrape config:
scrape_configs:
- job_name: "py_air_control"
static_configs:
- targets: ["<the IP of your exporter host>:9896"]
labels:
location: "bedroom"
0.1.5
- Introduced the
py-air-control-exporter
command line tool.
0.1.4
- Packaging fixes:
- Building outside a git repository now supported.
- Build process now verifies that the CHANGELOG.md version matches the git version.
0.1.3
- Source distribution fixes: using SCM version, including test sources, including
CHANGELOG.md
.
0.1.2
- Removed the
py-air-control-exporter
entry point. - Fixed
pyairctrl.http_air_client
references topyairctrl.http_client
.
0.1.1
- Ported to
prometheus_client
and added descriptions to each metric.
0.1.0
- Initial release.
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
Close
Hashes for py-air-control-exporter-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46eff1c801a299cf2ad37e6bd0c579449779cb6a47f1007264bfcabf12739f8b |
|
MD5 | cf6a1dc6d90ec5a6dfb3e453fd5f7b47 |
|
BLAKE2b-256 | bccc0f813ea1fbdcf28cd400f0a5e680fd441faf9d2fd489f47a3425dbf0fe00 |