public interface RemoteSemanticMetricRegistry
Currently, the SemanticAggregatorMetricRegistry is the only implementation.
| Modifier and Type | Method and Description |
|---|---|
RemoteCounter |
counter(MetricId name)
Creates a new
RemoteCounter and registers it under the given name. |
RemoteCounter |
counter(MetricId name,
List<String> shardKey)
Creates a new
RemoteCounter and registers it under the given name. |
RemoteDerivingMeter |
derivingMeter(MetricId name)
Creates a new
RemoteMeter and registers it under the given name. |
RemoteDerivingMeter |
derivingMeter(MetricId name,
List<String> shardKey)
Creates a new
RemoteMeter and registers it under the given name. |
RemoteHistogram |
histogram(MetricId name)
Creates a new
RemoteMeter and registers it under the given name. |
RemoteHistogram |
histogram(MetricId name,
List<String> shardKey)
Creates a new
RemoteMeter and registers it under the given name. |
RemoteMeter |
meter(MetricId name)
Creates a new
RemoteMeter and registers it under the given name. |
RemoteMeter |
meter(MetricId name,
List<String> shardKey)
Creates a new
RemoteMeter and registers it under the given name. |
boolean |
shutdown(long timeout,
TimeUnit timeUnit)
Stop accepting new metrics to be sent and wait for all asynchronous calls
to be done or the timeout to occur.
|
RemoteTimer |
timer(MetricId name)
Creates a new
RemoteTimer and registers it under the given name. |
RemoteTimer |
timer(MetricId name,
List<String> shardKey)
Creates a new
RemoteTimer and registers it under the given name. |
RemoteCounter counter(MetricId name)
RemoteCounter and registers it under the given name.
Sharding uses the "what"-tag of the metric Id.name - the name of the metricRemoteCounterRemoteCounter counter(MetricId name, List<String> shardKey)
RemoteCounter and registers it under the given name.
Sharding uses the "what"-tag of the metric Id.name - the name of the metricshardKey - the list of tags to be used for shardingRemoteCounterRemoteTimer timer(MetricId name)
RemoteTimer and registers it under the given name.
Sharding uses the "what"-tag of the metric Id.name - the name of the metricRemoteTimerRemoteTimer timer(MetricId name, List<String> shardKey)
RemoteTimer and registers it under the given name.
Sharding uses the "what"-tag of the metric Id.name - the name of the metricshardKey - the list of tags to be used for shardingRemoteTimerRemoteDerivingMeter derivingMeter(MetricId name, List<String> shardKey)
RemoteMeter and registers it under the given name.name - the name of the metricshardKey - the list of tags to be used for shardingRemoteMeterRemoteDerivingMeter derivingMeter(MetricId name)
RemoteMeter and registers it under the given name.
Sharding uses the "what"-tag of the metric Id.name - the name of the metricRemoteMeterRemoteHistogram histogram(MetricId name, List<String> shardKey)
RemoteMeter and registers it under the given name.name - the name of the metricshardKey - the list of tags to be used for shardingRemoteMeterRemoteHistogram histogram(MetricId name)
RemoteMeter and registers it under the given name.
Sharding uses the "what"-tag of the metric Id.name - the name of the metricRemoteMeterRemoteMeter meter(MetricId name, List<String> shardKey)
RemoteMeter and registers it under the given name.name - the name of the metricshardKey - the list of tags to be used for shardingRemoteMeterRemoteMeter meter(MetricId name)
RemoteMeter and registers it under the given name.
Sharding uses the "what"-tag of the metric Id.name - the name of the metricRemoteMeterboolean shutdown(long timeout,
TimeUnit timeUnit)
throws InterruptedException
timeout - For how long to wait for asynchronous requeststimeUnit - The unit of the timeoutInterruptedException - if the wait was interruptedCopyright © 2017. All rights reserved.