You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2023/12/08 14:26:26 UTC
(camel-quarkus) branch main updated: Switch to enabling JFR support with quarkus.native.monitoring config property
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new 5c7e3b7fa8 Switch to enabling JFR support with quarkus.native.monitoring config property
5c7e3b7fa8 is described below
commit 5c7e3b7fa8b2335f0290397a266c9d5da5fdb652
Author: James Netherton <ja...@gmail.com>
AuthorDate: Fri Dec 8 10:59:35 2023 +0000
Switch to enabling JFR support with quarkus.native.monitoring config property
---
docs/modules/ROOT/pages/reference/extensions/jfr.adoc | 4 ++--
extensions/jfr/runtime/src/main/doc/usage.adoc | 4 ++--
integration-tests/jfr/src/main/resources/application.properties | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/modules/ROOT/pages/reference/extensions/jfr.adoc b/docs/modules/ROOT/pages/reference/extensions/jfr.adoc
index 5db2004bee..ca0c3c9aed 100644
--- a/docs/modules/ROOT/pages/reference/extensions/jfr.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/jfr.adoc
@@ -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
----
diff --git a/extensions/jfr/runtime/src/main/doc/usage.adoc b/extensions/jfr/runtime/src/main/doc/usage.adoc
index c3f002806b..405a459974 100644
--- a/extensions/jfr/runtime/src/main/doc/usage.adoc
+++ b/extensions/jfr/runtime/src/main/doc/usage.adoc
@@ -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
----
diff --git a/integration-tests/jfr/src/main/resources/application.properties b/integration-tests/jfr/src/main/resources/application.properties
index 715da7f061..7805738045 100644
--- a/integration-tests/jfr/src/main/resources/application.properties
+++ b/integration-tests/jfr/src/main/resources/application.properties
@@ -16,4 +16,4 @@
## ---------------------------------------------------------------------------
# Must enable VM inspection for JFR in native mode
-quarkus.native.enable-vm-inspection=true
+quarkus.native.monitoring=jfr