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

     1  listen: "localhost:8081"
     2  expvar:
     3    enabled: true
     4    pprofEnabled: false
     5    listen: ""
     6  concurency: 1000
     7  notFoundStatusCode: 200
     8  cache:
     9     type: "mem"
    10     size_mb: 0
    11     defaultTimeoutSec: 60
    12  cpus: 0
    13  tz: ""
    14  maxBatchSize: 500
    15  maxQueryLength: 20
    16  combineMultipleTargetsInOne: true
    17  graphite:
    18      host: ""
    19      interval: "60s"
    20      prefix: "carbon.api"
    21      pattern: "{prefix}.{fqdn}"
    22  idleConnections: 10
    23  pidFile: ""
    24  upstreams:
    25      buckets: 10
    26      timeouts:
    27          find: "2s"
    28          render: "10s"
    29          connect: "200ms"
    30      concurrencyLimitPerServer: 100
    31      keepAliveInterval: "30s"
    32      maxIdleConnsPerHost: 100
    33      doMultipleRequestsIfSplit: true
    34      backendsv2:
    35          backends:
    36            -
    37              groupName: "mock-001"
    38              protocol: "auto"
    39              lbMethod: "all"
    40              maxTries: 3
    41              maxBatchSize: 500
    42              keepAliveInterval: "10s"
    43              concurrencyLimit: 0
    44              forceAttemptHTTP2: true
    45              maxIdleConnsPerHost: 1000
    46              doMultipleRequestsIfSplit: true
    47              timeouts:
    48                  find: "15s"
    49                  render: "50s"
    50                  connect: "200ms"
    51              servers:
    52                  - "http://127.0.0.1:9070"
    53  graphite09compat: false
    54  expireDelaySec: 10
    55  logger:
    56      - logger: ""
    57        file: "stderr"
    58        level: "debug"
    59        encoding: "console"
    60        encodingTime: "iso8601"
    61        encodingDuration: "seconds"