Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@xjlgod
Copy link
Contributor

@xjlgod xjlgod commented Jun 28, 2025

  • I have registered the PR changes.

Ⅰ. 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

@codecov
Copy link

codecov bot commented Jun 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.81%. Comparing base (63c048e) to head (31fd656).
⚠️ Report is 1 commits behind head on 2.x.

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     
Files with missing lines Coverage Δ
...va/org/apache/seata/core/event/RateLimitEvent.java 94.73% <100.00%> (+94.73%) ⬆️
...he/seata/server/limit/ratelimit/RateLimitInfo.java 100.00% <ø> (+100.00%) ⬆️
...ata/server/limit/ratelimit/RateLimiterHandler.java 65.90% <100.00%> (+22.43%) ⬆️
.../apache/seata/server/metrics/MetricsPublisher.java 96.55% <ø> (+23.21%) ⬆️
...apache/seata/server/metrics/MetricsSubscriber.java 79.16% <ø> (+5.61%) ⬆️

... and 11 files with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@funky-eyes funky-eyes left a 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%)

@xjlgod
Copy link
Contributor Author

xjlgod commented Jul 6, 2025

codecov/patch — 0.00% of diff hit (target 60.31%)

all ci test is passed

@funky-eyes funky-eyes added this to the 2.6.0 milestone Jul 23, 2025
Copy link
Contributor

@funky-eyes funky-eyes left a comment

Choose a reason for hiding this comment

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

LGTM

@funky-eyes funky-eyes merged commit 1e2812d into apache:2.x Aug 6, 2025
7 checks passed
slievrly pushed a commit to slievrly/fescar that referenced this pull request Oct 21, 2025
YvCeung pushed a commit to YvCeung/incubator-seata that referenced this pull request Dec 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants