mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-04 18:25:22 +03:00
Update frigate/prometheus_exporter.py
Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>
This commit is contained in:
parent
8643a29123
commit
9a398cd83b
@ -68,7 +68,7 @@ class CustomCollector:
|
|||||||
)
|
)
|
||||||
|
|
||||||
for k, d in data.items():
|
for k, d in data.items():
|
||||||
add_metric(ffmpeg_pid, k, d, "ffmpeg_pid")
|
add_metric(ffmpeg_up, k, d is not None, "ffmpeg_up")
|
||||||
add_metric(detect_pid, k, d, "pid")
|
add_metric(detect_pid, k, d, "pid")
|
||||||
add_metric(capture_pid, k, d, "capture_pid")
|
add_metric(capture_pid, k, d, "capture_pid")
|
||||||
add_metric(camera_fps, k, d, "camera_fps")
|
add_metric(camera_fps, k, d, "camera_fps")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user