github.com/go-graphite/carbonapi@v0.17.0/cmd/mockbackend/carbonapi_singlebackend_all.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: 0
    15  graphite:
    16      host: ""
    17      interval: "60s"
    18      prefix: "carbon.api"
    19      pattern: "{prefix}.{fqdn}"
    20  idleConnections: 10
    21  pidFile: ""
    22  upstreams:
    23      buckets: 10
    24      timeouts:
    25          find: "2s"
    26          render: "10s"
    27          connect: "200ms"
    28      concurrencyLimitPerServer: 0
    29      keepAliveInterval: "30s"
    30      maxIdleConnsPerHost: 100
    31      requireSuccessAll: true
    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"