Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    datadog-mongodbpublic

    node-datadog-mongodb

    MongoDB query performance monitoring with DataDog

    Usage

    var mongoDb = require("mongodb");
    require("datadog-mongodb")(mongoDb);

    Or with Mongoose

    var mongoose = require("mongoose");
    require("datadog-mongodb")(mongoose.mongo);

    Or reusing a node-dogstatsd client

    var statsD = new require("node-dogstatsd").StatsD();
    require("datadog-mongodb")(mongoDb, {dogstatsd: statsD});

    Options

    All options are optional.

    • dogstatsd: node-dogstatsd client. default = new require("node-dogstatsd").StatsD()

    License

    node-datadog-mongodb is licensed under the MIT license. View the LICENSE file.

    install

    npm i datadog-mongodb

    Downloadsweekly downloads

    2

    version

    0.0.1-1

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators