You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build metrics: make it possible to collect produced items
- if quarkus.builder.metrics.extended-capture=true
- show the produced build items in the Dev UI
- do not collect any metrics unless quarkus.builder.metrics.enabled=true
or in the dev mode
- deprecate quarkus.debug.dump-build-metrics
Copy file name to clipboardExpand all lines: TROUBLESHOOTING.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -204,10 +204,14 @@ This can be achieved by adding the following system property: `-Dquarkus.debug.p
204
204
205
205
There is also a nice visualization of build steps available in the Dev UI located here: <http://localhost:8080/q/dev/build-steps>.
206
206
207
-
If you want to have the same visualization of build steps processing when building your application, you can use the `quarkus.debug.dump-build-metrics=true` property.
208
-
For example using `mvn package -Dquarkus.debug.dump-build-metrics=true`, will generate a `build-metrics.json` in your `target` repository that you can process via the quarkus-build-report application available here <https://github.com/mkouba/quarkus-build-report>.
207
+
If you want to have a similar visualization of build steps processing when building your application, you can use the `quarkus.builder.metrics.enabled` property.
208
+
For example using `mvn package -Dquarkus.builder.metrics.enabled=true`, will generate a `build-metrics.json` in your `target` repository.
209
+
The generated file can be processed with the `quarkus-build-report` application available here <https://github.com/mkouba/quarkus-build-report>.
209
210
This application will generate a `report.html` that you can open in your browser.
210
211
212
+
There is also the `quarkus.builder.metrics.extended-capture` config property.
213
+
If set to `true` then the collection of metrics is enhanced but the size of the generated JSON file may grow significantly.
214
+
211
215
## What about Windows?
212
216
213
217
If you are on Windows, you can still get useful performance insights using JFR - Java Flight Recorder.
0 commit comments