<commit_before>Service Plugins
===============

### memcached
Configuration options:
- **hostname**
- **port**

### mysql
Configuration options:
- **hostname**
- **port**
- **username**
- **password**

### mongodb
Configuration options:
- **hostname**
- **port**
- **user** (optional)
- **password** (optional)
- **database** (optional)
- **slow_query_threshold** (optional): Defaults to `0` millis (meaning it will count all slow queries as configured by [`slowOpThresholdMs`](http://docs.mongodb.org/manual/reference/configuration-options/#operationProfiling.slowOpThresholdMs)).

### redis
Configuration options:
- **hostname**
- **port**

### resque
- **hostname** (optional): Will default to `localhost`.
- **port** (optional): Will default to `6369`.
- **database**
- **namespace**

### gearman
Configuration options:
- **hostname**
- **port**
- **persistence** (optional): Allows to read additional stats like: jobs count by priority. It support `mysql` adapter only.
- **mysql_host** (optional): Used only with `persistance=mysql`. By default to `localhost`.
- **mysql_port** (optional): Used only with `persistance=mysql`. By default to `3306`.
- **mysql_username** (optional): Used only with `persistance=mysql`. By default to `root`.
- **mysql_password** (optional): Used only with `persistance=mysql`. By default to `nil`.
- **mysql_database** (optional): Used only with `persistance=mysql`. By default to `gearman`.

### apache2
Configuration options:
- **url**: URL of apache's [mod_status](http://httpd.apache.org/docs/current/mod/mod_status.html) (e.g. `http://localhost:80/server-status?auto`).

### nginx
Configuration options:
- **url**: URL of nginx' [stub_status](http://nginx.org/en/docs/http/ngx_http_stub_status_module.html) (e.g. `http://localhost:80/server-status`).

### network
Configuration options:
- **exclude_interfaces** (optional): Regex list of network interfaces to exclude (Default: `[ /lo/, /bond/, /vboxnet/ ]`).

### monit
Configuration options:
- **hostname** (optional): Defaults to `localhost`.
- **port** (optional): Defaults to `2812`.
- **ssl** (optional): Whether to use SSL for the connection. Defaults to `false`.
- **auth** (optional): Whether to use authentication. Defaults to `false`.
- **username** (optional)
- **password** (optional)

### php-apc
Collect *APC* metrics from a web server (e.g. apache).
<commit_msg>Docu fixes<commit_after>Service Plugins
===============

### memcached
Configuration options:
- **hostname**
- **port**

### mysql
Configuration options:
- **hostname**
- **port**
- **username**
- **password**

### mongodb
Configuration options:
- **hostname**
- **port**
- **user** (optional)
- **password** (optional)
- **database** (optional)
- **slow_query_threshold** (optional): Defaults to `0` millis (meaning it will count all slow queries as configured by [`slowOpThresholdMs`](http://docs.mongodb.org/manual/reference/configuration-options/#operationProfiling.slowOpThresholdMs)).

### redis
Configuration options:
- **hostname**
- **port**

### resque
- **hostname** (optional): Will default to `localhost`.
- **port** (optional): Will default to `6369`.
- **database**
- **namespace**

### gearman
Configuration options:
- **hostname**
- **port**
- **persistence** (optional): Allows to read additional stats like: jobs count by priority. It support `mysql` adapter only.
- **mysql_host** (optional): Used only with `persistence=mysql`. By default to `localhost`.
- **mysql_port** (optional): Used only with `persistence=mysql`. By default to `3306`.
- **mysql_username** (optional): Used only with `persistence=mysql`. By default to `root`.
- **mysql_password** (optional): Used only with `persistence=mysql`. By default to `nil`.
- **mysql_database** (optional): Used only with `persistence=mysql`. By default to `gearman`.

### apache2
Configuration options:
- **url**: URL of apache's [mod_status](http://httpd.apache.org/docs/current/mod/mod_status.html) (e.g. `http://localhost:80/server-status?auto`).

### nginx
Configuration options:
- **url**: URL of nginx' [stub_status](http://nginx.org/en/docs/http/ngx_http_stub_status_module.html) (e.g. `http://localhost:80/server-status`).

### network
Configuration options:
- **exclude_interfaces** (optional): Regex list of network interfaces to exclude (Default: `[ /lo/, /bond/, /vboxnet/ ]`).

### monit
Configuration options:
- **hostname** (optional): Defaults to `localhost`.
- **port** (optional): Defaults to `2812`.
- **ssl** (optional): Whether to use SSL for the connection. Defaults to `false`.
- **auth** (optional): Whether to use authentication. Defaults to `false`.
- **username** (optional)
- **password** (optional)

### php-apc
Collect *APC* metrics from a web server (e.g. apache).

{'fraction_non_alphanumeric': 0.19083808317500528, 'fraction_numerical': 0.007599746675110829, 'mean_word_length': 5.1214470284237725, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6670512', 'n_tokens_mistral': 1459, 'n_tokens_neox': 1426, 'n_words': 437}