github.com/wfusion/gofusion@v1.1.14/test/redis/configs/app.yml (about)

     1  base:
     2    debug: false
     3    app: gofusion
     4    goroutine_pool:
     5      max_routine_amount: -1
     6  
     7    log:
     8      default:
     9        log_level: debug
    10        stacktrace_level: error
    11        enable_console_output: true
    12        console_output_option:
    13          layout: console
    14        enable_file_output: false
    15        file_output_option:
    16          layout: json
    17          path: .
    18          name: gofusion.log
    19          rotation_max_age: 24h
    20          rotation_count: 10
    21          rotation_size: 100mib
    22          compress: false
    23  
    24    metrics:
    25      prometheus_push:
    26        type: prometheus
    27        mode: push
    28        interval: 1s
    29        endpoint:
    30          addresses: [ localhost:29091 ]
    31        enable_service_label: true
    32        enable_internal_metrics: true
    33        enable_logger: true
    34        log_instance: default
    35  
    36    redis:
    37      default:
    38        db: 0
    39        password: ci
    40        cluster: false
    41        endpoints:
    42          - redis:6379
    43        dial_timeout: 5s
    44        read_timeout: 2s
    45        write_timeout: 2s
    46        min_idle_conns: 100
    47        max_idle_conns: 10000
    48        enable_logger: true
    49        unloggable_commands: [echo,ping]