Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Hector Virgen committed Oct 17, 2015
1 parent a4f6ed1 commit 955a183
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 @@ -6,7 +6,7 @@ A node client for sending statistics to sitemon.
## Usage

```javascript
var Sitemon = require('sitemon');
var Sitemon = require('sitemon-js');
var apiLogger = new Sitemon('api', '1.2.3.4:5678');
apiLogger.send({ method: 'tagged.user.getInfo' }); // sends message to sitemon over UDP
```
Expand All @@ -18,7 +18,7 @@ var apiLogger = new Sitemon('api', [
'1.2.3.4:5678',
'2.3.4.5:6789',
'3.4.5.6:7890'
);
]);
apiLogger.send({ method: 'tagged.user.getInfo' }); // sends to 1.2.3.4:5678
apiLogger.send({ method: 'tagged.profile.update' }); // sends to 2.3.4.5:6789
apiLogger.send({ method: 'tagged.stuff.do' }); // sends to 3.4.5.6:7890
Expand Down

0 comments on commit 955a183

Please sign in to comment.