This is an automated email from the ASF dual-hosted git repository.
abhishekrb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 754e03d338d Remove deprecated task/action/log/time metric (#18649)
754e03d338d is described below
commit 754e03d338dd61a89b49dfb7d70feba21caeef27
Author: aho135 <[email protected]>
AuthorDate: Thu Oct 16 17:49:39 2025 -0700
Remove deprecated task/action/log/time metric (#18649)
Removes deprecated task/action/log/time metric from prometheus-emitter and
metrics documentation
Co-authored-by: Andrew Ho <[email protected]>
---
docs/operations/metrics.md | 1 -
.../prometheus-emitter/src/main/resources/defaultMetrics.json | 1 -
2 files changed, 2 deletions(-)
diff --git a/docs/operations/metrics.md b/docs/operations/metrics.md
index ce488676a0f..0ccb5f806a1 100644
--- a/docs/operations/metrics.md
+++ b/docs/operations/metrics.md
@@ -298,7 +298,6 @@ If the JVM does not support CPU time measurement for the
current thread, `ingest
|------|-----------|----------|------------|
|`task/run/time`|Milliseconds taken to run a task.| `dataSource`, `taskId`,
`taskType`, `groupId`, `taskStatus`, `description`, `tags`|Varies|
|`task/pending/time`|Milliseconds taken for a task to wait for running.|
`dataSource`, `taskId`, `taskType`, `groupId`, `tags`|Varies|
-|`task/action/log/time`|Milliseconds taken to log a task action to the audit
log.| `dataSource`, `taskId`, `taskType`, `groupId`, `taskActionType`, `tags`|<
1000 (subsecond)|
|`task/action/run/time`|Milliseconds taken to execute a task action.|
`dataSource`, `taskId`, `taskType`, `groupId`, `taskActionType`, `tags`|Varies
from subsecond to a few seconds, based on action type.|
|`task/action/success/count`|Number of task actions that were executed
successfully during the emission period. Currently only being emitted for
[batched `segmentAllocate`
actions](../ingestion/tasks.md#batching-segmentallocate-actions).|
`dataSource`, `taskId`, `taskType`, `groupId`, `taskActionType`, `tags`|Varies|
|`task/action/failed/count`|Number of task actions that failed during the
emission period. Currently only being emitted for [batched `segmentAllocate`
actions](../ingestion/tasks.md#batching-segmentallocate-actions).|
`dataSource`, `taskId`, `taskType`, `groupId`, `taskActionType`, `tags`|Varies|
diff --git
a/extensions-contrib/prometheus-emitter/src/main/resources/defaultMetrics.json
b/extensions-contrib/prometheus-emitter/src/main/resources/defaultMetrics.json
index 74711b5e235..a4fa1e83f92 100644
---
a/extensions-contrib/prometheus-emitter/src/main/resources/defaultMetrics.json
+++
b/extensions-contrib/prometheus-emitter/src/main/resources/defaultMetrics.json
@@ -127,7 +127,6 @@
"task/run/time" : { "dimensions" : ["dataSource", "taskType"], "type" :
"timer", "conversionFactor": 1000.0, "help": "Seconds taken to run a task."},
"task/pending/time" : { "dimensions" : ["dataSource", "taskType"], "type" :
"timer", "conversionFactor": 1000.0, "help": "Seconds taken for a task to wait
for running."},
- "task/action/log/time" : { "dimensions" : ["dataSource", "taskType"], "type"
: "timer", "conversionFactor": 1000.0, "help": "Seconds taken to log a task
action to the audit log."},
"task/action/run/time" : { "dimensions" : ["dataSource", "taskType"], "type"
: "timer", "conversionFactor": 1000.0, "help": "Seconds taken to execute a task
action."},
"task/action/success/count" : { "dimensions" : ["dataSource"], "type" :
"count", "help": "Number of task actions that were executed successfully during
the emission period."},
"task/action/failed/count" : { "dimensions" : ["dataSource"], "type" :
"count", "help": "Number of task actions that failed during the emission
period."},
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]