Skip to content

Commit

Permalink
better examples in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
respectTheCode committed Apr 24, 2013
1 parent c08e795 commit bcfd8a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ var mongoose = require("mongoose");
require("datadog-mongodb")(mongoose.mongo);
```

Or reusing `node-dogstatsd` client
Or reusing a `node-dogstatsd` client

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

Expand Down

0 comments on commit bcfd8a8

Please sign in to comment.