Skip to content

Fix JVM memory metrics regression#3279

Merged
SylvainJuge merged 2 commits intoelastic:mainfrom
SylvainJuge:fix-jvm-metrics
Aug 9, 2023
Merged

Fix JVM memory metrics regression#3279
SylvainJuge merged 2 commits intoelastic:mainfrom
SylvainJuge:fix-jvm-metrics

Conversation

@SylvainJuge
Copy link
Member

What does this PR do?

Reported in our forum.

Fixes a regression in JVM memory metrics capture introduced in 1.39.0.

The problem was introduced when refactoring as the MemoryUsage instance was kept, hence making the memory usage artificially making captured memory usage static.

Checklist

  • This is a bugfix
@SylvainJuge SylvainJuge added the bug Bugs label Aug 9, 2023
@SylvainJuge SylvainJuge self-assigned this Aug 9, 2023
@SylvainJuge SylvainJuge requested a review from a team August 9, 2023 10:16
@SylvainJuge SylvainJuge marked this pull request as ready for review August 9, 2023 10:35
@github-actions
Copy link

github-actions bot commented Aug 9, 2023

/test

@SylvainJuge SylvainJuge merged commit d81bb51 into elastic:main Aug 9, 2023
@SylvainJuge SylvainJuge deleted the fix-jvm-metrics branch August 9, 2023 12:02
raphw pushed a commit to raphw/apm-agent-java that referenced this pull request Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants