@@ -57,12 +57,14 @@ loop {
5757
5858### Task Metrics
5959#### Base Metrics
60- - ** [ ` instrumented_count ` ] **
61- The number of tasks instrumented.
6260- ** [ ` dropped_count ` ] **
6361 The number of tasks dropped.
6462- ** [ ` first_poll_count ` ] **
6563 The number of tasks polled for the first time.
64+ - ** [ ` instrumented_count ` ] **
65+ The number of tasks instrumented.
66+ - ** [ ` max_idle_duration ` ] **
67+ The maximum idle duration that a task took.
6668- ** [ ` total_first_poll_delay ` ] **
6769 The total duration elapsed between the instant tasks are instrumented, and the instant they are first polled.
6870- ** [ ` total_idled_count ` ] **
@@ -116,9 +118,10 @@ loop {
116118- ** [ ` mean_long_delay_duration ` ] **
117119 The mean duration of long schedules.
118120
119- [ `instrumented_count` ] : https://docs.rs/tokio-metrics/0.4.*/tokio_metrics/struct.TaskMetrics.html#structfield.instrumented_count
120121[ `dropped_count` ] : https://docs.rs/tokio-metrics/0.4.*/tokio_metrics/struct.TaskMetrics.html#structfield.dropped_count
121122[ `first_poll_count` ] : https://docs.rs/tokio-metrics/0.4.*/tokio_metrics/struct.TaskMetrics.html#structfield.first_poll_count
123+ [ `instrumented_count` ] : https://docs.rs/tokio-metrics/0.4.*/tokio_metrics/struct.TaskMetrics.html#structfield.instrumented_count
124+ [ `max_idle_duration` ] : https://docs.rs/tokio-metrics/0.4.*/tokio_metrics/struct.TaskMetrics.html#structfield.max_idle_duration
122125[ ` total_first_poll_delay ` ] : https://docs.rs/tokio-metrics/0.4.*/tokio_metrics/struct.TaskMetrics.html#structfield.total_first_poll_delay
123126[ `total_idled_count` ] : https://docs.rs/tokio-metrics/0.4.*/tokio_metrics/struct.TaskMetrics.html#structfield.total_idled_count
124127[ ` total_idle_duration ` ] : https://docs.rs/tokio-metrics/0.4.*/tokio_metrics/struct.TaskMetrics.html#structfield.total_idle_duration
0 commit comments