reporter.filter(getMetricFilter());
final String transport = getProperty(TRANSPORT, "tcp");
final Charset charset = Charset.forName(getProperty(CHARSET, "UTF-8"));
final GraphiteSender graphite;
if ("rabbitmq".equals(transport)) {
ConnectionFactory connectionFactory = getPropertyRef(CONNECTION_FACTORY_REF, ConnectionFactory.class);
String exchange = getProperty(EXCHANGE);
graphite = new GraphiteRabbitMQ(connectionFactory, exchange);