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

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