commit | 9b8b196e420f2c4f3e0319f17e92beb0e759fa62 | [log] [tgz] |
---|---|---|
author | Antonio Barone <syntonyze@gmail.com> | Tue Jul 14 14:32:44 2020 +0300 |
committer | Antonio Barone <syntonyze@gmail.com> | Mon Jul 27 19:45:46 2020 +0000 |
tree | c0fa4ad423bd7daa895dc38df8b7e1f244573de9 | |
parent | da877b5e342868f63d1b04d1c17439b10959bc20 [diff] |
Add ability to exclude metrics Handle exclusion rules so that the matching metrics are not reported to CloudWatch. This is useful to contain the metrics to only the wanted ones, minimizing network traffic and, crucially, AWS bills. This change is an adaptation of the approach used by [1] and by [2]. [1] https://gerrit-review.googlesource.com/c/plugins/metrics-reporter-prometheus/+/253638 [2] https://gerrit-review.googlesource.com/c/plugins/metrics-reporter-jmx/+/253634 Feature: Issue 13148 Change-Id: I82635cd152582e7f10eff8ebbe0eeaf29d868e7e