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

Support collect ZGC memory pool metrics #11432

Merged
merged 7 commits into from
Oct 20, 2023

Conversation

Z-Beatles
Copy link
Contributor

  • If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
  • Update the CHANGES log.

for UI setting change, see skywalking-java #622

@Z-Beatles
Copy link
Contributor Author

image

Copy link
Member

@wu-sheng wu-sheng left a comment

Choose a reason for hiding this comment

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

Please share the screenshots about what is actually the diff.

"i": "5",
"type": "Widget",
"widget": {
"title": "JVM Memory Detail (MB)"
Copy link
Member

Choose a reason for hiding this comment

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

Are you adding a new widget?
This name doesn't seem diff from other GC model.

Comment on lines +25 to +29
instance_jvm_memory_pool_code_cache = from(ServiceInstanceJVMMemoryPool.used).filter(poolType == MemoryPoolType.CODE_CACHE_USAGE).longAvg();
instance_jvm_memory_pool_newgen = from(ServiceInstanceJVMMemoryPool.used).filter(poolType == MemoryPoolType.NEWGEN_USAGE).longAvg();
instance_jvm_memory_pool_oldgen = from(ServiceInstanceJVMMemoryPool.used).filter(poolType == MemoryPoolType.OLDGEN_USAGE).longAvg();
instance_jvm_memory_pool_survivor = from(ServiceInstanceJVMMemoryPool.used).filter(poolType == MemoryPoolType.SURVIVOR_USAGE).longAvg();
instance_jvm_memory_pool_permgen = from(ServiceInstanceJVMMemoryPool.used).filter(poolType == MemoryPoolType.PERMGEN_USAGE).longAvg();
Copy link
Member

Choose a reason for hiding this comment

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

Why these? All thses are not new metrics.

I am not following.

@Z-Beatles
Copy link
Contributor Author

changes:

  1. Add a new widget JVM Memory Detail (MB) to show memory pool detail.
  2. Support collect and show ZGC memory pool metrics.

before:

image

after:

Case1: app start up use default G1 gc. -XX:+UseG1GC
image

Case2: app start up use ZGC. -XX:+UseZGC
image

@wu-sheng
Copy link
Member

Please make the submodule correctly, pointing to the master branch commit ID.

1 similar comment
@wu-sheng
Copy link
Member

Please make the submodule correctly, pointing to the master branch commit ID.

@wu-sheng wu-sheng added backend OAP backend related. java Java agent related metrics Metrics and meter labels Oct 20, 2023
@wu-sheng
Copy link
Member

As you have updated UI, I think there is UI side commit gap too. Please update the UI part change logs accordingly.

@wu-sheng wu-sheng added this to the 9.7.0 milestone Oct 20, 2023
@wu-sheng
Copy link
Member

Still missing one.

image

Please check from git history https://github.com/apache/skywalking-booster-ui/commits/main

@Z-Beatles
Copy link
Contributor Author

Still missing one.

image Please check from git history https://github.com/apache/skywalking-booster-ui/commits/main

Which one missing? There are no changes in the skywalking-booster-ui.

@wu-sheng
Copy link
Member

The one I was showing above. It wasn't synced, but you are syncing sub module now, so, you need to add this to change log as well.

@wu-sheng wu-sheng merged commit 5d0bd05 into apache:master Oct 20, 2023
165 checks passed
@wu-sheng wu-sheng added UI UI and front end related. submodule update Change submodule commit ID, including network protocol, query GraphQL and UI labels Oct 20, 2023
liangyepianzhou pushed a commit to liangyepianzhou/skywalking that referenced this pull request Oct 29, 2023
* Support collect ZGC memory pool metrics

* submodule update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend OAP backend related. java Java agent related metrics Metrics and meter submodule update Change submodule commit ID, including network protocol, query GraphQL and UI UI UI and front end related.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants