Skip to content

statful/statful-client-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

statful-client-php

PHP Client for Statful

How to use

#!php

        $metricNamespace = 'business';
        $metricName = 'wager';
        $metricTags = array(
            'transaction' => 'create',
            'platform' => 'desktop',
            'action' => 'bet',
        );
        $metricValue = 100;

        $client = new StatfulClient('127.0.0.1', '2014', 'business', 'production');
        $client->put($metricName, $metricValue, $metricTags, $metricNamespace);
        $client->send();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages