Package com.devebot.opflow
Class OpflowPromMeasurer
java.lang.Object
com.devebot.opflow.OpflowPromMeasurer
- Direct Known Subclasses:
OpflowPromExporter
public abstract class OpflowPromMeasurer extends Object
- Author:
- acegik
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpflowPromMeasurer.GaugeAction -
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_PROM_EXPORTER_PORT_ENVstatic StringDEFAULT_PROM_EXPORTER_PORT_KEYstatic StringDEFAULT_PROM_EXPORTER_PORT_VALstatic StringDEFAULT_PROM_PUSHGATEWAY_ADDR_ENVstatic StringDEFAULT_PROM_PUSHGATEWAY_ADDR_KEYstatic StringDEFAULT_PROM_PUSHGATEWAY_ADDR_VALstatic StringDEFAULT_PROM_PUSHGATEWAY_JOBNAMEstatic OpflowPromMeasurerNULL -
Constructor Summary
Constructors Constructor Description OpflowPromMeasurer() -
Method Summary
Modifier and Type Method Description abstract voidchangeActiveChannel(String instanceType, String instanceId, OpflowPromMeasurer.GaugeAction action)abstract voidchangeComponentInstance(String instanceType, String instanceId, OpflowPromMeasurer.GaugeAction action)abstract voiddecEngineConnectionGauge(com.rabbitmq.client.ConnectionFactory factory, String connectionType)static OpflowPromMeasurergetInstance()abstract voidincEngineConnectionGauge(com.rabbitmq.client.ConnectionFactory factory, String connectionType)abstract voidincRpcInvocationEvent(String module_name, String engineId, String routineId, String status)abstract voidremoveComponentInstance(String instanceType, String instanceId)
-
Field Details
-
DEFAULT_PROM_EXPORTER_PORT_VAL
- See Also:
- Constant Field Values
-
DEFAULT_PROM_EXPORTER_PORT_KEY
- See Also:
- Constant Field Values
-
DEFAULT_PROM_EXPORTER_PORT_ENV
- See Also:
- Constant Field Values
-
DEFAULT_PROM_PUSHGATEWAY_ADDR_VAL
- See Also:
- Constant Field Values
-
DEFAULT_PROM_PUSHGATEWAY_ADDR_KEY
- See Also:
- Constant Field Values
-
DEFAULT_PROM_PUSHGATEWAY_ADDR_ENV
- See Also:
- Constant Field Values
-
DEFAULT_PROM_PUSHGATEWAY_JOBNAME
- See Also:
- Constant Field Values
-
NULL
-
-
Constructor Details
-
OpflowPromMeasurer
public OpflowPromMeasurer()
-
-
Method Details
-
changeComponentInstance
public abstract void changeComponentInstance(String instanceType, String instanceId, OpflowPromMeasurer.GaugeAction action) -
removeComponentInstance
-
incEngineConnectionGauge
public abstract void incEngineConnectionGauge(com.rabbitmq.client.ConnectionFactory factory, String connectionType) -
decEngineConnectionGauge
public abstract void decEngineConnectionGauge(com.rabbitmq.client.ConnectionFactory factory, String connectionType) -
changeActiveChannel
public abstract void changeActiveChannel(String instanceType, String instanceId, OpflowPromMeasurer.GaugeAction action) -
incRpcInvocationEvent
-
getInstance
- Throws:
OpflowOperationException
-