diff --git a/composer.json b/composer.json index 13851b357..c9db8a5a6 100644 --- a/composer.json +++ b/composer.json @@ -1,9 +1,12 @@ { "name": "corley/influxdb-sdk", - "description": "InfluxDb PHP sdk for send messages", + "license": "MIT", + "description": "Send your app metrics to InfluxDB", "require-dev": { "phpspec/phpspec": "2.*" }, + "homepage": "http://www.corley.it/", + "keywords": ["influxdb", "udp", "sdk"], "authors": [ { "name": "Gianluca Arbezzano", diff --git a/src/InfluxDB/Client.php b/src/InfluxDB/Client.php index 3965b643b..7afed5d2a 100644 --- a/src/InfluxDB/Client.php +++ b/src/InfluxDB/Client.php @@ -20,7 +20,7 @@ class Client implements ClientInterface public function connect() { return $this->getAdapter()->connect(); - } + } public function disconnect() { @@ -29,7 +29,7 @@ class Client implements ClientInterface public function mark($name, array $values) { - $data =[]; + $data =[]; $data['name'] = $name; $data['columns'] = array_keys($values); $data['points'][] = array_values($values); diff --git a/src/InfluxDB/ClientInterface.php b/src/InfluxDB/ClientInterface.php deleted file mode 100644 index 021c5eb2b..000000000 --- a/src/InfluxDB/ClientInterface.php +++ /dev/null @@ -1,11 +0,0 @@ -