def format_metric_string(self, name, value, m_type):
<EOL>template = '<STR_LIT>'<EOL>if self.prefix:<EOL><INDENT>name = "<STR_LIT>".format(prefix=self.prefix, m_name=name)<EOL><DEDENT>return template.format(name=name, value=value, m_type=m_type)<EOL>
Compose a statsd compatible string for a metric's measurement.