public class MetricsContainer
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static com.netflix.spectator.api.Timer |
getExecutionTimer(java.lang.String taskType) |
static com.netflix.spectator.api.Timer |
getPollTimer(java.lang.String taskType) |
static void |
incrementExternalPayloadUsedCount(java.lang.String name,
java.lang.String operation,
java.lang.String payloadType) |
static void |
incrementInitializationCount(java.lang.String className)
This metric is used for tracking client upgrades from the deprecated class
WorkflowTaskCoordinator to
TaskRunnerConfigurer |
static void |
incrementTaskAckErrorCount(java.lang.String taskType,
java.lang.Exception e) |
static void |
incrementTaskAckFailedCount(java.lang.String taskType) |
static void |
incrementTaskExecutionErrorCount(java.lang.String taskType,
java.lang.Throwable e) |
static void |
incrementTaskExecutionQueueFullCount(java.lang.String taskType) |
static void |
incrementTaskPausedCount(java.lang.String taskType) |
static void |
incrementTaskPollCount(java.lang.String taskType,
int taskCount) |
static void |
incrementTaskPollErrorCount(java.lang.String taskType,
java.lang.Exception e) |
static void |
incrementTaskUpdateErrorCount(java.lang.String taskType,
java.lang.Throwable t) |
static void |
incrementUncaughtExceptionCount() |
static void |
incrementWorkflowStartErrorCount(java.lang.String workflowType,
java.lang.Throwable t) |
static void |
recordTaskResultPayloadSize(java.lang.String taskType,
long payloadSize) |
static void |
recordWorkflowInputPayloadSize(java.lang.String workflowType,
java.lang.String version,
long payloadSize) |
public static com.netflix.spectator.api.Timer getPollTimer(java.lang.String taskType)
public static com.netflix.spectator.api.Timer getExecutionTimer(java.lang.String taskType)
public static void incrementTaskExecutionQueueFullCount(java.lang.String taskType)
public static void incrementUncaughtExceptionCount()
public static void incrementTaskPollErrorCount(java.lang.String taskType,
java.lang.Exception e)
public static void incrementTaskPausedCount(java.lang.String taskType)
public static void incrementTaskExecutionErrorCount(java.lang.String taskType,
java.lang.Throwable e)
public static void incrementTaskAckFailedCount(java.lang.String taskType)
public static void incrementTaskAckErrorCount(java.lang.String taskType,
java.lang.Exception e)
public static void recordTaskResultPayloadSize(java.lang.String taskType,
long payloadSize)
public static void incrementTaskUpdateErrorCount(java.lang.String taskType,
java.lang.Throwable t)
public static void incrementTaskPollCount(java.lang.String taskType,
int taskCount)
public static void recordWorkflowInputPayloadSize(java.lang.String workflowType,
java.lang.String version,
long payloadSize)
public static void incrementExternalPayloadUsedCount(java.lang.String name,
java.lang.String operation,
java.lang.String payloadType)
public static void incrementWorkflowStartErrorCount(java.lang.String workflowType,
java.lang.Throwable t)
public static void incrementInitializationCount(java.lang.String className)
WorkflowTaskCoordinator to
TaskRunnerConfigurerclassName - the name of the class which initialized the client