MongoDBExporter

constructor(uri: String, dbName: String = DEFAULT_DATABASE, interval: Double = DEFAULT_INTERVAL, appendTime: Boolean = false)

Parameters

uri

the connection URI of the database instance.

dbName

the name the database to export data to.

interval

the sampling time, defaults to AbstractExporter.DEFAULT_INTERVAL.

appendTime

if true it will always generate a new Mongo document, false to overwrite.