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

zalando-incubator / kube-metrics-adapter
9%
master: 9%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/all-go-mod-patch-and-minor-3d305c8a71
DEFAULT BRANCH: master
Repo Added 13 Nov 2018 03:15PM UTC
Files 47
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

LAST BUILD ON BRANCH issue-97-add-configurable-collection-intervals
branch: issue-97-add-configurable-collection-intervals
CHANGE BRANCH
x
Reset
  • issue-97-add-configurable-collection-intervals
  • aws-sdk-v2
  • base-image
  • build-ghrc-images
  • chart-release
  • collector-context
  • css-all
  • dependabot-daily
  • dependabot-gh-action-group
  • dependabot-gh-actions
  • dependabot-weekly
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/setup-go-6.0.0
  • dependabot/github_actions/docker/build-push-action-6.18.0
  • dependabot/github_actions/docker/login-action-3.5.0
  • dependabot/github_actions/docker/metadata-action-5.8.0
  • dependabot/github_actions/docker/setup-buildx-action-3.11.1
  • dependabot/github_actions/docker/setup-qemu-action-3.6.0
  • dependabot/github_actions/github-actions-0b8926a304
  • dependabot/github_actions/helm/chart-releaser-action-1.7.0
  • dependabot/go_modules/all-go-mod-patch-and-minor-010fcd17bf
  • dependabot/go_modules/all-go-mod-patch-and-minor-05f9538277
  • dependabot/go_modules/all-go-mod-patch-and-minor-064cb1a36f
  • dependabot/go_modules/all-go-mod-patch-and-minor-07265b11ab
  • dependabot/go_modules/all-go-mod-patch-and-minor-0cd2675254
  • dependabot/go_modules/all-go-mod-patch-and-minor-0f1b0e30d9
  • dependabot/go_modules/all-go-mod-patch-and-minor-1808589aba
  • dependabot/go_modules/all-go-mod-patch-and-minor-1b301b90d9
  • dependabot/go_modules/all-go-mod-patch-and-minor-1bc7dae0e7
  • dependabot/go_modules/all-go-mod-patch-and-minor-1c5ac7b2ea
  • dependabot/go_modules/all-go-mod-patch-and-minor-2123fd289a
  • dependabot/go_modules/all-go-mod-patch-and-minor-2c639765c3
  • dependabot/go_modules/all-go-mod-patch-and-minor-2e9aefc2c4
  • dependabot/go_modules/all-go-mod-patch-and-minor-37a3f889ae
  • dependabot/go_modules/all-go-mod-patch-and-minor-3d2fc4e685
  • dependabot/go_modules/all-go-mod-patch-and-minor-3d305c8a71
  • dependabot/go_modules/all-go-mod-patch-and-minor-3f4922485d
  • dependabot/go_modules/all-go-mod-patch-and-minor-3fe7575eaf
  • dependabot/go_modules/all-go-mod-patch-and-minor-44ead5315b
  • dependabot/go_modules/all-go-mod-patch-and-minor-4b08060bed
  • dependabot/go_modules/all-go-mod-patch-and-minor-527a01ebd8
  • dependabot/go_modules/all-go-mod-patch-and-minor-57a2397bdc
  • dependabot/go_modules/all-go-mod-patch-and-minor-585581b95e
  • dependabot/go_modules/all-go-mod-patch-and-minor-651444d0af
  • dependabot/go_modules/all-go-mod-patch-and-minor-74b0ef12dd
  • dependabot/go_modules/all-go-mod-patch-and-minor-8370fc509e
  • dependabot/go_modules/all-go-mod-patch-and-minor-a70b8d6569
  • dependabot/go_modules/all-go-mod-patch-and-minor-a8cfa66dc2
  • dependabot/go_modules/all-go-mod-patch-and-minor-b3b0d14b86
  • dependabot/go_modules/all-go-mod-patch-and-minor-b5de2b574f
  • dependabot/go_modules/all-go-mod-patch-and-minor-b925f945b2
  • dependabot/go_modules/all-go-mod-patch-and-minor-c462f7a04b
  • dependabot/go_modules/all-go-mod-patch-and-minor-c60b8253f3
  • dependabot/go_modules/all-go-mod-patch-and-minor-cc220d7c92
  • dependabot/go_modules/all-go-mod-patch-and-minor-cd0c222e69
  • dependabot/go_modules/all-go-mod-patch-and-minor-d6f2591865
  • dependabot/go_modules/all-go-mod-patch-and-minor-d719addc4d
  • dependabot/go_modules/all-go-mod-patch-and-minor-d955dedb0f
  • dependabot/go_modules/all-go-mod-patch-and-minor-db734d4cab
  • dependabot/go_modules/all-go-mod-patch-and-minor-db8d2c9d2e
  • dependabot/go_modules/all-go-mod-patch-and-minor-e4d4b2acc8
  • dependabot/go_modules/all-go-mod-patch-and-minor-e53107da2b
  • dependabot/go_modules/all-go-mod-patch-and-minor-e54e55aecd
  • dependabot/go_modules/all-go-mod-patch-and-minor-e92dee24e3
  • dependabot/go_modules/all-go-mod-patch-and-minor-e9850126f4
  • dependabot/go_modules/all-go-mod-patch-and-minor-ec00afda41
  • dependabot/go_modules/all-go-mod-patch-and-minor-ec72fe86e8
  • dependabot/go_modules/all-go-mod-patch-and-minor-ee492f818b
  • dependabot/go_modules/all-go-mod-patch-and-minor-ef2af8ca8f
  • dependabot/go_modules/all-go-mod-patch-and-minor-faaf280d82
  • dependabot/go_modules/all-go-mod-patch-and-minor-fc17d29ae7
  • dependabot/go_modules/all-go-mod-patch-and-minor-fd57178840
  • dependabot/go_modules/github.com/argoproj/argo-rollouts-1.7.1
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.51.11
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.51.32
  • dependabot/go_modules/github.com/aws/aws-sdk-go-v2-1.30.1
  • dependabot/go_modules/github.com/aws/aws-sdk-go-v2/config-1.27.16
  • dependabot/go_modules/github.com/aws/aws-sdk-go-v2/config-1.27.23
  • dependabot/go_modules/github.com/aws/aws-sdk-go-v2/service/sqs-1.32.3
  • dependabot/go_modules/github.com/aws/aws-sdk-go-v2/service/sqs-1.34.1
  • dependabot/go_modules/github.com/influxdata/influxdb-client-go-1.4.0
  • dependabot/go_modules/github.com/spyzhov/ajson-0.9.1
  • dependabot/go_modules/github.com/szuecs/routegroup-client-0.25.0
  • dependabot/go_modules/github.com/szuecs/routegroup-client-0.28.0
  • dependabot/go_modules/github.com/szuecs/routegroup-client-0.28.1
  • dependabot/go_modules/github.com/szuecs/routegroup-client-0.28.2
  • dependabot/go_modules/golang.org/x/net-0.21.0
  • dependabot/go_modules/golang.org/x/net-0.24.0
  • dependabot/go_modules/golang.org/x/net-0.36.0
  • dependabot/go_modules/golang.org/x/oauth2-0.17.0
  • dependabot/go_modules/golang.org/x/oauth2-0.19.0
  • dependabot/go_modules/golang.org/x/oauth2-0.20.0
  • dependabot/go_modules/golang.org/x/sync-0.7.0
  • dependabot/go_modules/google.golang.org/grpc-1.57.1
  • dependabot/go_modules/k8s.io/code-generator-0.29.2
  • dependabot/go_modules/k8s.io/code-generator-0.29.3
  • dependabot/go_modules/sigs.k8s.io/custom-metrics-apiserver-1.28.0
  • feature/prometheus-bearer-token-auth
  • feature/support-json-eval
  • fix-apiserver-setup
  • fix-check-hpa-changed
  • fix-image-tag
  • fix-nakadi-table
  • fix-null-pointer
  • ghrc-io
  • group-go-mod
  • helm/fix-wrong-image-src
  • hostname-rps-collector
  • ingress-upgrade-v1
  • kubernetes-v1.27
  • kubernetes-v1.28
  • kubernetes-v1.29
  • kubernetes-v1.30.2
  • kubernetes-v1.31.3
  • master
  • multi-arch-image
  • nakadi-collector
  • nakadi-filter-support
  • nil-crash
  • push-latest-ghcr
  • rps-metric-typo
  • scaling-adjust-fix
  • scaling-schedule-short-names
  • scaling-schedule-status
  • schedule-scaling-adjust-controller
  • static-base-image
  • szuecs-patch-1
  • update-deps-09-2022
  • update-deps-2022-04
  • update-deps-2022-06
  • update-deps-2022-11-01
  • update-deps-2023-01-01
  • update-deps-2023-02-01
  • update-deps-2023-03-01
  • update-deps-2023-04-03
  • update-deps-2023-05-01
  • update-deps-2023-06-01
  • update-deps-2023-07-13
  • update-deps-2023-09
  • update-deps-2023-10-18
  • update-deps-2024-01
  • update-deps-2024-02
  • update-deps-2024-12-13
  • update-golangci-lint-cfg
  • update-helm-v0.2.6
  • update-jwt
  • update-scalingschedule-config
  • v0.2.3-chart

