37547ce460
add missing VERSION file
...
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de >
2021-01-21 17:01:40 +01:00
7a0c251972
automate release of all merge to master similar to stackset-controller
...
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de >
2021-01-21 17:00:23 +01:00
ca20ef3a3b
Merge pull request #256 from zalando-incubator/label-maintainer
...
Use non-deprecated Dockerfile syntax
2021-01-15 14:56:27 +01:00
f2179846c5
Use non-deprecated Dockerfile syntax
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2021-01-15 14:21:26 +01:00
85089c4773
Merge pull request #253 from tanersener/master
...
Fix the namespace of horizontal-pod-autoscaler service account used in the helm chart
2021-01-14 19:31:02 +01:00
2ac9dd29d8
Fix the namespace of horizontal-pod-autoscaler service account in the helm chart
...
Signed-off-by: Taner Sener <tanersener@gmail.com >
2021-01-13 14:54:43 +00:00
2bfc85ff3d
Merge pull request #251 from zalando-incubator/fix-aws-collector
...
Don't check for metric name on AWS init
2021-01-05 16:49:31 +01:00
d55a551bd8
Don't check for metric name on AWS init
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2021-01-05 11:52:44 +01:00
3174100f5a
Merge pull request #250 from zalando-incubator/base-image
...
Switch to compliant base image
2021-01-05 09:03:47 +01:00
16808f012d
Switch to compliant base image
...
Use compliant base image according to our tech rules of play:
- KDP-1: use an approved Docker base image and version from the list of
allowed Docker Base Images under the pierone namespace ‘library’.
Signed-off-by: Jonathan Juares Beber <jonathanbeber@gmail.com >
2021-01-05 08:57:15 +01:00
2531ddcbe3
Merge pull request #238 from tanersener/master
...
Add a kubernetes helm chart
2021-01-04 16:07:52 +01:00
8ff2e3985b
keep non-helm deployment files
...
Signed-off-by: Taner Sener <tanersener@gmail.com >
2021-01-04 13:11:33 +00:00
dab5a66556
Update dependencies ( #249 )
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2021-01-04 09:59:04 +01:00
995ec54aa5
re-organize helm deployment files as a helm chart
...
Signed-off-by: Taner Sener <tanersener@gmail.com >
2020-12-19 10:12:33 +00:00
6f71e9c6b0
Merge pull request #236 from zalando-incubator/update-deps-2020-12-01
...
Update dependencies
2020-12-01 12:42:34 +01:00
ed16830a77
Update dependencies
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2020-12-01 11:16:09 +01:00
7f84bc75f4
UPDATED to use NewSessionWithConfig instead of NewSession ( #230 )
...
NewSession is being deprecated, NewSessionWithConfig handles things
such as role arns. This fixes permissions issues for users using
role arns for service accounts.
Signed-off-by: Ewan Valentine <ewan.valentine89@gmail.com >
2020-11-21 19:49:49 +01:00
b5fbb1beae
Merge pull request #228 from zalando-incubator/prometheus-fix-query-mapping
...
Fix mapping of Prometheus query for new metric configuration
2020-11-16 17:52:56 +01:00
4506701b7c
Fix mapping of Prometheus query for new metric configuration
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2020-11-16 17:44:06 +01:00
df0ed1fca4
Use labels for mapping metric types to metrics ( #219 )
...
* Use labels for mapping metric types to metrics
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
* Log warning when old format is used
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
* Test NewCollector logic for external metrics
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2020-11-04 20:40:53 +01:00
bb107b678c
Merge pull request #224 from zalando-incubator/update-deps-2020-11-02
...
Update dependencies
2020-11-02 09:56:51 +01:00
8d7dc13bbd
Update dependencies
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2020-11-02 09:04:08 +01:00
20f0042017
Merge pull request #217 from zalando-incubator/fix-openapi
...
Fix openapi serving
2020-10-27 11:27:07 +01:00
c732851b6b
Fix openapi serving
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2020-10-27 10:43:16 +01:00
2e09132f95
[prom collector ] Documenting scrape interval ( #215 )
...
There is a way to configure scrape interval
Signed-off-by: Muaaz Saleem <muhammad.muaaz.saleem@zalando.de >
2020-10-26 17:37:24 +01:00
95f22dc398
Bump github.com/aws/aws-sdk-go from 1.35.0 to 1.35.13 ( #212 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.35.0 to 1.35.13.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.0...v1.35.13 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 10:31:24 +01:00
eed5c78fb3
Use upstream version of custom-metrics-apiserver ( #211 )
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2020-10-23 10:51:10 +02:00
e61071a36d
Merge pull request #164 from zalando-incubator/openapi-fork
...
Use OpenAPI spec fork
2020-10-06 22:30:46 +02:00
c108fab55a
Use OpenAPI spec fork
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2020-10-02 11:06:21 +02:00
be7567efea
Fix handling of invalid/empty json response ( #209 )
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2020-10-02 10:57:53 +02:00
b677e814be
Update dependencies ( #200 )
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2020-10-02 10:55:42 +02:00
deec4727ee
Merge pull request #192 from zalando-incubator/extend-jsonpath-support
...
Support bracket notation in jsonPath
2020-09-30 12:18:39 +02:00
cf369639d8
Support bracket notation in jsonPath
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2020-08-13 09:51:05 +02:00
262a35c2ec
Merge pull request #177 from zalando-incubator/update-deps
...
Update dependencies
2020-07-15 17:45:01 +02:00
607386834b
Update dependencies
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2020-07-15 17:00:13 +02:00
4bdce4da4d
Merge pull request #176 from zalando-incubator/ingress-weights-float64
...
Correctly treat ingress weight values as float64
2020-07-15 16:56:33 +02:00
801e5d7a47
Correctly treat ingress weight values as float64
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2020-07-15 15:42:59 +02:00
4df21ae2b4
Merge pull request #174 from zalando-incubator/dependabot/add-v2-config-file
...
Create Dependabot config file
2020-07-10 13:31:55 +02:00
7f639baeee
Create Dependabot config file
2020-07-10 09:49:34 +00:00
88ddb6f10e
Merge pull request #173 from zalando-incubator/arjun-has-left-the-zalando
...
Update MAINTAINERS
2020-07-01 15:14:25 +02:00
d9cf2e0858
Update MAINTAINERS
...
Signed-off-by: Arjun Naik <arjun@arjunnaik.in >
2020-07-01 15:04:31 +02:00
c3b18e784b
Update client-go ( #162 )
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2020-06-27 18:39:12 +02:00
c3a03fd758
Merge pull request #157 from zalando-incubator/dependabot/go_modules/github.com/aws/aws-sdk-go-1.31.7
...
Bump github.com/aws/aws-sdk-go from 1.30.24 to 1.31.7
2020-06-02 09:43:49 +02:00
05704c0a6b
Merge pull request #158 from zalando-incubator/dependabot/go_modules/github.com/stretchr/testify-1.6.0
...
Bump github.com/stretchr/testify from 1.5.1 to 1.6.0
2020-06-02 09:43:27 +02:00
f3a608fcf7
Merge pull request #159 from zalando-incubator/dependabot/go_modules/github.com/prometheus/common-0.10.0
...
Bump github.com/prometheus/common from 0.9.1 to 0.10.0
2020-06-02 09:43:03 +02:00
223ec9fd89
Bump github.com/prometheus/common from 0.9.1 to 0.10.0
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.9.1...v0.10.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-06-01 10:47:03 +00:00
81255aa956
Bump github.com/stretchr/testify from 1.5.1 to 1.6.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-06-01 10:46:34 +00:00
dac44965e3
Bump github.com/aws/aws-sdk-go from 1.30.24 to 1.31.7
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.30.24 to 1.31.7.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.30.24...v1.31.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-06-01 10:46:23 +00:00
dbed1570ba
Merge pull request #156 from zalando-incubator/networking.k8s.io
...
Add support for Ingress of API Group networking.k8s.io
2020-05-26 15:09:18 +02:00
ef24244074
Add support for networking.k8s.io
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2020-05-26 14:47:46 +02:00
cadf2dff3c
Merge pull request #153 from doyshinda/custom_timeouts
...
Add support for custom timeouts
2020-05-18 10:27:17 +02:00
db83268343
Merge pull request #150 from zalando-incubator/dependabot/go_modules/github.com/aws/aws-sdk-go-1.30.24
...
Bump github.com/aws/aws-sdk-go from 1.30.19 to 1.30.24
2020-05-18 10:25:50 +02:00
78c2ef742b
Merge pull request #152 from doyshinda/parallel_get_metrics
...
Fetch pod metrics in parallel
2020-05-18 09:26:14 +02:00
f0b817629c
Add support for custom timeouts
...
Allow configuration per metric for connect and request timeouts
when querying pods for JSON metrics.
Signed-off-by: Abe Friesen <2319792+doyshinda@users.noreply.github.com >
2020-05-16 07:15:58 -06:00
3e7b66070c
Fetch pod metrics in parallel
...
Fetching metrics from pods sequentially, with a large number of
pods, can result in poor performance when some of those pods have
been terminated by the HPA in a normal scale down event.
Signed-off-by: Abe Friesen <2319792+doyshinda@users.noreply.github.com >
2020-05-16 06:47:13 -06:00
f3d33b6132
Bump github.com/aws/aws-sdk-go from 1.30.19 to 1.30.24
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.30.19 to 1.30.24.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.30.19...v1.30.24 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-11 10:18:26 +00:00
7b7af889fb
Merge pull request #148 from zalando-incubator/dependabot/go_modules/github.com/aws/aws-sdk-go-1.30.19
...
Bump github.com/aws/aws-sdk-go from 1.30.14 to 1.30.19
2020-05-06 12:45:54 +02:00
2bcaa80ce0
Merge pull request #147 from zalando-incubator/dependabot/go_modules/github.com/prometheus/client_golang-1.6.0
...
Bump github.com/prometheus/client_golang from 1.5.1 to 1.6.0
2020-05-06 12:45:46 +02:00
a2e6980b25
Merge pull request #146 from zalando-incubator/dependabot/go_modules/github.com/sirupsen/logrus-1.6.0
...
Bump github.com/sirupsen/logrus from 1.5.0 to 1.6.0
2020-05-06 12:45:23 +02:00
f0783dcdd8
Bump github.com/aws/aws-sdk-go from 1.30.14 to 1.30.19
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.30.14 to 1.30.19.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.30.14...v1.30.19 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-04 09:59:27 +00:00
560fb40dae
Bump github.com/prometheus/client_golang from 1.5.1 to 1.6.0
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.5.1...v1.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-04 09:58:05 +00:00
41229e370d
Bump github.com/sirupsen/logrus from 1.5.0 to 1.6.0
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.5.0...v1.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-04 09:57:46 +00:00
338393c11e
Merge pull request #145 from zalando-incubator/dependabot/go_modules/github.com/aws/aws-sdk-go-1.30.14
...
Bump github.com/aws/aws-sdk-go from 1.30.9 to 1.30.14
2020-05-02 21:28:27 +02:00
8e7d1bc0d6
Bump github.com/aws/aws-sdk-go from 1.30.9 to 1.30.14
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.30.9 to 1.30.14.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.30.9...v1.30.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-04-27 10:18:59 +00:00
dc7fb5875b
Merge pull request #143 from zalando-incubator/dependabot/go_modules/github.com/aws/aws-sdk-go-1.30.9
...
Bump github.com/aws/aws-sdk-go from 1.30.7 to 1.30.9
2020-04-21 06:20:06 +02:00
8f70d3493e
Bump github.com/aws/aws-sdk-go from 1.30.7 to 1.30.9
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.30.7 to 1.30.9.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.30.7...v1.30.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-04-20 10:00:12 +00:00
97ec13d010
Update Travis to Go 1.14 ( #140 )
...
Signed-off-by: Gábor Lipták <gliptak@gmail.com >
2020-04-12 22:54:49 +02:00
5e20dcd961
Merge pull request #139 from zalando-incubator/dependabot/go_modules/github.com/aws/aws-sdk-go-1.30.7
...
Bump github.com/aws/aws-sdk-go from 1.30.3 to 1.30.7
2020-04-09 15:52:18 +02:00
f27dbc3939
Bump github.com/aws/aws-sdk-go from 1.30.3 to 1.30.7
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.30.3 to 1.30.7.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.30.3...v1.30.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-04-09 08:48:10 +00:00
6443613930
Merge pull request #135 from zalando-incubator/dependabot/go_modules/github.com/aws/aws-sdk-go-1.30.3
...
Bump github.com/aws/aws-sdk-go from 1.30.2 to 1.30.3
2020-04-03 12:35:00 +02:00
d9c2e50f2c
Bump github.com/aws/aws-sdk-go from 1.30.2 to 1.30.3
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.30.2 to 1.30.3.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.30.2...v1.30.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-04-03 08:48:22 +00:00
a8cd761f85
Merge pull request #122 from zalando-incubator/http-collector
...
Add basic HTTP collector
2020-04-02 14:34:47 +02:00
43fa626ca1
Merge pull request #134 from zalando-incubator/dependabot/go_modules/github.com/aws/aws-sdk-go-1.30.2
...
Bump github.com/aws/aws-sdk-go from 1.30.0 to 1.30.2
2020-04-02 12:01:48 +02:00
2d3ddc53ef
Add and HTTP metrics collector
...
Signed-off-by: Arjun Naik <arjun.rn@gmail.com >
2020-04-02 11:05:37 +02:00
02880fad2d
Bump github.com/aws/aws-sdk-go from 1.30.0 to 1.30.2
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.30.0 to 1.30.2.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.30.0...v1.30.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-04-02 08:34:49 +00:00
405e347620
Merge pull request #132 from zalando-incubator/dependabot/go_modules/github.com/aws/aws-sdk-go-1.30.0
...
Bump github.com/aws/aws-sdk-go from 1.29.33 to 1.30.0
2020-03-31 19:14:02 +02:00
f15aacad5c
Merge pull request #123 from zalando-incubator/dependabot/go_modules/github.com/spf13/cobra-0.0.7
...
Bump github.com/spf13/cobra from 0.0.6 to 0.0.7
2020-03-31 19:13:31 +02:00
c0a9f525b8
Merge pull request #131 from vetinari/patch-1
...
fix error to not contain twice the namespace
2020-03-31 19:13:05 +02:00
24207d285c
Merge pull request #126 from zalando-incubator/dependabot/go_modules/github.com/prometheus/client_golang-1.5.1
...
Bump github.com/prometheus/client_golang from 1.0.0 to 1.5.1
2020-03-31 19:12:03 +02:00
860aba807e
fix error to not contain twice the namespace
...
but to contain also the name of the pod
Signed-off-by: Hanno Hecker <hanno@zalando.de >
2020-03-31 10:44:55 +02:00
73659f8ac6
Bump github.com/aws/aws-sdk-go from 1.29.33 to 1.30.0
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.29.33 to 1.30.0.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.29.33...v1.30.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-03-31 08:42:58 +00:00
280d358538
Bump github.com/prometheus/client_golang from 1.0.0 to 1.5.1
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.0.0 to 1.5.1.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.0.0...v1.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-03-30 09:50:33 +00:00
735bb164e2
Bump github.com/spf13/cobra from 0.0.6 to 0.0.7
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 0.0.6 to 0.0.7.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v0.0.6...0.0.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-03-30 09:49:38 +00:00
d28712abd1
Merge pull request #110 from zalando-incubator/update-dependencies
...
Updated dependencies based on version 1.17
2020-03-27 11:05:59 +01:00
670692b23c
Updated dependencies based on version 1.17
...
Signed-off-by: Arjun Naik <arjun.rn@gmail.com >
2020-03-27 10:54:06 +01:00
33683fe88d
Merge pull request #121 from zalando-incubator/dependabot/go_modules/github.com/aws/aws-sdk-go-1.29.33
...
Bump github.com/aws/aws-sdk-go from 1.29.31 to 1.29.33
2020-03-27 10:23:34 +01:00
abaef5e491
Bump github.com/aws/aws-sdk-go from 1.29.31 to 1.29.33
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.29.31 to 1.29.33.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.29.31...v1.29.33 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-03-27 08:31:09 +00:00
670f081a5e
Merge pull request #115 from zalando-incubator/dependabot/go_modules/github.com/spf13/cobra-0.0.6
...
Bump github.com/spf13/cobra from 0.0.3 to 0.0.6
2020-03-26 12:10:03 +01:00
55a743e5ac
Merge pull request #119 from zalando-incubator/dependabot/go_modules/github.com/aws/aws-sdk-go-1.29.31
...
Bump github.com/aws/aws-sdk-go from 1.29.30 to 1.29.31
2020-03-25 14:06:01 +01:00
830d385a4a
Bump github.com/spf13/cobra from 0.0.3 to 0.0.6
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 0.0.3 to 0.0.6.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v0.0.3...v0.0.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-03-25 12:27:25 +00:00
f2638c6843
Bump github.com/aws/aws-sdk-go from 1.29.30 to 1.29.31
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.29.30 to 1.29.31.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.29.30...v1.29.31 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-03-25 08:33:33 +00:00
b77fba2e7b
Merge pull request #114 from zalando-incubator/dependabot/go_modules/github.com/stretchr/testify-1.5.1
...
Bump github.com/stretchr/testify from 1.4.0 to 1.5.1
2020-03-24 10:49:11 +01:00
e77d51f97a
Merge pull request #112 from zalando-incubator/dependabot/go_modules/github.com/influxdata/influxdb-client-go-0.1.5
...
Bump github.com/influxdata/influxdb-client-go from 0.1.4 to 0.1.5
2020-03-24 10:48:43 +01:00
69ac42ed7d
Merge pull request #111 from zalando-incubator/dependabot/go_modules/github.com/prometheus/client_golang-0.9.4
...
Bump github.com/prometheus/client_golang from 0.9.2 to 0.9.4
2020-03-24 10:48:02 +01:00
582f05539c
Bump github.com/sirupsen/logrus from 1.4.2 to 1.5.0 ( #117 )
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.4.2...v1.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-24 10:46:59 +01:00
46f2e5c4fd
Bump github.com/aws/aws-sdk-go from 1.29.4 to 1.29.30 ( #116 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.29.4 to 1.29.30.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.29.4...v1.29.30 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-24 10:46:51 +01:00
31bc1771df
Bump github.com/sirupsen/logrus from 1.4.2 to 1.5.0
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.4.2...v1.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-03-24 08:49:15 +00:00
836c78d08b
Bump github.com/stretchr/testify from 1.4.0 to 1.5.1
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-03-22 14:21:19 +00:00
6f5ab042e6
Bump github.com/influxdata/influxdb-client-go from 0.1.4 to 0.1.5
...
Bumps [github.com/influxdata/influxdb-client-go](https://github.com/influxdata/influxdb-client-go ) from 0.1.4 to 0.1.5.
- [Release notes](https://github.com/influxdata/influxdb-client-go/releases )
- [Commits](https://github.com/influxdata/influxdb-client-go/compare/v0.1.4...v0.1.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-03-22 14:20:20 +00:00
5abc7388fb
Bump github.com/prometheus/client_golang from 0.9.2 to 0.9.4
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 0.9.2 to 0.9.4.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v0.9.2...v0.9.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-03-22 14:19:58 +00:00
5bf87cb10e
Add support for passing URL query params to pod metric endpoints ( #109 )
...
Adds a new metric-config option named `rawQuery`. The value of
this option will be appended to the metric `path` as URL query
parameters to be used by the pod's application. E.g.,:
```
metric-config.pods.requests-per-second.json-path/rawQuery: "foo=bar&baz=bop"
```
will apppend `?foo=bar&baz=bop` to the URL.
Signed-off-by: Abe Friesen <2319792+doyshinda@users.noreply.github.com >
2020-03-10 10:45:28 +01:00
c6610750e4
Merge pull request #107 from affo/fix/influxdb-token-org-swap
...
fix(influxdb): fix swap of org/token
2020-02-24 09:27:34 +01:00
04ae6d955e
fix(influxdb): fix swap of org/token parameter passing to
...
InfluxDBCollector
Convert from `orgID` to `org`.
Signed-off-by: Lorenzo Affetti <lorenzo.affetti@gmail.com >
2020-02-21 19:13:17 +01:00
2d56c202a7
Update AWS SDK to support AWS IAM solution ( #106 )
...
Fix #105
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2020-02-18 09:59:31 +01:00
c9fa15c7d4
Updated the tests ( #103 )
...
Signed-off-by: Arjun Naik <arjun.rn@gmail.com >
2020-02-04 09:48:50 +01:00
e3330dcf43
Reuse the HTTP client for scraping pods ( #102 )
...
Signed-off-by: Arjun Naik <arjun.rn@gmail.com >
2020-01-30 17:49:22 +01:00
8e4662b26c
Permit disregarding incompatible HPAs ( #95 )
...
* This commit adds a --disregard-incompatible-hpas that makes the HPA
provider stop erroring out when a collector cannot be created for a
metric in a HPA. Useful when kube-metrics-adapter runs alongside another
metrics provider. Fixes issue #94 .
Signed-off-by: Tomás Pinho <me@tomaspinho.com >
* Make tests pass
Signed-off-by: Tomás Pinho <me@tomaspinho.com >
* Wraps the Plugin Not Found error in a new type that can be checked by the caller of a function to determine if its contents should be logged or added as an event to the HPA, when this HPA is incompatible.
The disregardIncompatibleHPAs is now targetting only the log or addition of the same event.
Signed-off-by: Tomás Pinho <me@tomaspinho.com >
* Invert if expression to select when we should log
CreateNewMetricsCollector errors: don't log when both conditions are true - it's not a PluginNotFoundError
and disregardIncompatibleHPAs flag is set to true. This way, if an error
is NOT PluginNotFoundError it will always be logged, and when it IS
PluginNotFoundError it will only be logged when
disregardIncompatibleHPAs is false.
Signed-off-by: Tomás Pinho <me@tomaspinho.com >
* Remove redundant "whether to"
Signed-off-by: Tomás Pinho <me@tomaspinho.com >
* Add test case for updating HPAs via HPA Provider while disregarding
incompatible HPAs.
Signed-off-by: Tomás Pinho <me@tomaspinho.com >
2020-01-30 11:33:15 +01:00
9e211b181a
Merge pull request #101 from zalando-incubator/update-to-v2beta2
...
Only support autoscaling/v2beta2
2020-01-29 16:47:15 +01:00
9d78fff1b5
Only support autoscaling/v2beta2
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2020-01-29 15:59:20 +01:00
1c6f9e2ea6
Merge pull request #100 from affo/feat/influxdb-collector
...
feat(collector): add InfluxDB collector
2020-01-24 10:56:52 +01:00
c0eda7cd1e
adding tests for collector creation
...
Signed-off-by: Lorenzo Affetti <lorenzo.affetti@gmail.com >
2020-01-24 09:54:35 +01:00
75f3e48f70
address szuecs review
...
Signed-off-by: Lorenzo Affetti <lorenzo.affetti@gmail.com >
2020-01-24 09:07:56 +01:00
5b55bea994
feat(collector): add InfluxDB collector
...
Signed-off-by: Lorenzo Affetti <lorenzo.affetti@gmail.com >
2020-01-22 10:09:29 +01:00
4412e3dca4
Merge pull request #92 from zalando-incubator/njuettner-patch
...
Updating golangci
2019-11-26 14:49:02 +01:00
8f9277258c
Increase timeout for golangci-lint
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2019-11-25 11:36:18 +01:00
8c3fef45fd
Updating golangci
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
Signed-off-by: Nick Jüttner <nick@zalando.de >
2019-11-25 10:56:22 +01:00
120950078c
Fix #89 by copying the MatchLabels map instead of referencing it. ( #90 )
...
Signed-off-by: Johann Fuechsl <johann@fuechsl.co >
2019-11-07 14:38:26 +01:00
0790bc351a
This fixes an issue with the type switch that was never able to fall ( #88 )
...
into cases of []<number>, being <number> a number type such as int,
float32, float64. This is because Go can't type cast slices of
interface{} out right because it's impossible to know the true types of
the slice members beforehand.
Signed-off-by: Tomás Pinho <me@tomaspinho.com >
2019-11-05 09:43:25 +01:00
f6b2aede5b
Support for JSONPath expressions that return arrays of values ( #85 )
...
* This is the initial implementation of support for JSONPath expressions
that return arrays of values instead of a single value.
This extends the
collector to define a few handy reducer functions that take in the slice
of float64 and return a single value. It also allows the user to define
which reducer function to use via the
"metric-config.<metricType>.<metricName>.json-path/reducer-func"
annotation, which
can have the values of 'avg', 'min', 'max' and 'sum'.
For instance, the Ruby puma webserver exposes metrics of the form of $.worker_status[*].last_status.pool_capacity that have to be consumed as an array of values to be properly targetted.
Signed-off-by: Tomás Pinho <me@tomaspinho.com >
* Renames "reducerFunc" to "aggregator" for consistency with other
collectors. Renames the annotation from
"metric-config.<metricType>.<metricName>.json-path/reducer-func" to "metric-config.<metricType>.<metricName>.json-path/aggregator".
Signed-off-by: Tomás Pinho <me@tomaspinho.com >
* Return error instead of defaulting to the avg aggregator, when no valid
aggregator name was specified and the JSONPath value is a slice of
numbers.
Signed-off-by: Tomás Pinho <me@tomaspinho.com >
* Fix index out of range on initialized output slice that was found while
writing tests.
Signed-off-by: Tomás Pinho <me@tomaspinho.com >
* Add tests for all added functions + NewJSONPathMetricsGetter
Signed-off-by: Tomás Pinho <me@tomaspinho.com >
* Add documentation on the `aggregator` option.
Signed-off-by: Tomás Pinho <me@tomaspinho.com >
* reducer function -> aggregator function
Signed-off-by: Tomás Pinho <me@tomaspinho.com >
* Fix comment to account for returned error.
Signed-off-by: Tomás Pinho <me@tomaspinho.com >
2019-10-24 18:15:10 +02:00
7d5e719eb0
Merge pull request #86 from pinkavaj/fix-var-name
...
Fix variable name typo
2019-10-24 10:16:58 +02:00
7497a61a2c
Fix variable name typo
...
Signed-off-by: Jiri Pinkava <jiri.pinkava@rossum.ai >
2019-10-24 09:45:22 +02:00
a72380125f
Update SECURITY.md ( #84 )
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2019-10-22 16:11:29 +02:00
70c7fb843d
Merge pull request #83 from zalando-incubator/ingress-collector
...
Skipper: simplify metrics collection
2019-10-22 16:07:49 +02:00
79533a5a93
Skipper: simplify metrics collection
...
* Drop MaxWeightedCollector (we don't want max anyway, we want sum)
* Use Prometheus to add up all matching metrics and scale them; this
has a nice side effect of ensuring that unused hostnames don't cause
an error when collecting the metrics
* Update the tests a bit
Signed-off-by: Alexey Ermakov <alexey.ermakov@zalando.de >
2019-10-21 14:05:30 +02:00
2765ff9811
Merge pull request #68 from zalando-incubator/skipper-collector-averagevalue
...
Add support for averageValue for request-per-second Skipper metric
2019-10-10 08:09:30 +02:00
76d2f74743
Add support for averageValue for request-per-second Skipper metric
...
This adds support for `averageValue` for the `request-per-second` metric
based on Ingress Objects. This is only supported from Kubernetes
`>=v1.14` (https://github.com/kubernetes/kubernetes/pull/72872 ).
When defining the HPA with `autoscaling/v2beta1` you still need to
define `targetValue` even though it won't be used when `averageValue` is
set. Once we default to `autoscaling/v2beta2` this akward API will be
gone.
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2019-10-08 17:10:28 +02:00
0de5042d3d
Update dependencies ( #80 )
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2019-10-08 16:20:47 +02:00
07c0e179b3
Fail on dirty and/or non-exact versions on master ( #79 )
...
* Fail on dirty and/or non-exact versions on master
Signed-off-by: Alexey Ermakov <alexey.ermakov@zalando.de >
* Prevent go from modifying go.mod
Signed-off-by: Alexey Ermakov <alexey.ermakov@zalando.de >
* Fix go.mod version
Signed-off-by: Alexey Ermakov <alexey.ermakov@zalando.de >
* Allow non-exact tag matches
Signed-off-by: Alexey Ermakov <alexey.ermakov@zalando.de >
2019-10-01 11:54:37 +02:00
29ee953a16
Merge pull request #78 from zalando-incubator/return-err
...
When traffic switching is used, require a backend for the RPS metric
2019-09-27 17:56:35 +02:00
f78ef26857
When traffic switching is used, require a backend for the RPS metric
...
Signed-off-by: Alexey Ermakov <alexey.ermakov@zalando.de >
2019-09-27 15:02:46 +02:00
a3c14e9dcb
Merge pull request #76 from zalando-incubator/refactor-parsing
...
Prevent panic when parsing HPAs
2019-08-23 09:08:07 +02:00
b6b13fb31a
Prevent panic when parsing HPAs
...
This is a slight refactoring/unification of how metric
labels/annotations are parsed and handled accross collectors. This is
done to prevent crashes when labels are not defined on external metrics.
Fix #69
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2019-08-22 08:09:28 +02:00
0a06691d39
Merge pull request #75 from edganiukov/master
...
collector/prometheus: add Prometheus URL (optional) as an annotation in HPA
2019-08-21 09:55:10 +02:00
2d1d51e829
collector/prometheus: add prometheus server (optional) as an annotation in HPA.
...
Signed-off-by: Eduard Ganiukov <eduard.ganiukov@swisscom.com >
2019-08-14 13:05:50 +02:00