Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(-1);
- include './statsd-php/src/League/StatsD/Client.php';
- $statsd = new League\StatsD\Client();
- $statsd->configure(array(
- 'host' => '127.0.0.1',
- 'port' => 8125,
- 'namespace' => 'ometria'
- ));
- for ($i=0; $i<10; $i++)
- {
- $statsd->increment('test.test');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement