public class ElasticsearchCollector extends Object
| Constructor and Description |
|---|
ElasticsearchCollector(org.elasticsearch.client.Client client,
org.graylog2.system.stats.ClusterStatsService clusterStatsService) |
| Modifier and Type | Method and Description |
|---|---|
ElasticsearchClusterStats |
getClusterStats() |
Set<ElasticsearchNodeInfo> |
getNodeInfos() |
@Inject
public ElasticsearchCollector(org.elasticsearch.client.Client client,
org.graylog2.system.stats.ClusterStatsService clusterStatsService)
public Set<ElasticsearchNodeInfo> getNodeInfos()
public ElasticsearchClusterStats getClusterStats()
Copyright © 2015-2016 Graylog, Inc.. All Rights Reserved.