JBeret - Batchlet Metrics not supported?

121 Views Asked by At

While I started using JBeret being the embedded JSR-352 engine in Wildfly, I notice that for some of my workload the chunk pattern does not apply. Simple enough I just wrapped it into batchlets and they are running ok.

Now I'd like to collect metrics the same style as chunks do but there seems no method to

  • increase existing metrics
  • introduce new metrics

What am I missing?

1

There are 1 best solutions below

3
On BEST ANSWER

Batchlet is used to model task that is a single unit of work. If your workload is iterative in nature and needs collecting metrics as it progresses, you'll need to use chunk-based step.