'Find :class:`formatting.JobMetricFormatter` corresponding to instrumented plugin value.'

def format(self, plugin, key, value):

    if (plugin in self.plugin_classes):
        plugin_class = self.plugin_classes[plugin]
        formatter = plugin_class.formatter
    else:
        formatter = DEFAULT_FORMATTER
    return formatter.format(key, value)
