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

Switch to enabling JFR support with quarkus.native.monitoring config property #5597

Merged
merged 1 commit into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/reference/extensions/jfr.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ $ ./my-application-runner -XX:+FlightRecorder -XX:StartFlightRecording=filename=
[id="extensions-jfr-usage-flight-recording-in-native-mode"]
=== Flight recording in native mode

To build a native image with Java Flight Recorder support, it is mandatory to enable VM inspection via the following configuration property in `application.properties`.
To build a native image with Java Flight Recorder support, you must enable it via the following configuration property in `application.properties`.

[source,properties]
----
quarkus.native.enable-vm-inspection=true
quarkus.native.monitoring=jfr
----


Expand Down
4 changes: 2 additions & 2 deletions extensions/jfr/runtime/src/main/doc/usage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ $ ./my-application-runner -XX:+FlightRecorder -XX:StartFlightRecording=filename=

=== Flight recording in native mode

To build a native image with Java Flight Recorder support, it is mandatory to enable VM inspection via the following configuration property in `application.properties`.
To build a native image with Java Flight Recorder support, you must enable it via the following configuration property in `application.properties`.

[source,properties]
----
quarkus.native.enable-vm-inspection=true
quarkus.native.monitoring=jfr
----
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
## ---------------------------------------------------------------------------

# Must enable VM inspection for JFR in native mode
quarkus.native.enable-vm-inspection=true
quarkus.native.monitoring=jfr
Loading