github.com/go-graphite/carbonapi@v0.17.0/cmd/mockbackend/testcases/i545/carbonapi.yaml (about)

     1  listen: "localhost:8081"
     2  notFoundStatusCode: 200
     3  
     4  cache:
     5     type: "mem"
     6     size_mb: 0
     7     defaultTimeoutSec: 1
     8  
     9  backendCache:
    10     type: "mem"
    11     size_mb: 0
    12     defaultTimeoutSec: 1
    13  
    14  graphite09compat: false
    15  upstreams:
    16      buckets: 10
    17  
    18      concurrencyLimitPerServer: 0
    19      keepAliveInterval: "3s"
    20      maxIdleConnsPerHost: 100
    21      timeouts:
    22          find: "500ms"
    23          render: "500ms"
    24          connect: "250ms"
    25  
    26      backendsv2:
    27          backends:
    28            -
    29              groupName: "go-carbon-1"
    30              protocol: "carbonapi_v3_pb"
    31              lbMethod: "broadcast"
    32              maxTries: 4
    33              keepAliveInterval: "10s"
    34              concurrencyLimit: 0
    35              servers:
    36                  - "http://127.0.0.1:9070"
    37                  - "http://127.0.0.1:9071"
    38            -
    39              groupName: "go-carbon-2"
    40              protocol: "carbonapi_v3_pb"
    41              lbMethod: "broadcast"
    42              maxTries: 4
    43              keepAliveInterval: "10s"
    44              concurrencyLimit: 0
    45              servers:
    46                  - "http://127.0.0.1:9072"
    47                  - "http://127.0.0.1:9073"
    48            -
    49              groupName: "go-carbon-3"
    50              protocol: "carbonapi_v3_pb"
    51              lbMethod: "broadcast"
    52              maxTries: 4
    53              keepAliveInterval: "10s"
    54              concurrencyLimit: 0
    55              servers:
    56                  - "http://127.0.0.1:9074"
    57                  - "http://127.0.0.1:9075"
    58  logger:
    59      - logger: ""
    60        file: "stdout"
    61        level: "debug"
    62        encoding: "json"
    63        encodingTime: "iso8601"
    64        encodingDuration: "seconds"