* Use go modules for dependencies
* PR feedback: put back include in Makefile
It is necessary for travis because it uses Makefile targets in build-harness
* PR Feedback: Fix .travis.yml
Since make targets are based on go modules, travis.yml
definition needs to change appropriately to no longer
use godep and glide.
So far, this tool is only publishing metrics with high resolution when
the original prometheus metrics have the label __cw_high_res.
However, in our case we're running exporters and prom-to-cloudwatch
as sidecars of ECS tasks. This tool being directly connected to the
exporters, we can't add the high res label.
* feat: add ability to include dimensions per-metric
* docs: regenerate readme
* fix: invert inclusion list order
* style: spacing
* docs: make include/exclude dimension logic more clear
Helm template Deployment has `resources` place at `Deployment.spec.template.spec.resources` where if should be at `Deployment.spec.template.spec.containers[0].resources` instead
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>
* 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>
* 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