parameters: (name, docker_client, query_name,
                                      frontend_exporter_image, common_labels,
                                      log_config, extra_container_kwargs)
docstring: Use docker_client to run a frontend-exporter image.
      :param name: Name to pass in, need to be unique.
      :param docker_client: The docker_client object.
      :param query_name: The corresponding frontend name
      :param common_labels: Labels to pass in.
      :param extra_container_kwargs: Kwargs to pass in.
      :return: None
docstring_summary: Use docker_client to run a frontend-exporter image.
      :param name: Name to pass in, need to be unique.
      :param docker_client: The docker_client object.
      :param query_name: The corresponding frontend name
      :param common_labels: Labels to pass in.
      :param extra_container_kwargs: Kwargs to pass in.
      :return: None
docstring_tokens: Use docker_client to run a frontend - exporter image . : param name : Name to pass in need to be unique . : param docker_client : The docker_client object . : param query_name : The corresponding frontend name : param common_labels : Labels to pass in . : param extra_container_kwargs : Kwargs to pass in . : return : None
function: def run_query_frontend_metric_image(name, docker_client, query_name,
                                      frontend_exporter_image, common_labels,
                                      log_config, extra_container_kwargs):
      """
      Use docker_client to run a frontend-exporter image.
      :param name: Name to pass in, need to be unique.
      :param docker_client: The docker_client object.
      :param query_name: The corresponding frontend name
      :param common_labels: Labels to pass in.
      :param extra_container_kwargs: Kwargs to pass in.
      :return: None
      """
  
      query_frontend_metric_cmd = "--query_frontend_name {}:{}".format(
          query_name, CLIPPER_INTERNAL_QUERY_PORT)
      query_frontend_metric_labels = common_labels.copy()
  
      run_container(
          docker_client=docker_client,
          image=frontend_exporter_image,
          cmd=query_frontend_metric_cmd,
          log_config=log_config,
          name=name,
          labels=query_frontend_metric_labels,
          extra_container_kwargs=extra_container_kwargs)
function_tokens: def run_query_frontend_metric_image ( name , docker_client , query_name , frontend_exporter_image , common_labels , log_config , extra_container_kwargs ) : query_frontend_metric_cmd = "--query_frontend_name {}:{}" . format ( query_name , CLIPPER_INTERNAL_QUERY_PORT ) query_frontend_metric_labels = common_labels . copy ( ) run_container ( docker_client = docker_client , image = frontend_exporter_image , cmd = query_frontend_metric_cmd , log_config = log_config , name = name , labels = query_frontend_metric_labels , extra_container_kwargs = extra_container_kwargs )