Adding 'namespace' for prometheus metrics (#13738)
* Updating prometheus client version * Using `entity_filter` as filter mechanism * New optional `namespace` configuration
This commit is contained in:
parent
19f2bbf52f
commit
a277470363
4 changed files with 28 additions and 27 deletions
|
@ -12,7 +12,7 @@ def prometheus_client(loop, hass, aiohttp_client):
|
|||
assert loop.run_until_complete(async_setup_component(
|
||||
hass,
|
||||
prometheus.DOMAIN,
|
||||
{},
|
||||
{prometheus.DOMAIN: {}},
|
||||
))
|
||||
return loop.run_until_complete(aiohttp_client(hass.http.app))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue