FrankChen021 / bithon

An observability platform mainly for Java
Apache License 2.0
15 stars 4 forks source link

Add duration metric for task #541

Closed FrankChen021 closed 1 year ago

FrankChen021 commented 1 year ago

Now we have metrics for tasks executed in thread pool: image

But it's lack of duration that reflects how long a task might task. Sometimes we can only see such potential problem from tracing logs. However, since these tasks are async tasks, the duration of root span in the tracing log also does not reflect such problem

image