@NonNullApi @NonNullFields @Incubating(since="1.2.0") public class MongoMetricsCommandListener extends Object
CommandListener for collecting command metrics from MongoClient.| Constructor and Description |
|---|
MongoMetricsCommandListener(MeterRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
void |
commandFailed(CommandFailedEvent event) |
void |
commandStarted(CommandStartedEvent commandStartedEvent) |
void |
commandSucceeded(CommandSucceededEvent event) |
public MongoMetricsCommandListener(MeterRegistry registry)
Copyright © 2020 LeanCloud. All rights reserved.