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

Allow to override GC log parameters #986

Merged
merged 3 commits into from
May 6, 2020

Conversation

danielmitterdorfer
Copy link
Member

With this commit we expose a new telemetry parameter gc-log-config
that allows users to override the configuration of the GC telemetry
device. We only allow to override tags and levels but will still output
to a file.

With this commit we expose a new telemetry parameter `gc-log-config`
that allows users to override the configuration of the GC telemetry
device. We only allow to override tags and levels but will still output
to a file.
@danielmitterdorfer danielmitterdorfer added enhancement Improves the status quo :Telemetry Telemetry Devices that gather additional metrics labels May 5, 2020
@danielmitterdorfer danielmitterdorfer added this to the 2.0.0 milestone May 5, 2020
@danielmitterdorfer danielmitterdorfer self-assigned this May 5, 2020
@danielmitterdorfer danielmitterdorfer removed the request for review from hub-cap May 5, 2020 15:25
@danielmitterdorfer danielmitterdorfer marked this pull request as draft May 5, 2020 15:25
@danielmitterdorfer danielmitterdorfer marked this pull request as ready for review May 6, 2020 10:49
Copy link
Contributor

@hub-cap hub-cap left a comment

Choose a reason for hiding this comment

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

One minor doc nit, and thank you for adding the helpful -Xlog:help, I had no idea this existed!

@@ -67,6 +67,15 @@ gc

The ``gc`` telemetry device enables GC logs for the benchmark candidate. You can use tools like `GCViewer <https://github.com/chewiebug/GCViewer>`_ to analyze the GC logs.

If the runtime JDK is Java 9 or better, the following telemetry parameters can be specified:
Copy link
Contributor

Choose a reason for hiding this comment

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

I think or higher or or greater makes more sense than or better here.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks! I'll change this before I merge.

Copy link
Member Author

Choose a reason for hiding this comment

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

Addressed in e4deee5.

@danielmitterdorfer danielmitterdorfer merged commit 9623482 into elastic:master May 6, 2020
@danielmitterdorfer danielmitterdorfer deleted the gc-log-params branch May 6, 2020 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves the status quo :Telemetry Telemetry Devices that gather additional metrics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants