JBeret - 不支持 Batchlet 指标? [英] JBeret - Batchlet Metrics not supported?

查看:68
本文介绍了JBeret - 不支持 Batchlet 指标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我开始在 Wildfly 中使用 JBeret 作为嵌入式 JSR-352 引擎时,我注意到对于我的一些工作负载,块模式并不适用.很简单,我只是将它包装成批次,它们运行正常.

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

  • 增加现有指标
  • 引入新指标

我错过了什么?

推荐答案

Batchlet 用于对作为单个工作单元的任务进行建模.如果您的工作负载本质上是迭代的,并且需要在其进展过程中收集指标,则您需要使用基于块的步骤.

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.

这篇关于JBeret - 不支持 Batchlet 指标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