hass-core/homeassistant/components/prometheus
Matt Zimmerman 515a47212e
Add target high/low temperatures to prometheus integration (#50071)
* add target high/low temperatures to prometheus integration

* use labels

* Revert "use labels"

This reverts commit 09c56d6359.

* fix naming

* tests

* cleanup

* use three separate metrics

* fix descriptions
2021-08-04 07:42:47 +02:00
..
__init__.py Add target high/low temperatures to prometheus integration (#50071) 2021-08-04 07:42:47 +02:00
manifest.json Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
README.md Add prometheus metric naming guidelines (#37149) 2020-07-05 19:00:37 +02:00

Prometheus integration

This integration exposes metrics in a Prometheus compatible format.

Metric naming guidelines

Please follow these guidelines while defining metrics.

  • Metric and label names should conform to Prometheus naming guidelines.
  • Domain-specific metrics should have the domain (sensor, switch, climate, etc.) as a metric name prefix.
  • Enum-like values (e.g. entity state or current mode) should be exported using a "boolean" metric (values of 0 or 1) broken down by state/mode (as a metric label).