diff --git a/comps/cores/mega/http_service.py b/comps/cores/mega/http_service.py index eecc3f2221..62b9cd5e32 100644 --- a/comps/cores/mega/http_service.py +++ b/comps/cores/mega/http_service.py @@ -36,7 +36,7 @@ def __init__( # remove part before '@', used by register_microservice() callers, and # part after '/', added by MicroService(), to get real service name - suffix = self.title.split('/')[0].split('@')[-1].lower() + suffix = self.title.split("/")[0].split("@")[-1].lower() instrumentator = Instrumentator( inprogress_name=f"http_requests_inprogress_{suffix}", should_instrument_requests_inprogress=True,