Class ProducerMetrics
- java.lang.Object
-
- org.apache.solr.crossdc.update.processor.ProducerMetrics
-
public class ProducerMetrics extends Object
Metrics presented for each SolrCore using `crossdc.producer.` path.
-
-
Constructor Summary
Constructors Constructor Description ProducerMetrics(SolrMetricsContext solrMetricsContext, SolrCore solrCore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.codahale.metrics.HistogramgetDocumentSize()Histogram of the processed document size.com.codahale.metrics.CountergetDocumentTooLarge()Counter representing the number of documents that were too large to send to the Kafka topic.com.codahale.metrics.CountergetLocal()Counter representing the number of local documents processed successfully.com.codahale.metrics.CountergetLocalError()Counter representing the number of local documents processed with error.com.codahale.metrics.CountergetSubmitError()Counter representing the number of documents that were not submitted to the Kafka topic because of exception during execution.com.codahale.metrics.CountergetSubmitted()Counter representing the number of documents submitted to the Kafka topic.
-
-
-
Constructor Detail
-
ProducerMetrics
public ProducerMetrics(SolrMetricsContext solrMetricsContext, SolrCore solrCore)
-
-
Method Detail
-
getLocal
public com.codahale.metrics.Counter getLocal()
Counter representing the number of local documents processed successfully.
-
getLocalError
public com.codahale.metrics.Counter getLocalError()
Counter representing the number of local documents processed with error.
-
getSubmitted
public com.codahale.metrics.Counter getSubmitted()
Counter representing the number of documents submitted to the Kafka topic.
-
getSubmitError
public com.codahale.metrics.Counter getSubmitError()
Counter representing the number of documents that were not submitted to the Kafka topic because of exception during execution.
-
getDocumentSize
public com.codahale.metrics.Histogram getDocumentSize()
Histogram of the processed document size.
-
getDocumentTooLarge
public com.codahale.metrics.Counter getDocumentTooLarge()
Counter representing the number of documents that were too large to send to the Kafka topic.
-
-