Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.prometheus.PrometheusView Class Reference
Inheritance diagram for homeassistant.components.prometheus.PrometheusView:
[legend]
Collaboration diagram for homeassistant.components.prometheus.PrometheusView:
[legend]

Public Member Functions

None __init__ (self, bool requires_auth)
 
web.Response get (self, web.Request request)
 

Public Attributes

 requires_auth
 

Static Public Attributes

 name
 
 url
 

Detailed Description

Handle Prometheus requests.

Definition at line 815 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.prometheus.PrometheusView.__init__ (   self,
bool  requires_auth 
)
Initialize Prometheus view.

Definition at line 821 of file __init__.py.

Member Function Documentation

◆ get()

web.Response homeassistant.components.prometheus.PrometheusView.get (   self,
web.Request  request 
)
Handle request for Prometheus metrics.

Definition at line 825 of file __init__.py.

Member Data Documentation

◆ name

homeassistant.components.prometheus.PrometheusView.name
static

Definition at line 819 of file __init__.py.

◆ requires_auth

homeassistant.components.prometheus.PrometheusView.requires_auth

Definition at line 823 of file __init__.py.

◆ url

homeassistant.components.prometheus.PrometheusView.url
static

Definition at line 818 of file __init__.py.


The documentation for this class was generated from the following file: