pass gpio to prometheus metrics

This commit is contained in:
Devaev Maxim
2020-09-03 12:05:41 +03:00
parent 4f3875bf51
commit 6820c31626
2 changed files with 9 additions and 3 deletions

View File

@@ -191,7 +191,7 @@ class KvmdServer(HttpServer): # pylint: disable=too-many-arguments,too-many-ins
AtxApi(atx),
MsdApi(msd, sync_chunk_size),
StreamerApi(streamer),
ExportApi(info_manager, atx),
ExportApi(info_manager, atx, user_gpio),
]
self.__ws_handlers: Dict[str, Callable] = {}