Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: reduce metrics labels #1784

Merged
merged 1 commit into from
Aug 5, 2022
Merged

perf: reduce metrics labels #1784

merged 1 commit into from
Aug 5, 2022

Conversation

oilbeater
Copy link
Collaborator

@oilbeater oilbeater commented Aug 5, 2022

Previously every new url will create a metrics entry with url as label. It will keep increasing as pod/ip creating and will not be released which will exhaust the memory. Aggregate the metrics by url prefix.

What type of this PR

Examples of user facing changes:

  • Bug fixes

Which issue(s) this PR fixes:

Fixes #(issue-number)

Previously every new url will create a metrics entry with url as label. It will keep increasing as pod/ip creating and will not be released which will exhaust the memory. Aggregate the metrics by url prefix.
@oilbeater oilbeater added bug Something isn't working performance Anything that can make Kube-OVN faster need backport labels Aug 5, 2022
@oilbeater oilbeater merged commit 42812b9 into master Aug 5, 2022
oilbeater added a commit that referenced this pull request Aug 5, 2022
Previously every new url will create a metrics entry with url as label. It will keep increasing as pod/ip creating and will not be released which will exhaust the memory. Aggregate the metrics by url prefix.

(cherry picked from commit 42812b9)
oilbeater added a commit that referenced this pull request Aug 5, 2022
Previously every new url will create a metrics entry with url as label. It will keep increasing as pod/ip creating and will not be released which will exhaust the memory. Aggregate the metrics by url prefix.

(cherry picked from commit 42812b9)
@oilbeater oilbeater deleted the perf/metrics-memory branch August 5, 2022 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need backport performance Anything that can make Kube-OVN faster
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants