public interface MetricsMaster extends Master
LOG
Modifier and Type | Method and Description |
---|---|
void |
clearMetrics()
Clear metrics in the current master.
|
void |
clientHeartbeat(String source,
List<Metric> metrics)
Handles the client's heartbeat request for metrics collection.
|
MetricsMasterClientServiceHandler |
getMasterServiceHandler() |
Map<String,MetricValue> |
getMetrics() |
void |
workerHeartbeat(String source,
List<Metric> metrics)
Handles the worker heartbeat and puts the metrics from an instance with a source name.
|
createJournalContext, getMasterContext, getStandbyServices
applyAndJournal, processJournalEntry, resetState, restoreFromCheckpoint, writeToCheckpoint
getCheckpointName, restoreFromCheckpoint, writeToCheckpoint
getJournalEntryIterator
close, getDependencies, getName, getServices, start, stop
void clearMetrics()
void clientHeartbeat(String source, List<Metric> metrics)
source
- the metrics sourcemetrics
- client-side metricsMetricsMasterClientServiceHandler getMasterServiceHandler()
Map<String,MetricValue> getMetrics()
Copyright © 2023. All Rights Reserved.