code: def new_collector(options):
      """new_collector should be used
      to create instance of Collector class in order to
      prevent the usage of constructor directly
      """
      return Collector(options=options)
  
imports: import re
  from prometheus_client import start_http_server
  from prometheus_client.core import REGISTRY, CounterMetricFamily, GaugeMetricFamily, HistogramMetricFamily, UnknownMetricFamily
  from opencensus.common.transports import sync
  from opencensus.stats import aggregation_data
  from opencensus.stats import base_exporter
  import logging
label_desc: Use image node_id 2 for calling a global function with example usage: new_collector(options) and returns: Collector