github.com/wfusion/gofusion@v1.1.14/test/metrics/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 shorter_filepath: true 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 25 metrics: 26 prometheus_push: 27 type: prometheus 28 mode: push 29 interval: 1s 30 labels: 31 key1: value1 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 mock: 39 type: mock 40 enable_service_label: true 41 enable_internal_metrics: true 42 enable_logger: true 43 log_instance: default