File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
spring-batch-docs/asciidoc Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,17 @@ link:$$https://micrometer.io/docs/concepts#_global_registry$$[Micrometer's globa
20
20
under the `spring.batch` prefix. The following table explains all the metrics in details:
21
21
22
22
|===============
23
- |__Metric Name__|__Type__|__Description__
24
- |`spring.batch.job`|`TIMER`|Duration of job execution
25
- |`spring.batch.job.active`|`LONG_TASK_TIMER`|Currently active jobs
26
- |`spring.batch.step`|`TIMER`|Duration of step execution
27
- |`spring.batch.item.read`|`TIMER`|Duration of item reading
28
- |`spring.batch.item.process`|`TIMER`|Duration of item processing
29
- |`spring.batch.chunk.write`|`TIMER`|Duration of chunk writing
23
+ |__Metric Name__|__Type__|__Description__|__Tags__
24
+ |`spring.batch.job`|`TIMER`|Duration of job execution|`name`, `status`
25
+ |`spring.batch.job.active`|`LONG_TASK_TIMER`|Currently active jobs|`name`
26
+ |`spring.batch.step`|`TIMER`|Duration of step execution|`name`, `job.name`, `status`
27
+ |`spring.batch.item.read`|`TIMER`|Duration of item reading|`job.name`, `step.name`, `status`
28
+ |`spring.batch.item.process`|`TIMER`|Duration of item processing|`job.name`, `step.name`, `status`
29
+ |`spring.batch.chunk.write`|`TIMER`|Duration of chunk writing|`job.name`, `step.name`, `status`
30
30
|===============
31
31
32
+ NOTE: The `status` tag can be either `SUCCESS` or `FAILURE`.
33
+
32
34
[[custom-metrics]]
33
35
34
36
=== Custom metrics
You can’t perform that action at this time.
0 commit comments