<commit_before>Configuration
=============

General
-------

The configuration can be set in `App.Heartbeat`.  
It takes the following subkeys:
- `name` The name of your application (will be used for the title of the hearbeat status page)
- `layout` To override the layout (see below)
- `Sensors` an array of sensors (see below)

An example configuration would look like this:
```php
$config['App'['Heartbeat'] = [
    'name' => '<NAME>',
    'layout' => 'heartbeat',
    'Sensors' => [
        'Debug-Mode' => [
            'enabled' => true,
            'severity' => 1,
            'class' => OrcaServices\Heartbeat\Heartbeat\Sensor\DebugMode::class,<commit_msg>Fix configuration example<commit_after>Configuration
=============

General
-------

The configuration can be set in `App.Heartbeat`.  
It takes the following subkeys:
- `name` The name of your application (will be used for the title of the hearbeat status page)
- `layout` To override the layout (see below)
- `Sensors` an array of sensors (see below)

An example configuration would look like this:
```php
$config['App']['Heartbeat'] = [
    'name' => '<NAME>',
    'layout' => 'heartbeat',
    'Sensors' => [
        'Debug-Mode' => [
            'enabled' => true,
            'severity' => 1,
            'class' => OrcaServices\Heartbeat\Heartbeat\Sensor\DebugMode::class,
{'fraction_non_alphanumeric': 0.15711094564408043, 'fraction_numerical': 0.0014892032762472078, 'mean_word_length': 3.1869158878504673, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, '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': '5285651', 'n_tokens_mistral': 400, 'n_tokens_neox': 387, 'n_words': 133}