Skip to content

Commit 503a3b1

Browse files
arielb1Ariel Ben-Yehuda
andauthored
fix: add max-idle-duration to readme (#98)
Co-authored-by: Ariel Ben-Yehuda <[email protected]>
1 parent 94f6802 commit 503a3b1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)