public class PrometheusJobListener extends Object implements org.jbpm.executor.AsynchronousJobListener
| Modifier and Type | Field and Description |
|---|---|
protected static io.prometheus.client.Summary |
jobDuration |
protected static io.prometheus.client.Counter |
numberOfJobsCancelled |
protected static io.prometheus.client.Counter |
numberOfJobsExecuted |
protected static io.prometheus.client.Counter |
numberOfJobsScheduled |
protected static io.prometheus.client.Gauge |
numberOfRunningJobs |
| Constructor and Description |
|---|
PrometheusJobListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterJobCancelled(org.jbpm.executor.AsynchronousJobEvent event) |
void |
afterJobExecuted(org.jbpm.executor.AsynchronousJobEvent event) |
void |
afterJobScheduled(org.jbpm.executor.AsynchronousJobEvent event) |
void |
beforeJobCancelled(org.jbpm.executor.AsynchronousJobEvent event) |
void |
beforeJobExecuted(org.jbpm.executor.AsynchronousJobEvent event) |
void |
beforeJobScheduled(org.jbpm.executor.AsynchronousJobEvent event) |
protected static final io.prometheus.client.Gauge numberOfRunningJobs
protected static final io.prometheus.client.Counter numberOfJobsScheduled
protected static final io.prometheus.client.Counter numberOfJobsExecuted
protected static final io.prometheus.client.Counter numberOfJobsCancelled
protected static final io.prometheus.client.Summary jobDuration
public void beforeJobScheduled(org.jbpm.executor.AsynchronousJobEvent event)
beforeJobScheduled in interface org.jbpm.executor.AsynchronousJobListenerpublic void afterJobScheduled(org.jbpm.executor.AsynchronousJobEvent event)
afterJobScheduled in interface org.jbpm.executor.AsynchronousJobListenerpublic void beforeJobExecuted(org.jbpm.executor.AsynchronousJobEvent event)
beforeJobExecuted in interface org.jbpm.executor.AsynchronousJobListenerpublic void afterJobExecuted(org.jbpm.executor.AsynchronousJobEvent event)
afterJobExecuted in interface org.jbpm.executor.AsynchronousJobListenerpublic void beforeJobCancelled(org.jbpm.executor.AsynchronousJobEvent event)
beforeJobCancelled in interface org.jbpm.executor.AsynchronousJobListenerpublic void afterJobCancelled(org.jbpm.executor.AsynchronousJobEvent event)
afterJobCancelled in interface org.jbpm.executor.AsynchronousJobListenerCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.