def prepare(self): with (yield stats_lock.acquire()): self.stats_info = service_stats.start_request() self.stats_info.api = PROTOBUFFER_API self.stats_info.pb_method = None self.stats_info.rest_method = None self.stats_info.pb_status = None self.stats_info.rest_status = None
def prepare(self): with (yield stats_lock.acquire()): self.stats_info = service_stats.start_request() self.stats_info.api = PROTOBUFFER_API self.stats_info.pb_method = None self.stats_info.rest_method = None self.stats_info.pb_status = None self.stats_info.rest_status = None
def prepare(self): rest_method = "{}_{}".format(self.request.method, self.AREA).lower() with (yield stats_lock.acquire()): self.stats_info = service_stats.start_request() self.stats_info.api = REST_API self.stats_info.rest_method = rest_method self.stats_info.pb_method = None self.stats_info.pb_status = None self.stats_info.rest_status = None
def prepare(self): rest_method = "{}_{}".format(self.request.method, self.AREA).lower() with (yield stats_lock.acquire()): self.stats_info = service_stats.start_request() self.stats_info.api = REST_API self.stats_info.rest_method = rest_method self.stats_info.pb_method = None self.stats_info.pb_status = None self.stats_info.rest_status = None
def prepare(self): with (yield stats_lock.acquire()): self.stats_info = service_stats.start_request(api=PROTOBUFFER_API)
def prepare(self): with (yield stats_lock.acquire()): self.stats_info = service_stats.start_request(api=PROTOBUFFER_API)