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

[fix][misc] Disable JFR based telemetry collection since it's not used #22869

Merged

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented Jun 7, 2024

Motivation

JFR based telemetry collection consumes resources. We don't currently use the metrics for anything.
This happens in MultiBrokerLeaderElectionTest which starts 10 embedded brokers in the test. The test JVM often fails with OOM.

image

 

image

Modifications

  • disable JFR based telemetry collection since it's not used at the moment.

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@lhotari lhotari added this to the 3.4.0 milestone Jun 7, 2024
@lhotari lhotari self-assigned this Jun 7, 2024
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Jun 7, 2024
@lhotari
Copy link
Member Author

lhotari commented Jun 7, 2024

@dragosvictor Please review. It looks like we didn't properly disable JFR metrics in #22616 or the 1.38.0 upgrade enabled more JFR metrics by default.

@merlimat merlimat merged commit d6dc4d3 into apache:master Jun 7, 2024
60 of 64 checks passed
@heesung-sn
Copy link
Contributor

LGTM.

Copy link
Contributor

@dragosvictor dragosvictor left a comment

Choose a reason for hiding this comment

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

Was hoping to find a OTel config/sysenv variable to control this, but there isn't any. Absent that, this looks good as it is, thanks!

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.

4 participants