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

     1  listen: "localhost:8081"
     2  expvar:
     3    enabled: true
     4    pprofEnabled: false
     5    listen: ""
     6  concurency: 1000
     7  notFoundStatusCode: 404
     8  cache:
     9     type: "mem"
    10     size_mb: 0
    11     defaultTimeoutSec: 60
    12     memcachedServers:
    13         - "127.0.0.1:1234"
    14         - "127.0.0.2:1235"
    15  cpus: 0
    16  tz: ""
    17  maxBatchSize: 0
    18  graphite:
    19      host: ""
    20      interval: "60s"
    21      prefix: "carbon.api"
    22      pattern: "{prefix}.{fqdn}"
    23  idleConnections: 10
    24  pidFile: ""
    25  upstreams:
    26      buckets: 10
    27      timeouts:
    28          find: "2s"
    29          render: "10s"
    30          connect: "200ms"
    31      concurrencyLimitPerServer: 0
    32      keepAliveInterval: "30s"
    33      maxIdleConnsPerHost: 100
    34      backendsv2:
    35          backends:
    36            -
    37              groupName: "mock-001"
    38              protocol: "auto"
    39              lbMethod: "all"
    40              maxTries: 3
    41              maxBatchSize: 0
    42              keepAliveInterval: "10s"
    43              concurrencyLimit: 0
    44              maxIdleConnsPerHost: 1000
    45              timeouts:
    46                  find: "15s"
    47                  render: "50s"
    48                  connect: "200ms"
    49              servers:
    50                  - "http://127.0.0.1:9070"
    51                  - "http://127.0.0.1:9071"
    52            -
    53              groupName: "mock-002"
    54              protocol: "auto"
    55              lbMethod: "all"
    56              maxTries: 3
    57              maxBatchSize: 0
    58              keepAliveInterval: "10s"
    59              concurrencyLimit: 0
    60              maxIdleConnsPerHost: 1000
    61              timeouts:
    62                  find: "15s"
    63                  render: "50s"
    64                  connect: "200ms"
    65              servers:
    66                  - "http://127.0.0.1:9072"
    67                  - "http://127.0.0.1:9073"
    68  graphite09compat: false
    69  expireDelaySec: 10
    70  unicodeRangeTables:
    71      - "Latin"
    72      - "Common"
    73  logger:
    74      - logger: ""
    75        file: "stderr"
    76        level: "debug"
    77        encoding: "console"
    78        encodingTime: "iso8601"
    79        encodingDuration: "seconds"