-
Notifications
You must be signed in to change notification settings - Fork 8.9k
optimize: remove client id metric #7484
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 2.x #7484 +/- ##
============================================
+ Coverage 60.61% 60.81% +0.19%
Complexity 658 658
============================================
Files 1308 1308
Lines 49446 49434 -12
Branches 5811 5811
============================================
+ Hits 29971 30062 +91
+ Misses 16814 16710 -104
- Partials 2661 2662 +1
🚀 New features to boost your workflow:
|
funky-eyes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
codecov/patch — 0.00% of diff hit (target 60.31%)
# Conflicts: # changes/en-us/2.x.md # changes/zh-cn/2.x.md
all ci test is passed |
# Conflicts: # changes/en-us/2.x.md # changes/zh-cn/2.x.md
funky-eyes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Ⅰ. Describe what this PR did
optimize: remove client id metric
Ⅱ. Does this pull request fix one issue?
There is oom risk, clientid with the client reconnect, or destroy the reconstruction is not the same, this belongs to the unenumerable values, Prometheus indicators can not have unenumerable values, each value will be cached as a line of Prometheus collection of indicators, over time the memory will be used by these no longer use the clientid of the indicators will be burst.
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews