forked from sous-chefs/graphite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml
147 lines (141 loc) · 3.35 KB
/
.kitchen.yml
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
---
driver:
name: vagrant
provisioner:
name: chef_zero
platforms:
- name: ubuntu-12.04
run_list:
- recipe[ubuntu]
- name: centos-6.4
run_list:
- recipe[yum-epel]
suites:
- name: default
run_list:
- recipe[graphite]
attributes:
graphite:
carbon:
service_type: "init"
- name: ssl
run_list:
- recipe[graphite_test::ssl]
- recipe[graphite]
attributes: {
"graphite": {
"ssl": {
"enabled": true,
"ca_certificate_file": "/etc/ssl/server.crt"
},
"listen_port": "443"
}
}
- name: uwsgi
run_list:
- recipe[graphite]
attributes: {
"graphite": {
"listen_port": "8080",
"web_server": "uwsgi"
}
}
- name: carbon-relay
run_list:
- recipe[graphite]
- recipe[graphite::carbon_relay]
attributes: {
"graphite": {
"carbon": {
"relay": {
"destinations": [ "127.0.0.1:2003:a" ]
},
},
"relay_rules": [
{
"name": "example_pattern",
"pattern": "^mydata\\.foo\\..+",
"destinations": [ "10.1.2.3:2004" ]
},{
"name": "example_default",
"default": true,
"destinations": [ "127.0.0.1:2004" ]
}
]
}
}
- name: carbon-aggregator
run_list:
- recipe[graphite]
- recipe[graphite::carbon_aggregator]
attributes: {
"graphite": {
"storage_aggregation": [
{
"name": "all_min",
"pattern": ".min$",
"xFilesFactor": "0.1",
"aggregationMethod": "min"
}
],
"aggregation_rules": [
{
"output_template": "<env>.applications.<app>.all.requests",
"frequency": "60",
"method": "sum",
"input_pattern": "<env>.applications.<app>.*.requests"
},{
"output_template": "<env>.applications.<app>.all.latency",
"frequency": "60",
"method": "sum",
"input_pattern": "<env>.applications.<app>.*.latency"
}
]
}
}
- name: federated
run_list:
- recipe[graphite::federated]
attributes: {}
- name: carbon-cache
run_list:
- recipe[graphite]
- recipe[graphite::carbon_cache]
attributes: {
"graphite": {
"carbon": {
"caches": {
"a": {
"line_reciever_port": 2003,
"udp_receiver_port": 2003,
"pickle_receiver_port": 2004,
"cache_query_port": 7002,
"line_receiver_interface": 0.0.0.0,
"udp_receiver_interface": 0.0.0.0,
"pickle_receiver_interface": 0.0.0.0,
"cache_query_interface": 0.0.0.0
},
"b": {
"line_receiver_port": 2005,
"udp_receiver_port": 2005,
"pickle_receiver_port": 2006,
"cache_query_port": 7003,
"line_receiver_interface": 0.0.0.0,
"udp_receiver_interface": 0.0.0.0,
"pickle_receiver_interface": 0.0.0.0,
"cache_query_interface": 0.0.0.0
},
"c": {
"line_receiver_port": 2007,
"udp_receiver_port": 2007,
"pickle_receiver_port": 2008,
"cache_query_port": 7004,
"line_receiver_interface": 0.0.0.0,
"udp_receiver_interface": 0.0.0.0,
"pickle_receiver_interface": 0.0.0.0,
"cache_query_interface": 0.0.0.0
}
}
}
}
}