GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [release-1.19] Make autoscaler instrument async so we can remove metric attributes when revisions go away by knative-prow-robot · Pull Request #16301 · knative/serving

Conversation

@knative-prow-robot

@knative-prow-robot knative-prow-robot commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

This is an automated cherry-pick of #16300

Switch to async metric instrumentation to avoid unbounded memory growth

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
dprotaso added 2 commits December 11, 2025 19:23
@dprotaso @knative-prow-robot
switch autoscaler metrics to be async - allowing removal
d46410a
@dprotaso @knative-prow-robot
allow removing kpa metrics when a revision goes away
3d93da1
@knative-prow-robot knative-prow-robot mentioned this pull request Dec 11, 2025
Make autoscaler instrument async so we can remove metric attributes when revisions go away #16300
Merged
@knative-prow
knative-prow Bot requested review from dprotaso, gauron99 and skonto December 11, 2025 19:24
@knative-prow knative-prow Bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Dec 11, 2025
@codecov

codecov Bot commented Dec 11, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.07407% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.11%. Comparing base (e73536d) to head (3d93da1).
⚠️ Report is 2 commits behind head on release-1.19.

Files with missing lines Patch % Lines
pkg/autoscaler/scaling/metrics.go 94.02% 4 Missing ⚠️
pkg/autoscaler/scaling/autoscaler.go 80.00% 2 Missing ⚠️
pkg/reconciler/autoscaling/kpa/metrics.go 93.33% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.19   #16301      +/-   ##
================================================
- Coverage         80.11%   80.11%   -0.01%     
================================================
  Files               214      214              
  Lines             16920    13290    -3630     
================================================
- Hits              13556    10647    -2909     
+ Misses             3004     2283     -721     
  Partials            360      360              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dprotaso

dprotaso commented Dec 11, 2025

Copy link
Copy Markdown
Member

/hold

want to get an end-user to verify the patch

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@knative-prow knative-prow Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 11, 2025
@dprotaso

dprotaso commented Dec 11, 2025

Copy link
Copy Markdown
Member

/retest

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dprotaso

dprotaso commented Dec 16, 2025

Copy link
Copy Markdown
Member

/hold cancel

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@knative-prow knative-prow Bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 16, 2025
@dprotaso

dprotaso commented Dec 17, 2025

Copy link
Copy Markdown
Member

/lgtm
/approve

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@knative-prow knative-prow Bot assigned dprotaso Dec 17, 2025
@knative-prow knative-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Dec 17, 2025
@knative-prow

knative-prow Bot commented Dec 17, 2025

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dprotaso, knative-prow-robot

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [dprotaso]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@knative-prow knative-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 17, 2025
@knative-prow
knative-prow Bot merged commit dc9f816 into knative:release-1.19 Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@dprotaso dprotaso Awaiting requested review from dprotaso
@gauron99 gauron99 Awaiting requested review from gauron99
@skonto skonto Awaiting requested review from skonto

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@dprotaso dprotaso

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@knative-prow-robot @dprotaso
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.