{"repo":"mweinelt/ha-prometheus-sensor","free":true,"listed":false,"github":"https://github.com/mweinelt/ha-prometheus-sensor","clone":"git clone https://github.com/mweinelt/ha-prometheus-sensor.git","description":"Import 🔥 Prometheus/VictoriaMetrics/Mimir query results into 🏡 Home Assistant 📈","language":"Python","stars":62,"topics":["homeassistant","prometheus","hacktoberfest"],"license":"MIT","category":"analytics","readme_excerpt":"Prometheus sensor for Home Assistant Use [PromQL expressions] to query [Prometheus]-[compatible APIs] and expose the results as sensor values in [Home Assistant]. Contributions welcome! [PromQL expressions]: https://prometheus.io/docs/prometheus/latest/querying/basics/ [Prometheus]: https://prometheus.io [compatible APIs]: https://prometheus.io/docs/prometheus/latest/querying/api/#instant-queries [Home Assistant]: https://www.home-assistant.io Compatibility Tested against Home Assistant 2026.1.1. Basic setup This component hooks into Home Assistant via the [YAML configuration] as a platform integration. The platform can be defined multiple times with varying settings. [YAML configuration]: https://www.home-assistant.io/docs/configuration/yaml/ Settings Name Type Required Example Description ---------- --------- ---------- ------------------------- ---------------------------- platform string true prometheus sensor Platform name url string true http://localhost:9090 Prometheus base URL headers mapping false [Extra HTTP headers] Extra HTTP headers queries list true [Example] List of queries to execute [Extra HTTP headers]: #extra-http-headers [Example]: #example-usage Extra HTTP headers This is an optional mapping ( string - string ) that will be sent with every request. It can be used to support authentication headers or [tenant selection] in Grafana Mimir. [tenant selection]: https://grafana.com/docs/mimir/latest/manage/secure/authentication-and-authorization/ Entities This c","default_branch":null,"files":null,"tree":[],"storefront":"/r/mweinelt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mweinelt/ha-prometheus-sensor/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."}