888f0a2c604ddf84f3168b390dcbe5f425eaf63a,python/ray/serve/router.py,Router,setup,#Router#Any#Any#,80

Before Change


        self.num_router_requests = self.metric_client.new_counter(
            "num_router_requests",
            description="Number of requests processed by the router.",
            label_names=("endpoint", ))
        self.num_error_endpoint_request = self.metric_client.new_counter(
            "num_error_endpoint_requests",
            description=("Number of requests errored when getting result "

After Change


            "num_router_requests",
            "Number of requests processed by the router.", "requests",
            ["endpoint"])
        self.num_error_endpoint_requests = metrics.Count(
            "num_error_endpoint_requests",
            ("Number of requests that errored when getting results "
             "for the endpoint."), "requests", ["endpoint"])
        self.num_error_backend_requests = metrics.Count(
            "num_error_backend_requests",
            ("Number of requests that errored when getting result "
             "from the backend."), "requests", ["backend"])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: ray-project/ray
Commit Name: 888f0a2c604ddf84f3168b390dcbe5f425eaf63a
Time: 2020-08-19
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/router.py
Class Name: Router
Method Name: setup


Project Name: ray-project/ray
Commit Name: 888f0a2c604ddf84f3168b390dcbe5f425eaf63a
Time: 2020-08-19
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/http_proxy.py
Class Name: HTTPProxy
Method Name: fetch_config_from_controller


Project Name: AlexsLemonade/refinebio
Commit Name: dfc9a2832fbe767e64fed594fdbcec671bc255d9
Time: 2018-10-10
Author: miserlou@gmail.com
File Name: api/data_refinery_api/views.py
Class Name: SearchAndFilter
Method Name: SearchAndFilter_1