public class RuntimeMetricsCollector extends AbstractMetricsCollector
A MetricsCollector
which collects and emits system information like gc, memory or thread usage.
Constructor and Description |
---|
RuntimeMetricsCollector(EventBus eventBus,
Scheduler scheduler,
MetricsCollectorConfig config) |
Modifier and Type | Method and Description |
---|---|
protected CouchbaseEvent |
generateCouchbaseEvent()
Generate the actual
CouchbaseEvent to emit on every interval. |
config, isEnabled, shutdown, triggerEmit
public RuntimeMetricsCollector(EventBus eventBus, Scheduler scheduler, MetricsCollectorConfig config)
protected CouchbaseEvent generateCouchbaseEvent()
AbstractMetricsCollector
Generate the actual CouchbaseEvent
to emit on every interval.
generateCouchbaseEvent
in class AbstractMetricsCollector
Copyright © 2017 Couchbase, Inc.. All rights reserved.