You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,6 +122,40 @@ A preferable approach to obtaining account credentials is instead to query the M
122
122
}
123
123
}
124
124
125
+
## Multi-region support
126
+
127
+
If you wish to send cloudwatch metrics to multiple regions at once, instead of
128
+
129
+
{
130
+
backends: [ "aws-cloudwatch-statsd-backend" ],
131
+
cloudwatch:
132
+
{
133
+
accessKeyId: 'YOUR_ACCESS_KEY_ID',
134
+
secretAccessKey:'YOUR_SECRET_ACCESS_KEY',
135
+
region:"YOUR_REGION"
136
+
}
137
+
}
138
+
139
+
you can use the `instances` key under `cloudwatch` to configure a list of configurations.
140
+
141
+
{
142
+
backends: ["aws-cloudwatch-statsd-backend"],
143
+
cloudwatch: {
144
+
instances: [{
145
+
accessKeyId: 'YOUR_ACCESS_KEY_ID',
146
+
secretAccessKey: 'YOUR_SECRET_ACCESS_KEY',
147
+
region: "YOUR_REGION_1",
148
+
whitelist: ['YOUR_FULL_METRIC_NAME1']
149
+
}, {
150
+
accessKeyId: 'YOUR_ACCESS_KEY_ID',
151
+
secretAccessKey: 'YOUR_SECRET_ACCESS_KEY',
152
+
region: "YOUR_REGION_2",
153
+
whitelist: ['YOUR_FULL_METRIC_NAME2']
154
+
}]
155
+
}
156
+
}
157
+
158
+
125
159
## Tutorial
126
160
127
161
This project was launched with a following [blog post/tutorial](http://blog.simpletask.se/post/aggregating-monitoring-statistics-for-aws-cloudwatch) describing the implementation chain from log4net to Cloudwatch on a Windows system.
0 commit comments