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

zalando-incubator / stackset-controller / 6088548885
73%
master: 50%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.4.123
DEFAULT BRANCH: master
Ran 05 Sep 2023 06:49PM 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

05 Sep 2023 06:45PM UTC coverage: 73.257% (+0.3%) from 72.992%
6088548885

Pull #365

github

mikkeloscar
Add the type match label

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.

Co-authored-by: Katyanna Moura <amelie.kn@gmail.com>
Signed-off-by: Jonathan Juares Beber <jonathanbeber@gmail.com>
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
Pull Request #365: Add the type match label

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

2249 of 3070 relevant lines covered (73.26%)

0.82 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
94.76
-0.76% pkg/core/autoscaler.go
Jobs
ID Job ID Ran Files Coverage
1 6088548885.1 05 Sep 2023 06:49PM UTC 15
73.26
GitHub Action Run
Source Files on build 6088548885
  • Tree
  • List 15
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #365
  • PR Base - master (#6049304267)
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