mirror of https://github.com/apache/druid.git
770ad95169
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. |
||
---|---|---|
.. | ||
alerts.md | ||
api-reference.md | ||
auth-ldap.md | ||
basic-cluster-tuning.md | ||
clean-metadata-store.md | ||
deep-storage-migration.md | ||
druid-console.md | ||
dump-segment.md | ||
dynamic-config-provider.md | ||
export-metadata.md | ||
getting-started.md | ||
high-availability.md | ||
http-compression.md | ||
insert-segment-to-db.md | ||
kubernetes.md | ||
management-uis.md | ||
metadata-migration.md | ||
metrics.md | ||
mixed-workloads.md | ||
other-hadoop.md | ||
password-provider.md | ||
pull-deps.md | ||
request-logging.md | ||
reset-cluster.md | ||
rolling-updates.md | ||
rule-configuration.md | ||
security-overview.md | ||
security-user-auth.md | ||
segment-optimization.md | ||
single-server.md | ||
tls-support.md | ||
use_sbt_to_build_fat_jar.md |