Package com.codahale.metrics.graphite

Examples of com.codahale.metrics.graphite.GraphiteSender


    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);
View Full Code Here


                    "metrics.graphite.period", "60s");
            final int delay = TimeUtil.parseDuration(period);
            final InetSocketAddress graphiteAddress = new InetSocketAddress(
                    address, port);

            final GraphiteSender sender;
            if (isPickled) {
                sender = new PickledGraphite(graphiteAddress);
            } else {
                sender = new Graphite(graphiteAddress);
            }
View Full Code Here

TOP

Related Classes of com.codahale.metrics.graphite.GraphiteSender

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.