class_docstr: Mixin for the request handling monitoring
  
  :param metrics_registry: optional metrics registry for prometheus used if we need to expose metrics from the executor or from the data request handler
  :param runtime_name: optional runtime_name that will be registered during monitoring
code: def _update_end_request_metrics(self, result: "Request"):
      if result.status.code != jina_pb2.StatusProto.ERROR:
          self._update_end_successful_requests_metrics(result)
      else:
          self._update_end_failed_requests_metrics()
  
file_path: jina/jina/serve/runtimes/monitoring.py
imports: import time
  from typing import TYPE_CHECKING, Optional, Union
  from jina.importer import ImportExtensions
  from jina.proto import jina_pb2
label_desc: Use image node_id 5 for calling the MonitoringRequestMixin obj's underlying member method code with example usage: obj._update_end_request_metrics(result) without return types