def aggregator_record(metric, value):
    if settings.instance == None:
      fullMetric = 'carbon.aggregator.%s.%s' % (HOSTNAME, metric)
    else:
      fullMetric = 'carbon.aggregator.%s-%s.%s' % (HOSTNAME, settings.instance, metric)
    datapoint = (time.time(), value)
    events.metricGenerated(fullMetric, datapoint)
dataset/ETHPy150Open tmm1/graphite/carbon/lib/carbon/instrumentation.py/aggregator_record/operator `is` -> `==`