Examples of GaugeResponse


Examples of org.graylog2.restclient.models.api.responses.metrics.GaugeResponse

        return metricName.toString();
    }

    private Long getGaugeValue(String name) {
        try {
            GaugeResponse response = api.path(routes.MetricsResource().singleMetric(Joiner.on(".").join(type, id, name)), GaugeResponse.class)
                .clusterEntity(node)
                .expect(200, 404)
                .execute();

            if (response == null || response.value == null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.