class_docstr: A thread safe queue for sending metrics to SageMaker.
  
  Args:
      trial_component_name (str): the ARN of the resource
      metric_name (str): the name of the metric
      metrics_client (boto_client): the boto client for SageMaker Metrics service
class_docstr_tok: ["A","thread","safe","queue","for","sending","metrics","to","SageMaker",".","Args",":","trial_component_name","(","str",")",":","the","ARN","of","the","resource","metric_name","(","str",")",":","the","name","of","the","metric","metrics_client","(","boto_client",")",":","the","boto","client","for","SageMaker","Metrics","service"]
docstr: Enqueue all buffered metrics to be sent to SageMaker
docstr_tok: ["Enqueue","all","buffered","metrics","to","be","sent","to","SageMaker"]
code: def _enqueue_all(self):
      """Enqueue all buffered metrics to be sent to SageMaker"""
  
      available_metrics, self._buffer = self._buffer, []
      if available_metrics:
          self._queue.put(available_metrics)
  
imports: from __future__ import absolute_import
  import datetime
  import logging
  import os
  import time
  import threading
  import queue
  import dateutil.tz
  from sagemaker.session import Session
label_desc: Use image node_id 6 for calling the _MetricQueue obj's underlying member method code with example usage: obj._enqueue_all() without return types