{"repo":"chelnak/status-cake-exporter","free":true,"listed":false,"github":"https://github.com/chelnak/status-cake-exporter","clone":"git clone https://github.com/chelnak/status-cake-exporter.git","description":"A Prometheus exporter for StatusCake","language":"Python","stars":16,"topics":["prometheus","kubernetes","hacktoberfest"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Status Cake Exporter :rotating light: Container images have moved to ghcr.io/chelnak/status-cake-exporter Status Cake Exporter is a Prometheus exporter for StatusCake. Metrics are exposed on port 8000 when using the provided examples/manifest.yml](examples/manifest.yml) in Kubernetes, e.g. Requirements Python 3.10+ Docker Kubernetes (optional) Helm 3 (optional) Usage Setting Required Default -------------------------------------- ---------- --------- HOST No https://api.statuscake.com/v1 API KEY Yes Null TAGS No Null LOG LEVEL No info PORT No 8000 ITEMS PER PAGE No 25 Docker The following will expose the exporter at localhost:8000 : Kubernetes To get up and running quickly, use examples/manifest.yml as an example. You will need to create a secret named status-cake-api-token containing your API KEY first. Otherwise, you can use the Helm Chart provided in chart/status-cake-exporter. Grafana To get up and running quickly, use examples/grafana-example.json as an example. Terminal Metrics Name Type Description ----- ------ ------------- status cake test info Gauge A basic listing of the tests under the current account. status cake test status Gauge Current test status (1 is up, 0 is down) status cake test uptime percent Gauge Tests and their uptime percentage status cake test performance Gauge Tests and their performance percentage Prometheus Prometheus config needs to be updated to see the new exported. Use the following scrape config as an example: Grafana Data collected by Prom","default_branch":null,"files":null,"tree":[],"storefront":"/r/chelnak","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chelnak/status-cake-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."}