def METHOD_NAME(self):
    method = self.gauge
    def transform(metric, sample_data, runtime_data):
        for sample, tags, hostname in sample_data:
            method('server.watchdog_mega_miss', sample.value, tags=tags, hostname=hostname)
    return transform