Package com.timgroup.statsd

Examples of com.timgroup.statsd.NonBlockingStatsDClient


     * for the {@code org.eigengo.monitor.output.statsd} key.
     */
    public StatsdCounterInterface() {
        StatsdOutputConfiguration configuration =
                OutputConfigurationFactory.getAgentCofiguration("statsd", StatsdOutputConfigurationJapi.apply()).outputConfig();
        this.statsd = new NonBlockingStatsDClient(configuration.prefix(),
                configuration.remoteAddress(), configuration.remotePort(), configuration.constantTags());
        this.gaugeValues = new ConcurrentHashMap<>();

        final ScheduledExecutorService scheduledExecutorService = Executors.newScheduledThreadPool(1, new ThreadFactory() {
            private final ThreadFactory delegate = Executors.defaultThreadFactory();
View Full Code Here


    private StatsDClient statsDClient;

    protected StatsDClient createClient(final String prefix, final String host, final int port)
    {
        return new NonBlockingStatsDClient(prefix, host, port);
    }
View Full Code Here

TOP

Related Classes of com.timgroup.statsd.NonBlockingStatsDClient

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.