github.com/go-graphite/carbonapi@v0.17.0/cmd/carbonapi/carbonapi.example.prometheus.yaml (about)

     1  listen: "localhost:8081"
     2  concurency: 1000
     3  cache:
     4     type: "mem"
     5     size_mb: 0
     6     defaultTimeoutSec: 60
     7     memcachedServers:
     8         - "127.0.0.1:1234"
     9         - "127.0.0.2:1235"
    10  cpus: 0
    11  tz: ""
    12  headersToPass:
    13    - "X-Dashboard-Id"
    14    - "X-Grafana-Org-Id"
    15    - "X-Panel-Id"
    16  #extractTagsFromArgs: false  
    17  functionsConfig:
    18      graphiteWeb: ./graphiteWeb.example.yaml
    19  maxBatchSize: 0
    20  graphite:
    21      host: ""
    22      interval: "60s"
    23      prefix: "carbon.api"
    24      pattern: "{prefix}.{fqdn}"
    25  idleConnections: 10
    26  pidFile: ""
    27  upstreams:
    28      buckets: 10
    29  
    30      timeouts:
    31          find: "2s"
    32          render: "10s"
    33          connect: "200ms"
    34      concurrencyLimitPerServer: 0
    35  
    36      keepAliveInterval: "30s"
    37      maxIdleConnsPerHost: 100
    38      backendsv2:
    39          backends:
    40            -
    41              groupName: "prometheus"
    42              protocol: "prometheus"
    43              lbMethod: "broadcast"
    44              maxTries: 3
    45              maxBatchSize: 0
    46              keepAliveInterval: "10s"
    47              concurrencyLimit: 0
    48              maxIdleConnsPerHost: 1000
    49              backendOptions:
    50                  step: "60"
    51                  start: "-5m"
    52                  max_points_per_query: 5000
    53                  force_min_step_interval: 1h
    54              timeouts:
    55                  find: "2s"
    56                  render: "50s"
    57                  connect: "200ms"
    58              servers:
    59                  - "http://127.0.0.1:8428"
    60      graphite09compat: false
    61  graphTemplates: graphTemplates.example.yaml
    62  expireDelaySec: 10
    63  logger:
    64      - logger: ""
    65        file: "stderr"
    66        level: "debug"
    67        encoding: "console"
    68        encodingTime: "iso8601"
    69        encodingDuration: "seconds"
    70      - logger: ""
    71        file: "carbonapi.log"
    72        level: "info"
    73        encoding: "json"