Commit Graph

713 Commits

Author SHA1 Message Date
Gustavo Pantuza
79d24a0032 Simplify conditional by removing unnecessary 'else' statement (#13) 2019-07-01 17:20:29 -04:00
Sergei Ivanov
7813b25715 Compress CloudWatch API request payload using gzip (#18)
Signed-off-by: Sergei Ivanov <sergei_ivanov@mail.ru>
2019-06-24 22:40:21 -04:00
Sergei Ivanov
315e75077d Sanitise values before sending to CloudWatch (#17)
Throw away data points with known invalid values
to avoid the whole batch being rejected by CloudWatch API.

Signed-off-by: Sergei Ivanov <sergei_ivanov@mail.ru>
2019-06-24 22:34:34 -04:00
Sergei Ivanov
c78362c365 Handle OS signals to stop gracefully (#16)
* Cancel the context on receiving SIGINT or SIGTERM
* Update glide.yaml

Signed-off-by: Sergei Ivanov <sergei_ivanov@mail.ru>
2019-06-24 22:30:32 -04:00
Sergei Ivanov
6b19e1fd55 Added optional metric filtering (#15)
* Added optional metric filtering

* Configuration options to provide whitelist and blacklist
  patterns for metrics, so that only a subset of available metrics
  is exported from Prometheus to CloudWatch

Signed-off-by: Sergei Ivanov <sergei_ivanov@mail.ru>

* Regenerated README.md

Signed-off-by: Sergei Ivanov <sergei_ivanov@mail.ru>
2019-06-21 11:50:30 -04:00
sbiswas-suplari
0564e214ee Adding ability to replace dimensions to enable aggregation across dimensions (#12)
* Adding ability to replace dimensions. This is useful to aggregate metrics across dimensions in the kube_state metrics namespace. The aggregation across dimensions is neccessary for adding CloudWatch alarms to kube-state metrics for the variable number of pods/container/nodes that will exist in our EKS clusters

* Don't add replacement if not configured

* Addressing PR comments: Add new flag and contributor
2019-02-26 14:28:42 -05:00
Andriy Knysh
ac56aff123 Update README (#9) 2018-09-24 09:25:10 -04:00
Vadim Hleif
abc31e6d25 Migrate to readme yaml format (#7)
* feat(README): migrate to readme yaml format

* Update README and helm chart
2018-09-21 10:50:11 -07:00
yufukui-m
b3ebc7225c allow to push additional dimension specified by command-line option (#1) (#4)
* allow to push additional dimension specified by command-line option (#1)

* fix poor english

* update README.md
2018-05-25 00:09:49 -04:00
Andriy Knysh
53ba325083 Update glide dependencies (#3) 2018-03-21 17:20:21 -04:00
Andriy Knysh
10e0435768 Fix ENV var names (#2) 2018-03-21 16:37:50 -04:00
Andriy Knysh
f0005fccec Initial implementation (#1)
* Update `LICENSE` and `.gitignore`

* Init

* Update `README`

* Add Helm chart

* Update `README`

* Update chart

* Add `requirements.yaml`

* Update chart

* Update chart

* Update chart

* Update chart

* Update `Go` code

* Update `Go` code

* Update `Go` code

* Update `Go` code

* Update `README`

* Update `README`

* Update `Go` files

* Update `Go` files

* Update `Go` files

* Add Helm chart

* Update chart

* Update `README`

* Update `Go` files

* Update charts

* Update charts

* If AWS credentials are not provided in the command-line arguments or ENV variables, the module will try to assume an IAM Role

* Rename folder

* Update `README`

* Update `README`

* Rename folder

* Update `README`

* Add `requirements.yaml`

* Update chart
2018-03-21 16:19:55 -04:00
Andriy Knysh
daebddabe3 Initial commit 2018-02-15 14:32:23 -05:00