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