druid/docs
Rocky Chen 770ad95169
Add a metric for task duration in the pending queue (#12492)
This PR is to measure how long a task stays in the pending queue and emits the value with the metric task/pending/time. The metric is measured in RemoteTaskRunner and HttpRemoteTaskRunner.

An example of the metric:

```
2022-04-26T21:59:09,488 INFO [rtr-pending-tasks-runner-0] org.apache.druid.java.util.emitter.core.LoggingEmitter - {"feed":"metrics","timestamp":"2022-04-26T21:59:09.487Z","service":"druid/coordinator","host":"localhost:8081","version":"2022.02.0-iap-SNAPSHOT","metric":"task/pending/time","value":8,"dataSource":"wikipedia","taskId":"index_parallel_wikipedia_gecpcglg_2022-04-26T21:59:09.432Z","taskType":"index_parallel"}
```

------------------------------------------
Key changed/added classes in this PR

    Emit metric task/pending/time in classes RemoteTaskRunner and HttpRemoteTaskRunner.
    Update related factory classes and tests.
2022-05-02 23:47:25 -04:00
..
_bin De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
assets Design/architecture doc touchups (#11762) 2021-10-04 11:09:35 -07:00
comparisons Update druid-vs-kudu.md (#11470) 2021-07-21 22:58:14 +08:00
configuration Worker level task metrics (#12446) 2022-04-26 11:44:44 -05:00
dependencies Doc updates for metadata cleanup and storage (#12190) 2022-01-27 11:40:54 -08:00
design Docs - query caching (#11584) 2022-04-18 17:00:21 +08:00
development Fix formatting in stats.md (#12470) 2022-04-23 11:35:08 +08:00
ingestion remove arbitrary granularity spec from docs (#12460) 2022-04-28 16:36:54 -07:00
misc Docs – expressions link back and timestamp hint (#11674) 2022-03-29 09:12:30 -07:00
operations Add a metric for task duration in the pending queue (#12492) 2022-05-02 23:47:25 -04:00
querying Reduce allocations due to Jackson serialization. (#12468) 2022-04-27 14:17:26 -07:00
tutorials docs: fix typo (#12494) 2022-05-01 22:44:31 +08:00