async function metric_gauge_handler(this: any, msg: any) {
    const { name, value, attributes } = msg;
    const gaugeMetric = new GaugeMetric(name, value, attributes || {});
    const batch = _metricBatchBuilder(gaugeMetric);
    return _sendBatch(batch);