druid/docs/operations
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
..
alerts.md Docusaurus build framework + ingestion doc refresh. (#8311) 2019-08-20 21:48:59 -07:00
api-reference.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
auth-ldap.md Improve Druid ldap auth documentation (#10915) 2021-02-24 15:28:41 -08:00
basic-cluster-tuning.md Docs - query caching (#11584) 2022-04-18 17:00:21 +08:00
clean-metadata-store.md Enable auto kill segments by default (#12187) 2022-02-07 06:57:54 -08:00
deep-storage-migration.md cleaning up and fixing links (#10528) 2020-12-17 13:37:43 -08:00
druid-console.md fixes web console introduction and addresses linking issues (#11609) 2021-08-18 08:37:05 -07:00
dump-segment.md roaring bitmaps by default (#9548) 2020-03-23 18:15:57 -07:00
dynamic-config-provider.md Docs: Splits Kafka topic. Adds detailed example for kafka inputFormat (#11912) 2021-11-12 13:02:23 -08:00
export-metadata.md Update Kafka loading docs to use the streaming data loader (#8544) 2019-09-22 15:00:52 -07:00
getting-started.md Docusaurus build framework + ingestion doc refresh. (#8311) 2019-08-20 21:48:59 -07:00
high-availability.md fixes web console introduction and addresses linking issues (#11609) 2021-08-18 08:37:05 -07:00
http-compression.md De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
insert-segment-to-db.md De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
kubernetes.md kubernetes based discovery druid extension to run Druid on K8S without Zookeeper (#10544) 2020-12-14 21:10:31 -08:00
management-uis.md Druid user permissions (#10047) 2020-06-23 17:39:48 -07:00
metadata-migration.md cleaning up and fixing links (#10528) 2020-12-17 13:37:43 -08:00
metrics.md Add a metric for task duration in the pending queue (#12492) 2022-05-02 23:47:25 -04:00
mixed-workloads.md Docs for cluster tiering to improve query concurrency (#12128) 2022-01-15 12:22:08 +08:00
other-hadoop.md cleaning up and fixing links (#10528) 2020-12-17 13:37:43 -08:00
password-provider.md Security overview documentation (#10339) 2020-11-19 15:24:58 -08:00
pull-deps.md Fix old broken link (#11048) 2021-04-07 20:40:50 -07:00
request-logging.md Docs for request logging (#12363) 2022-03-28 14:09:41 -07:00
reset-cluster.md Update reset-cluster.md (#10990) 2021-03-29 20:38:35 -07:00
rolling-updates.md add links to release notes, light refactor of landing page (#11051) 2021-05-07 14:26:47 -07:00
rule-configuration.md Fix broadcast rule drop and docs (#10019) 2020-06-12 02:33:28 -07:00
security-overview.md Revert permission changes to Supervisor and Task APIs (#11819) 2021-10-25 14:50:38 +05:30
security-user-auth.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
segment-optimization.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
single-server.md Eliminate ambiguities of KB/MB/GB in the doc (#11333) 2021-06-30 13:42:45 -07:00
tls-support.md cleaning up and fixing links (#10528) 2020-12-17 13:37:43 -08:00
use_sbt_to_build_fat_jar.md Docusaurus build framework + ingestion doc refresh. (#8311) 2019-08-20 21:48:59 -07:00