|
@@ -1,10 +1,10 @@
|
|
nodejs-statsd-mysql-backend
|
|
nodejs-statsd-mysql-backend
|
|
===========================
|
|
===========================
|
|
|
|
|
|
-Backend MySQL pour Statsd
|
|
|
|
|
|
+MySQL backend for Statsd
|
|
|
|
|
|
## Install
|
|
## Install
|
|
-Go into directory containing Statsd and axecute this command :
|
|
|
|
|
|
+Go into Statsd parent directory and execute :
|
|
```bash
|
|
```bash
|
|
git clone https://github.com/fradinni/nodejs-statsd-mysql-backend.git
|
|
git clone https://github.com/fradinni/nodejs-statsd-mysql-backend.git
|
|
```
|
|
```
|
|
@@ -14,7 +14,7 @@ You should have a new directory called 'nodejs-statsd-mysql-backend' just next t
|
|
Edit Statsd configuraton file and add mysql-backend configuration.
|
|
Edit Statsd configuraton file and add mysql-backend configuration.
|
|
|
|
|
|
Example :
|
|
Example :
|
|
-```bash
|
|
|
|
|
|
+```js
|
|
{
|
|
{
|
|
graphitePort: 2003
|
|
graphitePort: 2003
|
|
, graphiteHost: "localhost"
|
|
, graphiteHost: "localhost"
|
|
@@ -31,18 +31,19 @@ Example :
|
|
}
|
|
}
|
|
}
|
|
}
|
|
```
|
|
```
|
|
|
|
+
|
|
Required parameters :
|
|
Required parameters :
|
|
|
|
|
|
- host: MySQL instance host
|
|
|
|
- port: MySQL instance port
|
|
|
|
- user: MySQL user
|
|
|
|
- password: MySQL password
|
|
|
|
- database: Default database where statsd table are stored
|
|
|
|
|
|
+ *host: MySQL instance host
|
|
|
|
+ *port: MySQL instance port
|
|
|
|
+ *user: MySQL user
|
|
|
|
+ *password: MySQL password
|
|
|
|
+ *database: Default database where statsd table are stored
|
|
|
|
|
|
Optional parameters :
|
|
Optional parameters :
|
|
|
|
|
|
- tables: List of tables names used (ex: ["stats", "users"])
|
|
|
|
- engines: List of MySQL Backend engines (see 'MySQL Bakend Engines' chapter for more details)
|
|
|
|
|
|
+ *tables: List of tables names used (ex: ["stats", "users"])
|
|
|
|
+ *engines: List of MySQL Backend engines (see 'MySQL Bakend Engines' chapter for more details)
|
|
|
|
|
|
|
|
|
|
## Introduction
|
|
## Introduction
|