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