github.com/wfusion/gofusion@v1.1.14/test/mongo/configs/app.yml (about) 1 base: 2 debug: false 3 app: gofusion 4 5 goroutine_pool: 6 max_routine_amount: -1 7 8 log: 9 default: 10 log_level: debug 11 stacktrace_level: error 12 enable_console_output: true 13 console_output_option: 14 layout: console 15 enable_file_output: false 16 file_output_option: 17 layout: json 18 path: . 19 name: gofusion.log 20 rotation_max_age: 24h 21 rotation_count: 10 22 rotation_size: 100mib 23 compress: false 24 skip_callers: [ ] 25 shorter_filepath: true 26 27 metrics: 28 prometheus_push: 29 type: prometheus 30 mode: push 31 interval: 1s 32 endpoint: 33 addresses: [ prometheus:9091 ] 34 enable_service_label: true 35 enable_internal_metrics: true 36 enable_logger: true 37 log_instance: default 38 39 mongo: 40 default: 41 db: admin 42 auth_db: admin 43 user: root 44 password: ci 45 endpoints: 46 - mongo:27017 47 timeout: 5s 48 conn_timeout: 30s 49 socket_timeout: 5s 50 heartbeat_interval: 10s 51 max_connecting: 2 52 min_pool_size: 0 53 max_pool_size: 100 54 max_conn_idle_time: 10s 55 retry_writes: true 56 retry_reads: true 57 enable_logger: true 58 logger_config: 59 loggable_commands: [ping,create,drop,insert,find,update,delete,aggregate,distinct,count,findAndModify,listCollections] 60 logger: github.com/wfusion/gofusion/log/customlogger.mongoLogger 61 log_instance: default 62