@ManagedResource(description="Assertion Metrics") public class AssertMetrics extends AbstractMonitor
Constructor and Description |
---|
AssertMetrics(com.mongodb.MongoClient mongoClient) |
Modifier and Type | Method and Description |
---|---|
int |
getMsg() |
int |
getRegular() |
int |
getRollovers() |
int |
getUser() |
int |
getWarning() |
getDb, getMongoClient, getServerStatus
@ManagedMetric(metricType=COUNTER, displayName="Regular") public int getRegular()
@ManagedMetric(metricType=COUNTER, displayName="Warning") public int getWarning()
@ManagedMetric(metricType=COUNTER, displayName="Msg") public int getMsg()
@ManagedMetric(metricType=COUNTER, displayName="User") public int getUser()
@ManagedMetric(metricType=GAUGE, displayName="Rollovers") public int getRollovers()
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.