github.com/kaydxh/golang@v0.0.131/pkg/webserver/webserver.yaml (about)

     1  web:
     2    bind_address:
     3      host: 0.0.0.0
     4      port: 10000
     5    grpc:
     6      max_concurrency_unary: 0 # max concurrency for grpc unary api, 0 means unlimited
     7      max_concurrency_stream: 0 # max concurrency for grpc stream api
     8      max_receive_message_size: 0 # 0 means max message size 
     9      max_send_message_size : 0
    10      timeout: 0s
    11    http:
    12      max_concurrency: 0
    13      timeout: 0s
    14    debug:
    15      enable_profiling: true
    16      # print inoutput use local middleware function
    17      disable_print_inoutput_methods: [""]
    18    monitor:
    19      open_telemetry:
    20        enabled: true
    21        metric_collect_duration: 60s
    22        otel_trace_exporter_type : trace_stdout
    23        otel_metric_exporter_type : metric_stdout
    24        otel_log_exporter_type : log_none
    25        otel_metric_exporter :
    26          stdout:
    27            pretty_print: true
    28          prometheus:
    29            url: noop://localhost/metrics
    30        otel_trace_exporter:
    31          stdout:
    32            pretty_print: true
    33          jaeger:
    34            url: http://localhost:14268/api/trace
    35        resource:
    36