Metadata-Version: 2.1
Name: sgp30-exporter
Version: 0.1.0
Summary: UNKNOWN
Home-page: UNKNOWN
Author: Matej Urbas
Author-email: matej.urbas@gmail.com
License: UNKNOWN
Description: # sgp30-exporter [![build-badge]](https://travis-ci.com/github/urbas/sgp30-exporter) [![pypi-badge]](https://pypi.org/project/sgp30-exporter/)
        
        Exports air quality readings from Pimoroni SGP30 to Prometheus.
        
        This exporter uses [pimoroni-sgp30] to obtain data.
        
        ## Installation
        
        ```bash
        pip install sgp30-exporter
        ```
        
        ## Running
        
        ```bash
        FLASK_ENV=production FLASK_APP=sgp30_exporter.app flask run --host 0.0.0.0
        ```
        
        This will serve metrics at `http://localhost:5000/metrics`.
        
        You can make Prometheus scrape these with this scrape config:
        
        ```yaml
        scrape_configs:
          - job_name: "sgp30"
            static_configs:
              - targets: ["<the IP of your exporter host>:5000"]
                labels:
                  location: "bedroom"
        ```
        
        [build-badge]: https://travis-ci.com/urbas/sgp30-exporter.svg?branch=master
        [pimoroni-sgp30]: https://github.com/pimoroni/sgp30-python
        [pypi-badge]: https://badge.fury.io/py/sgp30-exporter.svg
        
        
        # 0.1.0
        
        - Initial release.
        
Keywords: sgp30-exporter,air quality,prometheus,exporter
Platform: UNKNOWN
Description-Content-Type: text/markdown
