| Modifier and Type | Method and Description |
|---|---|
LoggingMeterConfig |
config()
Returns the currently active configuration.
|
Counter |
counter(String name,
Map<String,String> tags)
Note that since we are not performing any aggregations on the counter type, this pretty much
is a NOOP for performance reasons.
|
static LoggingMeter |
create(EventBus eventBus,
LoggingMeterConfig config) |
Mono<Void> |
start()
Starts the meter if it hasn't been started, might be a noop depending on the implementation.
|
Mono<Void> |
stop(Duration timeout)
Stops the metrics if it has been started previously, might be a noop depending on the implementation.
|
ValueRecorder |
valueRecorder(String name,
Map<String,String> tags)
Creates a new value recorder.
|
public static LoggingMeter create(EventBus eventBus, LoggingMeterConfig config)
public LoggingMeterConfig config()
public Counter counter(String name, Map<String,String> tags)
public ValueRecorder valueRecorder(String name, Map<String,String> tags)
MetervalueRecorder in interface Metername - the name of the value recorder.tags - the tags of the value recorder.public Mono<Void> start()
MeterCopyright © 2024 Couchbase, Inc.. All rights reserved.