mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-19 09:27:06 +03:00
lint
This commit is contained in:
parent
97049212c6
commit
66c718573c
@ -37,9 +37,6 @@ from frigate.util.services import (
|
|||||||
)
|
)
|
||||||
from frigate.version import VERSION
|
from frigate.version import VERSION
|
||||||
|
|
||||||
from prometheus_client import generate_latest, CONTENT_TYPE_LATEST
|
|
||||||
from fastapi.responses import Response
|
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -14,8 +14,6 @@ from frigate.const import FREQUENCY_STATS_POINTS
|
|||||||
from frigate.stats.prometheus import update_metrics
|
from frigate.stats.prometheus import update_metrics
|
||||||
from frigate.stats.util import stats_snapshot
|
from frigate.stats.util import stats_snapshot
|
||||||
from frigate.types import StatsTrackingTypes
|
from frigate.types import StatsTrackingTypes
|
||||||
from frigate.stats.prometheus import update_metrics
|
|
||||||
|
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|||||||
@ -1,12 +1,12 @@
|
|||||||
|
from typing import Dict
|
||||||
|
|
||||||
from prometheus_client import (
|
from prometheus_client import (
|
||||||
|
CONTENT_TYPE_LATEST,
|
||||||
Counter,
|
Counter,
|
||||||
Gauge,
|
Gauge,
|
||||||
Histogram,
|
|
||||||
Info,
|
Info,
|
||||||
generate_latest,
|
generate_latest,
|
||||||
CONTENT_TYPE_LATEST,
|
|
||||||
)
|
)
|
||||||
from typing import Dict
|
|
||||||
|
|
||||||
# System metrics
|
# System metrics
|
||||||
SYSTEM_INFO = Info("frigate_system", "System information")
|
SYSTEM_INFO = Info("frigate_system", "System information")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user