public class PrometheusProcessEventListener
extends org.kie.api.event.process.DefaultProcessEventListener
| Modifier and Type | Field and Description |
|---|---|
protected static io.prometheus.client.Counter |
numberOfProcessInstancesCompleted |
protected static io.prometheus.client.Counter |
numberOfProcessInstancesStarted |
protected static io.prometheus.client.Counter |
numberOfSLAsViolated |
protected static io.prometheus.client.Summary |
processInstancesDuration |
protected static io.prometheus.client.Gauge |
runningProcessInstances |
protected static io.prometheus.client.Summary |
workItemsDuration |
| Constructor and Description |
|---|
PrometheusProcessEventListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterProcessCompleted(org.kie.api.event.process.ProcessCompletedEvent event) |
void |
afterProcessStarted(org.kie.api.event.process.ProcessStartedEvent event) |
void |
afterSLAViolated(org.kie.api.event.process.SLAViolatedEvent event) |
void |
beforeNodeLeft(org.kie.api.event.process.ProcessNodeLeftEvent event) |
protected static void |
recordRunningProcessInstance(String containerId,
String processId) |
afterNodeLeft, afterNodeTriggered, afterVariableChanged, beforeNodeTriggered, beforeProcessCompleted, beforeProcessStarted, beforeVariableChangedprotected static final io.prometheus.client.Counter numberOfProcessInstancesStarted
protected static final io.prometheus.client.Counter numberOfSLAsViolated
protected static final io.prometheus.client.Counter numberOfProcessInstancesCompleted
protected static final io.prometheus.client.Gauge runningProcessInstances
protected static final io.prometheus.client.Summary processInstancesDuration
protected static final io.prometheus.client.Summary workItemsDuration
protected static void recordRunningProcessInstance(String containerId, String processId)
public void afterProcessStarted(org.kie.api.event.process.ProcessStartedEvent event)
afterProcessStarted in interface org.kie.api.event.process.ProcessEventListenerafterProcessStarted in class org.kie.api.event.process.DefaultProcessEventListenerpublic void afterProcessCompleted(org.kie.api.event.process.ProcessCompletedEvent event)
afterProcessCompleted in interface org.kie.api.event.process.ProcessEventListenerafterProcessCompleted in class org.kie.api.event.process.DefaultProcessEventListenerpublic void beforeNodeLeft(org.kie.api.event.process.ProcessNodeLeftEvent event)
beforeNodeLeft in interface org.kie.api.event.process.ProcessEventListenerbeforeNodeLeft in class org.kie.api.event.process.DefaultProcessEventListenerpublic void afterSLAViolated(org.kie.api.event.process.SLAViolatedEvent event)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.