22 May 2025 10:02PM UTC coverage: 9.194% (-0.001%) from 9.195%
15197672813

Pull #807

github

thaniri
feat: add config flags for collection intervals

The garbage collection interval should never be less than the collection
interval as this results in "gaps" in metrics.

By making these configurations tuneable it allows users to configure
kube-metrics-adapter to suit the needs of their clusters.

An example configuration that solves this issue is:

- --default-collection-interval=30s
- --metrics-ttl=30s
- --garbage-collector-interval=30s
- --metrics-ttl=45s

This ensures metrics are collected every 30 seconds, retained for 45
seconds, and garbage collected every 30 seconds. Resulting in zero
"gaps".

Signed-off-by: Marek Slabicki <mslabicki@demonware.net>
Pull Request #807: feat: add config flags for collection intervals

0 of 3 new or added lines in 1 file covered. (0.0%)

1873 of 20372 relevant lines covered (9.19%)

0.1 hits per line

Relevant lines Covered
Build:
Build:
20372 RELEVANT LINES 1873 COVERED LINES
0.1 HITS PER LINE
Source Files on issue-97-add-configurable-collection-intervals
  • Tree
  • List 47
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
15197672813 issue-97-add-configurable-collection-intervals feat: add config flags for collection intervals The garbage collection interval should never be less than the collection interval as this results in "gaps" in metrics. By making these configurations tuneable it allows users to configure kube-met... Pull #807 04 Jun 2025 01:30PM UTC thaniri github
9.19
See All Builds (1628)
  • Repo on GitHub
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