Home Assistant Unofficial Reference 2024.12.1
__init__.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.prometheus.PrometheusMetrics
 
class  homeassistant.components.prometheus.PrometheusView
 

Namespaces

 homeassistant.components.prometheus
 

Functions

bool homeassistant.components.prometheus.setup (HomeAssistant hass, ConfigType config)
 

Variables

 homeassistant.components.prometheus._LOGGER = logging.getLogger(__name__)
 
 homeassistant.components.prometheus.ALLOWED_METRIC_CHARS = set(string.ascii_letters + string.digits + "_:")
 
string homeassistant.components.prometheus.API_ENDPOINT = "/api/prometheus"
 
 homeassistant.components.prometheus.COMPONENT_CONFIG_SCHEMA_ENTRY
 
string homeassistant.components.prometheus.CONF_COMPONENT_CONFIG = "component_config"
 
string homeassistant.components.prometheus.CONF_COMPONENT_CONFIG_DOMAIN = "component_config_domain"
 
string homeassistant.components.prometheus.CONF_COMPONENT_CONFIG_GLOB = "component_config_glob"
 
string homeassistant.components.prometheus.CONF_DEFAULT_METRIC = "default_metric"
 
string homeassistant.components.prometheus.CONF_FILTER = "filter"
 
string homeassistant.components.prometheus.CONF_OVERRIDE_METRIC = "override_metric"
 
string homeassistant.components.prometheus.CONF_PROM_NAMESPACE = "namespace"
 
string homeassistant.components.prometheus.CONF_REQUIRES_AUTH = "requires_auth"
 
 homeassistant.components.prometheus.CONFIG_SCHEMA
 
string homeassistant.components.prometheus.DEFAULT_NAMESPACE = "homeassistant"
 
string homeassistant.components.prometheus.DOMAIN = "prometheus"
 
 homeassistant.components.prometheus.IGNORED_STATES = frozenset({STATE_UNAVAILABLE, STATE_UNKNOWN})