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

     1  base:
     2    debug: true
     3    app: gofusion
     4    http:
     5      port: 9001
     6      pprof: false
     7      success_code: 200
     8      xss_white_url_list: [ "" ]
     9      clients:
    10        default:
    11          mock: true
    12          retry_count: 2
    13          retry_wait_time: 1s
    14          retry_max_wait_time: 10s
    15        local:
    16          retry_count: 2
    17          retry_wait_time: 1s
    18          retry_max_wait_time: 10s
    19  
    20    goroutine_pool:
    21      max_routine_amount: -1
    22  
    23    log:
    24      default:
    25        log_level: debug
    26        stacktrace_level: error
    27        shorter_filepath: true
    28        enable_console_output: true
    29        console_output_option:
    30          layout: console
    31        enable_file_output: false
    32        file_output_option:
    33          layout: json
    34          path: .
    35          name: gofusion.log
    36          rotation_max_age: 24h
    37          rotation_count: 10
    38          rotation_size: 100mib
    39          compress: false
    40  
    41    metrics:
    42      prometheus_push:
    43        type: prometheus
    44        mode: push
    45        interval: 1s
    46        endpoint:
    47          addresses: [ prometheus:9091 ]
    48        enable_service_label: true
    49        enable_internal_metrics: true
    50        enable_logger: true
    51        log_instance: default