• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zalando-incubator / stackset-controller / 6106635372
50%

Build:
DEFAULT BRANCH: master
Ran 07 Sep 2023 07:22AM UTC
Jobs 1
Files 15
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Sep 2023 07:16AM UTC coverage: 73.218% (+0.2%) from 72.992%
6106635372

push

github

web-flow
Add the type match label (#365)

When using the `autoscaler` we are still letting `kube-metrics-adapter`
to rely in the metric name. This commit adds the `type` label to the
ZMON and SQS queue len metrics. It also sorts the metrics before
generating them, based on different criteria.

Previously, sort was based just on the HPA metric type. Now sort is done
by `StackSet`'s `autoscaler` metric type and once it conflicts
`Average`, `AverageUtilization`, etc. It guarantees we support multiple
metrics of the same type and do not regenerate the HPA if Kubernetes
sends the metrics in a different order.

Signed-off-by: Jonathan Juares Beber <jonathanbeber@gmail.com>
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
Co-authored-by: Katyanna Moura <amelie.kn@gmail.com>

67 of 67 new or added lines in 2 files covered. (100.0%)

2250 of 3073 relevant lines covered (73.22%)

0.82 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
94.31
-1.21% pkg/core/autoscaler.go
Jobs
ID Job ID Ran Files Coverage
1 6106635372.1 07 Sep 2023 07:22AM UTC 15
73.22
GitHub Action Run
Source Files on build 6106635372
  • Tree
  • List 15
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 64874433 on github
  • Prev Build on refs/tags/v1.4.14 (#6049472698)
  • Next Build on master (#6455666058)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc