Skip to content

[RELEASE-0.20] Unregister views to avoid slow oom issue during meter cleanup (#2005)#2027

Merged
knative-prow-robot merged 1 commit into
knative:release-0.20from
skonto:back-port-metrics-oom
Feb 17, 2021
Merged

[RELEASE-0.20] Unregister views to avoid slow oom issue during meter cleanup (#2005)#2027
knative-prow-robot merged 1 commit into
knative:release-0.20from
skonto:back-port-metrics-oom

Conversation

@skonto
Copy link
Copy Markdown
Contributor

@skonto skonto commented Feb 17, 2021

Backport of #2005, need to pull it downstream as well.

/cc @markusthoemmes @evankanderson

…e#2005)

* unregister views

* add a test

* fix string issue

* fix

* fixes

* fixe races in tests

* fix exporter issue

* stop meter in cleanup

* fixes

* typo

* revert timeout change

* fixes

* change msg
@google-cla google-cla Bot added the cla: yes Indicates the PR's author has signed the CLA. label Feb 17, 2021
@knative-prow-robot knative-prow-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Feb 17, 2021
@skonto skonto changed the title Unregister views to avoid slow oom issue during meter cleanup (#2005) [Backport] Unregister views to avoid slow oom issue during meter cleanup (#2005) Feb 17, 2021
@skonto skonto changed the title [Backport] Unregister views to avoid slow oom issue during meter cleanup (#2005) [RELEASE-0.20] Unregister views to avoid slow oom issue during meter cleanup (#2005) Feb 17, 2021
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 17, 2021

Codecov Report

Merging #2027 (51b3224) into release-0.20 (51c72e2) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@              Coverage Diff              @@
##           release-0.20    #2027   +/-   ##
=============================================
  Coverage         69.06%   69.06%           
=============================================
  Files               210      210           
  Lines              8796     8796           
=============================================
  Hits               6075     6075           
+ Misses             2451     2450    -1     
- Partials            270      271    +1     
Impacted Files Coverage Δ
metrics/resource_view.go 88.63% <100.00%> (+2.08%) ⬆️
tracing/zipkin.go 68.42% <0.00%> (-3.01%) ⬇️
profiling/server.go 74.19% <0.00%> (-2.95%) ⬇️
controller/controller.go 88.83% <0.00%> (-0.20%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 51c72e2...cc27035. Read the comment docs.

Copy link
Copy Markdown
Member

@evankanderson evankanderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: evankanderson, skonto

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:

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

@knative-prow-robot knative-prow-robot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Feb 17, 2021
@knative-prow-robot knative-prow-robot merged commit b7d7ff1 into knative:release-0.20 Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants