Commit Graph

443 Commits

Author SHA1 Message Date
Haitao Pan
a604757e29 .github/workflows/flux-image-automation-controller.yaml: debug 2023-01-13 12:01:49 +08:00
Haitao Pan
20f56d83db debug 2023-01-13 11:51:33 +08:00
Haitao Pan
03548fd08f debug 2023-01-13 11:49:38 +08:00
Haitao Pan
39fd1e4344 .github/workflows/flux-image-automation-controller.yaml: debug 2023-01-13 11:44:22 +08:00
Haitao Pan
bfd755e157 .github/workflows/flux-image-automation-controller.yaml: debug 2023-01-13 11:39:03 +08:00
Haitao Pan
ae986cd6e4 .github/workflows/flux-image-automation-controller.yaml: debug 2023-01-13 11:27:12 +08:00
Haitao Pan
37e6a5847e .github/workflows/flux-image-automation-controller.yaml: debug 2023-01-13 11:25:43 +08:00
Haitao Pan
2d5aac776c .github/workflows/flux-image-automation-controller.yaml: debug 2023-01-13 11:21:45 +08:00
Haitao Pan
44f4d2149e .github/workflows/flux-image-automation-controller.yaml: debug 2023-01-13 11:18:01 +08:00
Haitao Pan
c09d9ba716 .github/workflows/flux-image-automation-controller.yaml: debug 2023-01-13 11:12:48 +08:00
Haitao Pan
c7b29db487 .github/workflows/flux-image-automation-controller.yaml: add working-directory 2023-01-13 11:06:41 +08:00
Haitao Pan
b015249e1a .github/workflows/flux-image-automation-controller.yaml: debug 2023-01-13 11:00:22 +08:00
Haitao Pan
a4a5337307 .github/workflows/flux-image-automation-controller.yaml: change dockerfile path 2023-01-13 10:41:00 +08:00
Haitao Pan
9f4bb91695 .github/workflows/flux-image-automation-controller.yaml: add build path 2023-01-13 10:39:34 +08:00
Haitao Pan
213c3253a4 add flux image-automation-controller 2023-01-13 10:30:23 +08:00
Haitao Pan
4c4fe273c4 update 2023-01-13 10:01:19 +08:00
Haitao Pan
16fb7afeb1 set-upstream branch with main 2022-12-27 12:48:26 +08:00
Haitao Pan
8a264a2326 .github/workflows/images.yaml: update 2022-12-27 12:31:55 +08:00
shenlan
3a7cf87e98
Update images.yaml 2022-12-27 12:28:11 +08:00
shenlan
8320d4431b
Update images.yaml 2022-12-27 12:27:54 +08:00
Haitao Pan
abadbde51c upgrade alpine version -> 3.17 2022-12-27 12:24:16 +08:00
Haitao Pan
c40bda6047 add github-ci workflow 2022-12-27 12:22:21 +08:00
Andrew Bernat
14ca4c036f
Use go modules for dependencies (#43)
* 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.
2020-11-06 12:45:26 -05:00
Hang Xie
db8ccea9da
Close connection to scrape target after retrieving data (#39) 2020-07-07 10:20:20 -04:00
Albin Kerouanton
46ec972162
Add missing docs for FORCE_HIGH_RES param (#33) 2020-04-22 13:30:30 -04:00
Albin Kerouanton
d28e9f220e
Add a flag to publish metrics with high resolution (#32)
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.
2020-02-19 10:14:20 -05:00
Matt Ellis
73e36151de Add aws_session_token argument, to enable use of temp AWS credentials (#26)
* - Add `aws_session_token` argument to program, to enable use of temporary AWS credentials

* Fix spacing

*  Whitespace should be tab
2019-12-02 21:36:53 -05:00
Austin Cawley-Edwards
69a11e0656 feat: add ability to include dimensions per-metric (#29)
* 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
2019-10-14 14:24:14 -04:00
Austin Cawley-Edwards
57ffa27cbd feat: add ability to exclude dimensions per-metric (#28) 2019-10-10 10:14:29 -04:00
Edmund Fung
2087b3a047 Bug fix for helm template (#20)
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
2019-07-12 22:41:44 -07:00
Gustavo Pantuza
fb2d052145 Simplify conditional by removing unnecessary 'else' statement (#13) 2019-07-01 17:20:29 -04:00
Sergei Ivanov
73f00fc067 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
5ae48bd09a 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
3aaeeb6523 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
7e0049ebd4 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
74739a4545 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
4123f80b59
Update README (#9) 2018-09-24 09:25:10 -04:00
Vadim Hleif
accffcb325 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
661437149a 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
07c64ad17d
Update glide dependencies (#3) 2018-03-21 17:20:21 -04:00
Andriy Knysh
294797a4ee
Fix ENV var names (#2) 2018-03-21 16:37:50 -04:00
Andriy Knysh
c8b63c8cb6
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
12fc59255e
Initial commit 2018-02-15 14:32:23 -05:00