diff options
| -rw-r--r-- | robusta_krr/utils/service_discovery.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/robusta_krr/utils/service_discovery.py b/robusta_krr/utils/service_discovery.py index a8b6a97..47d025f 100644 --- a/robusta_krr/utils/service_discovery.py +++ b/robusta_krr/utils/service_discovery.py @@ -53,7 +53,7 @@ class ServiceDiscovery(Configurable): ingress: V1Ingress = ingress_list.items[0] prometheus_host = ingress.spec.rules[0].host - return prometheus_host + return f"http://{prometheus_host}" def find_url(self, selectors: list[str], *, api_client: Optional[ApiClient] = None) -> Optional[str]: """ |
