Files
home-assistant-core/homeassistant/components/prometheus
Shulyaka 872140123d Add humidifier support to prometheus (#37112)
* Add humidifier support to promethease

* add humidifier dependency

* handle dependencies

* wrong place

* applied suggestions from code review

* fix typo

* Revert "wrong place"

This reverts commit 58e509d767d484e43aa108ca896146e514b79c10.

* Revert "handle dependencies"

This reverts commit 74bd523e08a32cd906809929f139d6469610f808.

* Revert "add humidifier dependency"

This reverts commit 8840b378e53d28a86eed5f62a8126769d3f58afe.
2020-07-08 20:42:45 -04: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).