-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from JoelESvensson/master
Replace tabs with spaces & remove side-effects
- Loading branch information
Showing
1 changed file
with
28 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,40 @@ | ||
<?php | ||
|
||
return [ | ||
/** | ||
* Protocol could take values 'http', 'https', 'udp' | ||
*/ | ||
'protocol' => env('LARAVEL_INFLUX_PROVIDER_PROTOCOL', 'http'), | ||
|
||
'user' => env('LARAVEL_INFLUX_PROVIDER_USER', 'admin'), | ||
|
||
'password' => env('LARAVEL_INFLUX_PROVIDER_PASSWORD', 'qwe123'), | ||
|
||
'host' => env('LARAVEL_INFLUX_PROVIDER_HOST', 'localhost'), | ||
|
||
'port' => env('LARAVEL_INFLUX_PROVIDER_PORT', '8086'), | ||
/** | ||
* Protocol could take values 'http', 'https', 'udp' | ||
*/ | ||
'protocol' => env('LARAVEL_INFLUX_PROVIDER_PROTOCOL', 'http'), | ||
'user' => env('LARAVEL_INFLUX_PROVIDER_USER', ''), | ||
'password' => env('LARAVEL_INFLUX_PROVIDER_PASSWORD', ''), | ||
'host' => env('LARAVEL_INFLUX_PROVIDER_HOST', 'localhost'), | ||
'port' => env('LARAVEL_INFLUX_PROVIDER_PORT', '8086'), | ||
'database' => env('LARAVEL_INFLUX_PROVIDER_DATABASE', 'main'), | ||
|
||
'database' => env('LARAVEL_INFLUX_PROVIDER_DATABASE', 'main'), | ||
|
||
/** | ||
* Use Queue for sending to InfluxDB, if 'true' | ||
*/ | ||
'use_queue' => env('LARAVEL_INFLUX_PROVIDER_USE_QUEUE', 'true'), | ||
/** | ||
* Use Queue for sending to InfluxDB, if 'true' | ||
*/ | ||
'use_queue' => env('LARAVEL_INFLUX_PROVIDER_USE_QUEUE', 'false'), | ||
|
||
/** | ||
* Queue name | ||
*/ | ||
'queue_name' => env('LARAVEL_INFLUX_PROVIDER_QUEUE_NAME', 'influx'), | ||
|
||
/** | ||
* Use InfluxDB for error/exception collector if 'true' | ||
*/ | ||
'use_monolog_handler' => env('LARAVEL_INFLUX_PROVIDER_USE_MONOLOG_HANDLER', 'true'), | ||
|
||
/** | ||
* Logging level should take one of the given values: | ||
* 'DEBUG', 'INFO', 'NOTICE', 'WARNING', 'ERROR', 'CRITICAL', 'ALERT', 'EMERGENCY' | ||
*/ | ||
'logging_level' => env('LARAVEL_INFLUX_PROVIDER_LOGGING_LEVEL', 'NOTICE'), | ||
/** | ||
* Use InfluxDB for error/exception collector if 'true' | ||
*/ | ||
'use_monolog_handler' => env('LARAVEL_INFLUX_PROVIDER_USE_MONOLOG_HANDLER', 'false'), | ||
|
||
/** | ||
* Log field fields.Debug.message will be trimmed to given value of lines. | ||
* Use 0 for no limit | ||
*/ | ||
'log_message_lines_limit' => env('LARAVEL_INFLUX_PROVIDER_LOG_MESSAGE_LINES_LIMIT', 5), | ||
/** | ||
* Logging level should take one of the given values: | ||
* 'DEBUG', 'INFO', 'NOTICE', 'WARNING', 'ERROR', 'CRITICAL', 'ALERT', 'EMERGENCY' | ||
*/ | ||
'logging_level' => env('LARAVEL_INFLUX_PROVIDER_LOGGING_LEVEL', 'NOTICE'), | ||
|
||
/** | ||
* Log field fields.Debug.message will be trimmed to given value of lines. | ||
* Use 0 for no limit | ||
*/ | ||
'log_message_lines_limit' => env('LARAVEL_INFLUX_PROVIDER_LOG_MESSAGE_LINES_LIMIT', 5), | ||
]; |