github.com/go-graphite/carbonapi@v0.17.0/cmd/carbonapi/config_tests/004-https.yaml (about)

     1  listeners:
     2          - address: "127.0.0.1:8082"
     3            serverTLSConfig:
     4              caCertFiles:
     5                - "cmd/carbonapi/config_tests/ca.crt"
     6              certificatePairs:
     7                -
     8                  certFile: "cmd/carbonapi/config_tests/test.crt"
     9                  privateKeyFile: "cmd/carbonapi/config_tests/test.key"
    10  
    11  prefix: ""
    12  useCachingDNSResolver: false
    13  cachingDNSRefreshTime: "1m"
    14  expvar:
    15    enabled: false
    16  notFoundStatusCode: 200
    17  concurency: 1000
    18  cache:
    19     type: "null"
    20  cpus: 0
    21  tz: ""
    22  maxBatchSize: 100
    23  graphite:
    24      host: ""
    25  idleConnections: 10
    26  pidFile: ""
    27  upstreams:
    28      tldCacheDisabled: true
    29      buckets: 10
    30      slowLogThreshold: "1s"
    31      timeouts:
    32          find: "2s"
    33          render: "10s"
    34          connect: "200ms"
    35      concurrencyLimitPerServer: 0
    36      keepAliveInterval: "30s"
    37      maxIdleConnsPerHost: 100
    38      doMultipleRequestsIfSplit: false
    39      #backends section will override this one!
    40      backendsv2:
    41          backends:
    42            -
    43              groupName: "group1"
    44              protocol: "carbonapi_v3_pb"
    45              lbMethod: "broadcast"
    46              maxTries: 3
    47              maxBatchSize: 100
    48              keepAliveInterval: "10s"
    49              concurrencyLimit: 0
    50              maxIdleConnsPerHost: 1000
    51              forceAttemptHTTP2: false
    52              doMultipleRequestsIfSplit: false
    53              servers:
    54                  - "http://127.0.0.2:8080"
    55      graphite09compat: false
    56  expireDelaySec: 10
    57  logger:
    58      - logger: ""
    59        file: "stderr"
    60        level: "debug"
    61        encoding: "json"
    62        encodingTime: "iso8601"
    63        encodingDuration: "seconds"
    64