public class MetricLoggingComponent
extends ScheduledReporter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_METRIC_CLUSTER_NAME |
static java.lang.String |
DEFAULT_METRIC_COLLECTION_NAME |
static java.lang.String |
DEFAULT_PIPELINE_ID |
Constructor and Description |
---|
MetricLoggingComponent(ConfigurationComponent configurationComponent,
CollectionManager collectionManager,
MetricRegistry metricRegistry,
CollectionComponent collectionComponent,
ClientComponent clientComponent,
CuratorComponent curatorComponent,
ScheduledRunnableComponent scheduler,
com.lucidworks.apollo.links.LinkManager linkManager) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMetricCollectionName() |
java.lang.String |
getMetricSearchClusterName() |
java.lang.String |
getTaskName() |
void |
init(com.lucidworks.apollo.client.resources.CollectionClientResource collectionClientResource,
com.lucidworks.apollo.client.resources.IndexPipelineClientResource indexPipelineClientResource,
com.lucidworks.apollo.client.resources.SchedulerClientResource schedulerClientResource,
SearchClusterComponent.DefaultSolrClient solrClient,
com.lucidworks.apollo.links.LinkManager linkManager) |
void |
report(java.util.SortedMap<java.lang.String,Gauge> gauges,
java.util.SortedMap<java.lang.String,Counter> counters,
java.util.SortedMap<java.lang.String,Histogram> histograms,
java.util.SortedMap<java.lang.String,Meter> meters,
java.util.SortedMap<java.lang.String,Timer> timers) |
void |
report(java.util.SortedMap<java.lang.String,Gauge> gauges,
java.util.SortedMap<java.lang.String,Counter> counters,
java.util.SortedMap<java.lang.String,Histogram> histograms,
java.util.SortedMap<java.lang.String,Meter> meters,
java.util.SortedMap<java.lang.String,Timer> timers,
java.util.Map<java.lang.String,java.lang.Object> extraProperties) |
void |
report(java.lang.String host,
int port,
java.util.SortedMap<java.lang.String,Gauge> gauges,
java.util.SortedMap<java.lang.String,Counter> counters,
java.util.SortedMap<java.lang.String,Histogram> histograms,
java.util.SortedMap<java.lang.String,Meter> meters,
java.util.SortedMap<java.lang.String,Timer> timers,
java.util.Map<java.lang.String,java.lang.Object> extraProperties) |
void |
shutdown() |
void |
start(long initialDelay,
long period,
java.util.concurrent.TimeUnit unit) |
void |
start(long period,
java.util.concurrent.TimeUnit unit) |
public static final java.lang.String DEFAULT_METRIC_COLLECTION_NAME
public static final java.lang.String DEFAULT_METRIC_CLUSTER_NAME
public static final java.lang.String DEFAULT_PIPELINE_ID
public MetricLoggingComponent(ConfigurationComponent configurationComponent, CollectionManager collectionManager, MetricRegistry metricRegistry, CollectionComponent collectionComponent, ClientComponent clientComponent, CuratorComponent curatorComponent, ScheduledRunnableComponent scheduler, com.lucidworks.apollo.links.LinkManager linkManager)
@WhenReady public void init(com.lucidworks.apollo.client.resources.CollectionClientResource collectionClientResource, com.lucidworks.apollo.client.resources.IndexPipelineClientResource indexPipelineClientResource, com.lucidworks.apollo.client.resources.SchedulerClientResource schedulerClientResource, SearchClusterComponent.DefaultSolrClient solrClient, com.lucidworks.apollo.links.LinkManager linkManager)
@PreDestroy public void shutdown() throws java.io.IOException
java.io.IOException
public void start(long period, java.util.concurrent.TimeUnit unit)
public void start(long initialDelay, long period, java.util.concurrent.TimeUnit unit)
public java.lang.String getTaskName()
public java.lang.String getMetricCollectionName()
public java.lang.String getMetricSearchClusterName()
public void report(java.util.SortedMap<java.lang.String,Gauge> gauges, java.util.SortedMap<java.lang.String,Counter> counters, java.util.SortedMap<java.lang.String,Histogram> histograms, java.util.SortedMap<java.lang.String,Meter> meters, java.util.SortedMap<java.lang.String,Timer> timers)
public void report(java.util.SortedMap<java.lang.String,Gauge> gauges, java.util.SortedMap<java.lang.String,Counter> counters, java.util.SortedMap<java.lang.String,Histogram> histograms, java.util.SortedMap<java.lang.String,Meter> meters, java.util.SortedMap<java.lang.String,Timer> timers, java.util.Map<java.lang.String,java.lang.Object> extraProperties)
public void report(java.lang.String host, int port, java.util.SortedMap<java.lang.String,Gauge> gauges, java.util.SortedMap<java.lang.String,Counter> counters, java.util.SortedMap<java.lang.String,Histogram> histograms, java.util.SortedMap<java.lang.String,Meter> meters, java.util.SortedMap<java.lang.String,Timer> timers, java.util.Map<java.lang.String,java.lang.Object> extraProperties)