Skip to content

MongoDB Micrometer Statistics

This is Plugin adds Micrometer Functionality to a MongoCamp Server. So other Plugins can use Micrometer or you can get your Micrometer Statistics to Database or call them by HTTP.

Configuration

Dependency Setup

Add this to your Plugin Modules to download the plugin from Maven Central.

plugin configuration
dev.mongocamp:mongocamp-plugin-micrometer_2.13:$$MC_VERSION$$

MongoCamp Configuration Settings

Persistence Plugin

ConfigurationDescriptionDefaultType
LOGGING_METRICS_MONGODB_STEPDuration between persist Metrics to MongoDB60mDuration
LOGGING_METRICS_MONGODB_JVMShould persist JVM Metrics to MongoDBfalseBoolean
LOGGING_METRICS_MONGODB_SYSTEMShould persist SYSTEM Metrics to MongoDBfalseBoolean
LOGGING_METRICS_MONGODB_MONGOShould persist MONGO Metrics to MongoDBfalseBoolean
LOGGING_METRICS_MONGODB_EVENTShould persist EVENT Metrics to MongoDBfalseBoolean

MongoDB Metrics Plugin

Plugin to monitor your MongoDB with your Application

ConfigurationDescriptionDefaultType
METRICS_MONGODB_DATABASEShould monitor all collections in DatabasefalseBoolean
METRICS_MONGODB_COLLECTIONSShould monitor explicit collections in Database[][String]
METRICS_MONGODB_CONNECTIONSShould monitor CONNECTIONS of your MongoDBfalseBoolean
METRICS_MONGODB_NETWORKShould monitor NETWORK of your MongoDBfalseBoolean
METRICS_MONGODB_OPERATIONShould monitor OPERATION of your MongoDBfalseBoolean
METRICS_MONGODB_SERVERShould monitor SERVER of your MongoDBfalseBoolean
METRICS_MONGODB_COMMANDShould monitor COMMAND of your MongoDBfalseBoolean
METRICS_MONGODB_CONNECTIONPOOLShould monitor CONNECTIONPOOL of your MongoDBfalseBoolean

Released under the Apache License 2.0.