Skip to content

Fix the problem of inaccurate GC monitor detection at the beginning and adjusting the alert threshold.#11297

Merged
OneSizeFitsQuorum merged 44 commits intoapache:masterfrom
Pengzna:metric/jvm
Oct 13, 2023
Merged

Fix the problem of inaccurate GC monitor detection at the beginning and adjusting the alert threshold.#11297
OneSizeFitsQuorum merged 44 commits intoapache:masterfrom
Pengzna:metric/jvm

Conversation

@Pengzna
Copy link
Collaborator

@Pengzna Pengzna commented Oct 12, 2023

  1. Fix the problem of inaccurate GC monitor detection at the beginning.
  • When the Metric Service starts after the jvm, the gc time before the Metric Service is started will also be counted, causing the GC percentage within the initial time window to be significantly higher than expected, as shown in this figure:
修复前
  • Fix this bug by only calculating GC time within the time window. The effect after fixing this bug is shown in this figure:
修复后
  1. Lowered the gc percentage alert threshold from 50% to 30%.

Copy link
Contributor

@OneSizeFitsQuorum OneSizeFitsQuorum left a comment

Choose a reason for hiding this comment

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

LGTM

@OneSizeFitsQuorum OneSizeFitsQuorum merged commit b61f634 into apache:master Oct 13, 2023
Pengzna added a commit to Pengzna/iotdb that referenced this pull request Oct 13, 2023
…nd adjusting the alert threshold. (apache#11297)

(cherry picked from commit b61f634)
OneSizeFitsQuorum pushed a commit that referenced this pull request Oct 13, 2023
@Pengzna Pengzna deleted the metric/jvm branch June 18, 2025 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants