{"repo":"PrefectHQ/prometheus-prefect-exporter","free":true,"listed":false,"github":"https://github.com/PrefectHQ/prometheus-prefect-exporter","clone":"git clone https://github.com/PrefectHQ/prometheus-prefect-exporter.git","description":"Prometheus Prefect Exporter","language":"Python","stars":34,"topics":["exporter","prefect","prometheus","prometheus-exporter","prometheus-prefect-exporter"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Prometheus Prefect Exporter A Prometheus exporter for Prefect metrics, written in Python. Originally contributed by @ialejandro! Usage By default prometheus-prefect-exporter will listen on port 8000 . While the default scrape interval in Prometheus is 10 seconds, we recommend a longer interval: - High-frequency environments: 30s - Standard monitoring: 60s - Low-change environments: 120s The exporter performs several endpoints, and certain endpoints may use pagination and therefore require multiple API calls. A longer scrape interval ensures that the exporter does not overwhelm the Prefect API server and create unnecessary load. Installing released versions Docker Helm Installing development versions You will need to have a Prefect Server up and running for the exporter to communicate with. Follow these steps to set one up, or skip to step 3. 1. Install Prefect Server 2. Port forward the api to your localhost: 3. Clone repository 4. Change to this directory 5. Setup a virtual environment of your choice & install dependencies Using Docker Compose Alternatively, you can use the Docker Compose configuration to stand up the exporter alongside Prefect and Prometheus. To get started, run: Confirm the services are running and healthy: You can now reach each service locally: - Prefect: http://localhost:4200 - Exporter: http://localhost:8000 - Prometheus: http://localhost:9090 Configuration You can modify environment variables to change the behavior of the exporter. - An API Key is onl","default_branch":null,"files":null,"tree":[],"storefront":"/r/PrefectHQ","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/PrefectHQ/prometheus-prefect-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}