Skip to content

Commit

Permalink
Remove kubernetes/metrics package
Browse files Browse the repository at this point in the history
- Move ServiceMonitor to kubernetes
- Move metrics client to the root
  • Loading branch information
pehala committed Jul 11, 2024
1 parent f107076 commit 97c7300
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
6 changes: 0 additions & 6 deletions testsuite/kubernetes/metrics/__init__.py

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from apyproxy import ApyProxy
from httpx import Client

from .service_monitor import ServiceMonitor
from testsuite.kubernetes.service_monitor import ServiceMonitor


def _params(key: str = "", labels: dict[str, str] = None) -> dict[str, str]:
Expand Down
3 changes: 2 additions & 1 deletion testsuite/tests/singlecluster/authorino/metrics/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
from testsuite.gateway.envoy import Envoy
from testsuite.httpx import KuadrantClient
from testsuite.kubernetes.config_map import ConfigMap
from testsuite.kubernetes.metrics import ServiceMonitor, MetricsEndpoint, Prometheus
from testsuite.kubernetes.service_monitor import ServiceMonitor, MetricsEndpoint
from testsuite.prometheus import Prometheus


@pytest.fixture(scope="module")
Expand Down

0 comments on commit 97c7300

Please sign in to comment.