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
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/reference/jvm.adoc
+2
Original file line number
Diff line number
Diff line change
@@ -10,12 +10,14 @@ new JvmMemoryMetrics().bindTo(registry); <2>
10
10
new JvmGcMetrics().bindTo(registry); <3>
11
11
new ProcessorMetrics().bindTo(registry); <4>
12
12
new JvmThreadMetrics().bindTo(registry); <5>
13
+
new VirtualThreadMetrics().bindTo(registry); <6>
13
14
----
14
15
<1> Gauges loaded and unloaded classes.
15
16
<2> Gauges buffer and memory pool utilization.
16
17
<3> Gauges max and live data size, promotion and allocation rates, and the number of times the GC pauses (or concurrent phase time in the case of CMS).
17
18
<4> Gauges current CPU total and load average.
18
19
<5> Gauges thread peak, the number of daemon threads, and live threads.
20
+
<6> Measures the duration (and counts the number of events) of virtual threads being pinned; also counts the number of events when starting or unparking a virtual thread failed.
19
21
20
22
Micrometer also provides a meter binder for `ExecutorService`. You can instrument your `ExecutorService`, as follows:
0 commit comments