public class TransactionManagerMetricsCollector
extends co.cask.tephra.metrics.TxMetricsCollector
MetricsContext.| Constructor and Description |
|---|
TransactionManagerMetricsCollector(MetricsCollectionService service) |
| Modifier and Type | Method and Description |
|---|---|
void |
gauge(String metricName,
int value,
String... tags) |
void |
histogram(String metricName,
int value) |
void |
rate(String metricName) |
void |
rate(String metricName,
int count) |
addListener, executor, isRunning, start, startAndWait, state, stop, stopAndWait, toString@Inject public TransactionManagerMetricsCollector(MetricsCollectionService service)
public void gauge(String metricName, int value, String... tags)
gauge in interface co.cask.tephra.metrics.MetricsCollectorgauge in class co.cask.tephra.metrics.TxMetricsCollectorpublic void histogram(String metricName, int value)
histogram in interface co.cask.tephra.metrics.MetricsCollectorhistogram in class co.cask.tephra.metrics.TxMetricsCollectorpublic void rate(String metricName)
rate in interface co.cask.tephra.metrics.MetricsCollectorrate in class co.cask.tephra.metrics.TxMetricsCollectorpublic void rate(String metricName, int count)
rate in interface co.cask.tephra.metrics.MetricsCollectorrate in class co.cask.tephra.metrics.TxMetricsCollectorCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.