docstr: Represents the OpenCensus metrics that will be proxy exported.
docstr_tok: ["Represents","the","OpenCensus","metrics","that","will","be","proxy","exported","."]
code: def __init__(
      self, name: str, desc: str, unit: str, label_keys: List[str]
  ):
      """Represents the OpenCensus metrics that will be proxy exported."""
      self._name = name
      self._desc = desc
      self._unit = unit
      # -- The label keys of the metric --
      self._label_keys = label_keys
      # -- The data that needs to be proxy exported --
      # tuple of label values -> data (OpenCesnsus Aggregation data)
      self._data = {}
  
imports: import json
  import logging
  import os
  import re
  import threading
  import time
  import traceback
  from collections import namedtuple
  from typing import List, Tuple, Any, Dict
  from prometheus_client.core import CounterMetricFamily, GaugeMetricFamily, HistogramMetricFamily
  from opencensus.metrics.export.value import ValueDouble
  from opencensus.stats import aggregation
  from opencensus.stats import measure
  from opencensus.stats.view_manager import ViewManager
  from opencensus.stats.stats_recorder import StatsRecorder
  from opencensus.stats.base_exporter import StatsExporter
  from prometheus_client.core import Metric
  from opencensus.stats.aggregation_data import CountAggregationData, DistributionAggregationData, LastValueAggregationData
  from opencensus.stats.view import View
  from opencensus.tags import tag_key
  from opencensus.tags import tag_map
  from opencensus.tags import tag_value
  import ray
  from ray._raylet import GcsClient
  from ray.core.generated.metrics_pb2 import Metric
label_desc: Use image node_id 1 to create a new OpencensusProxyMetric object  with example: obj = OpencensusProxyMetric(name, desc, unit, label_keys)