Skip to content

Commit

Permalink
Run isort
Browse files Browse the repository at this point in the history
  • Loading branch information
LeaveMyYard committed Sep 4, 2023
1 parent 0d1806d commit 292d80f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions robusta_krr/core/integrations/prometheus/metrics/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .base import PrometheusMetric
from .cpu import CPULoader, PercentileCPULoader, CPUAmountLoader
from .memory import MaxMemoryLoader, MemoryLoader, MemoryAmountLoader
from .cpu import CPUAmountLoader, CPULoader, PercentileCPULoader
from .memory import MaxMemoryLoader, MemoryAmountLoader, MemoryLoader
2 changes: 1 addition & 1 deletion robusta_krr/core/integrations/prometheus/metrics/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

import numpy as np
import pydantic as pd
from prometrix import CustomPrometheusConnect

from robusta_krr.core.abstract.metrics import BaseMetric
from robusta_krr.core.abstract.strategies import PodsTimeData
from robusta_krr.core.models.config import Config
from robusta_krr.core.models.objects import K8sObjectData
from robusta_krr.utils.configurable import Configurable
from prometrix import CustomPrometheusConnect


class PrometheusSeries(TypedDict):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
from robusta_krr.core.abstract.strategies import PodsTimeData
from robusta_krr.core.models.config import Config
from robusta_krr.core.models.objects import K8sObjectData, PodData
from robusta_krr.utils.service_discovery import MetricsServiceDiscovery
from robusta_krr.utils.batched import batched
from robusta_krr.utils.service_discovery import MetricsServiceDiscovery

from ..metrics import PrometheusMetric
from ..prometheus_utils import ClusterNotSpecifiedException, generate_prometheus_config
Expand Down
4 changes: 2 additions & 2 deletions robusta_krr/strategies/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
StrategySettings,
)
from robusta_krr.core.integrations.prometheus.metrics import (
CPUAmountLoader,
MaxMemoryLoader,
MemoryAmountLoader,
PercentileCPULoader,
PrometheusMetric,
CPUAmountLoader,
MemoryAmountLoader,
)


Expand Down
1 change: 0 additions & 1 deletion robusta_krr/utils/batched.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import itertools
from typing import Iterable, TypeVar


_T = TypeVar("_T")


Expand Down

0 comments on commit 292d80f

Please sign in to comment.