Class MetricNames
- java.lang.Object
-
- com.hazelcast.jet.core.metrics.MetricNames
-
public final class MetricNames extends java.lang.Object
Each metric provided by Jet has a specific name which conceptually identifies what it's being used to measure. Besides their name metrics also have a description made up by tags, but those are more like attributes which describe a specific instance of the metric and are not directly part of the identity of the metric.The constants described here represent the various names metrics can take in Jet.
- Since:
- Jet 3.2
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COALESCED_WM
static java.lang.String
DISTRIBUTED_BYTES_IN
static java.lang.String
DISTRIBUTED_BYTES_OUT
static java.lang.String
DISTRIBUTED_ITEMS_IN
static java.lang.String
DISTRIBUTED_ITEMS_OUT
static java.lang.String
EMITTED_COUNT
static java.lang.String
EXECUTION_COMPLETION_TIME
Tracks the completion time of a given execution of a specific job.static java.lang.String
EXECUTION_START_TIME
Tracks the start time of a given execution of a specific job.static java.lang.String
IS_USER_CANCELLED
Indicates whether the job was cancelled by the user.static java.lang.String
JOB_EXECUTIONS_COMPLETED
Number of job executions finished on the Jet cluster.static java.lang.String
JOB_EXECUTIONS_STARTED
Number of job executions started on the Jet cluster.static java.lang.String
JOB_STATUS
Numerical ID of the job's status.static java.lang.String
JOBS_COMPLETED_SUCCESSFULLY
Number of jobs successfully completed by the Jet cluster.static java.lang.String
JOBS_COMPLETED_WITH_FAILURE
Number of jobs that have failed on the Jet cluster.static java.lang.String
JOBS_SUBMITTED
Number of jobs submitted to the Jet cluster.static java.lang.String
LAST_FORWARDED_WM
static java.lang.String
LAST_FORWARDED_WM_LATENCY
static java.lang.String
QUEUES_CAPACITY
static java.lang.String
QUEUES_SIZE
static java.lang.String
RECEIVED_BATCHES
static java.lang.String
RECEIVED_COUNT
static java.lang.String
SNAPSHOT_BYTES
Tracks the total number of bytes written in the last snapshot by a particularVertex
.static java.lang.String
SNAPSHOT_KEYS
Tracks the total number of keys written in the last snapshot by a particularVertex
.static java.lang.String
TOP_OBSERVED_WM
-
-
-
Field Detail
-
RECEIVED_COUNT
public static final java.lang.String RECEIVED_COUNT
Counts incoming data items on inputEdge
s of particularVertex
instances running on variousProcessor
s. These in turn can be identified based on theMetricTags.ORDINAL
,MetricTags.VERTEX
&MetricTags.PROCESSOR
tags of the metric.- See Also:
- Constant Field Values
-
RECEIVED_BATCHES
public static final java.lang.String RECEIVED_BATCHES
Counts incoming data item batches on inputEdge
s of particularVertex
instances running on variousProcessor
s. These in turn can be identified based on theMetricTags.ORDINAL
,MetricTags.VERTEX
&MetricTags.PROCESSOR
tags of the metric.- See Also:
- Constant Field Values
-
QUEUES_SIZE
public static final java.lang.String QUEUES_SIZE
Tracks the total size of all input queues of a particularVertex
on a particularProcessor
. They both can be identified based on theMetricTags.VERTEX
andMetricTags.PROCESSOR
tags of the metric.- See Also:
- Constant Field Values
-
QUEUES_CAPACITY
public static final java.lang.String QUEUES_CAPACITY
Tracks the total capacity of all input queues of a particularVertex
on a particularProcessor
. They both can be identified based on theMetricTags.VERTEX
andMetricTags.PROCESSOR
tags of the metric.- See Also:
- Constant Field Values
-
EMITTED_COUNT
public static final java.lang.String EMITTED_COUNT
Counts the data items emitted on outgoingEdge
s of particularVertex
instances running on variousProcessor
s. These in turn can be identified based on theMetricTags.ORDINAL
,MetricTags.VERTEX
&MetricTags.PROCESSOR
tags of the metric.When the
MetricTags.ORDINAL
tag contains the value "snapshot" then the count contains the number of snapshots saved by theProcessor
.- See Also:
- Constant Field Values
-
TOP_OBSERVED_WM
public static final java.lang.String TOP_OBSERVED_WM
Tracks the highest coalesced watermark observed on all inputEdge
s of a particularVertex
(ie. the highest watermark observed on all input queues of thatVertex
). TheVertex
and theProcessor
can be identified based on theMetricTags.VERTEX
&MetricTags.PROCESSOR
tags of the metric.- See Also:
- Constant Field Values
-
COALESCED_WM
public static final java.lang.String COALESCED_WM
Tracks the highest watermark observed on all the input queues of a particular incomingEdge
of a certainVertex
. TheVertex
and theProcessor
can be identified based on theMetricTags.VERTEX
&MetricTags.PROCESSOR
tags of the metric.- See Also:
- Constant Field Values
-
LAST_FORWARDED_WM
public static final java.lang.String LAST_FORWARDED_WM
Tracks the last watermark emitted by a particularProcessor
of a particularVertex
. TheVertex
and theProcessor
can be identified based on theMetricTags.VERTEX
&MetricTags.PROCESSOR
tags of the metric.- See Also:
- Constant Field Values
-
LAST_FORWARDED_WM_LATENCY
public static final java.lang.String LAST_FORWARDED_WM_LATENCY
Tracks the difference between the last emitted watermark and the system time of a particularProcessor
of a particularVertex
. TheVertex
and theProcessor
can be identified based on theMetricTags.VERTEX
&MetricTags.PROCESSOR
tags of the metric.- See Also:
- Constant Field Values
-
SNAPSHOT_BYTES
public static final java.lang.String SNAPSHOT_BYTES
Tracks the total number of bytes written in the last snapshot by a particularVertex
. The name of the vertex can be found in theMetricTags.VERTEX
tag of the metric.- Since:
- Jet 4.0
- See Also:
- Constant Field Values
-
SNAPSHOT_KEYS
public static final java.lang.String SNAPSHOT_KEYS
Tracks the total number of keys written in the last snapshot by a particularVertex
. The name of the vertex can be found in theMetricTags.VERTEX
tag of the metric.- Since:
- Jet 4.0
- See Also:
- Constant Field Values
-
EXECUTION_START_TIME
public static final java.lang.String EXECUTION_START_TIME
Tracks the start time of a given execution of a specific job. The execution and the job can be identified based on theMetricTags.EXECUTION
&MetricTags.JOB
tags of the metric. It usesSystem.currentTimeMillis()
to get the time on the job start.- Since:
- Jet 4.0
- See Also:
- Constant Field Values
-
EXECUTION_COMPLETION_TIME
public static final java.lang.String EXECUTION_COMPLETION_TIME
Tracks the completion time of a given execution of a specific job. The execution and the job can be identified based on theMetricTags.EXECUTION
&MetricTags.JOB
tags of the metric. It usesSystem.currentTimeMillis()
to get the time on the job completion.- Since:
- Jet 4.0
- See Also:
- Constant Field Values
-
DISTRIBUTED_ITEMS_IN
public static final java.lang.String DISTRIBUTED_ITEMS_IN
Counts data items coming in over the network for DISTRIBUTED inputEdge
s of particularVertex
instances running on variousProcessor
s. These in turn can be identified based on theMetricTags.ORDINAL
,MetricTags.VERTEX
&MetricTags.PROCESSOR
tags of the metric.- See Also:
- Constant Field Values
-
DISTRIBUTED_BYTES_IN
public static final java.lang.String DISTRIBUTED_BYTES_IN
Tracks the data volume (bytes) coming in over the network for DISTRIBUTED inputEdge
s of particularVertex
instances running on variousProcessor
s. These in turn can be identified based on theMetricTags.ORDINAL
,MetricTags.VERTEX
&MetricTags.PROCESSOR
tags of the metric.- See Also:
- Constant Field Values
-
DISTRIBUTED_ITEMS_OUT
public static final java.lang.String DISTRIBUTED_ITEMS_OUT
Counts data items going out over the network for DISTRIBUTED outputEdge
s of particularVertex
instances running on variousProcessor
s. These in turn can be identified based on theMetricTags.ORDINAL
,MetricTags.VERTEX
&MetricTags.PROCESSOR
tags of the metric.- See Also:
- Constant Field Values
-
DISTRIBUTED_BYTES_OUT
public static final java.lang.String DISTRIBUTED_BYTES_OUT
Tracks the data volume (bytes) going out over the network for DISTRIBUTED outputEdge
s of particularVertex
instances running on variousProcessor
s. These in turn can be identified based on theMetricTags.ORDINAL
,MetricTags.VERTEX
&MetricTags.PROCESSOR
tags of the metric.- See Also:
- Constant Field Values
-
JOB_STATUS
public static final java.lang.String JOB_STATUS
Numerical ID of the job's status.- Since:
- 5.4
- See Also:
Job.getStatus()
, Constant Field Values
-
IS_USER_CANCELLED
public static final java.lang.String IS_USER_CANCELLED
Indicates whether the job was cancelled by the user.- Since:
- 5.4
- See Also:
Job.isUserCancelled()
, Constant Field Values
-
JOBS_SUBMITTED
public static final java.lang.String JOBS_SUBMITTED
Number of jobs submitted to the Jet cluster.This metric is zero on non-master members. When a master fails and a new master takes over, the count is reset.
- Since:
- Jet 4.0
- See Also:
- Constant Field Values
-
JOBS_COMPLETED_SUCCESSFULLY
public static final java.lang.String JOBS_COMPLETED_SUCCESSFULLY
Number of jobs successfully completed by the Jet cluster.This metric is zero on non-master members. When a master fails and a new master takes over, the count is reset.
- Since:
- Jet 4.0
- See Also:
- Constant Field Values
-
JOBS_COMPLETED_WITH_FAILURE
public static final java.lang.String JOBS_COMPLETED_WITH_FAILURE
Number of jobs that have failed on the Jet cluster.This metric is zero on non-master members. When a master fails and a new master takes over, the count is reset.
- Since:
- Jet 4.0
- See Also:
- Constant Field Values
-
JOB_EXECUTIONS_STARTED
public static final java.lang.String JOB_EXECUTIONS_STARTED
Number of job executions started on the Jet cluster. Each job can execute multiple times, for example when it's restarted or suspended and then resumed.This metric is zero on non-master members. When a master fails and a new master takes over, the count is reset.
- Since:
- Jet 4.0
- See Also:
- Constant Field Values
-
JOB_EXECUTIONS_COMPLETED
public static final java.lang.String JOB_EXECUTIONS_COMPLETED
Number of job executions finished on the Jet cluster. Each job can execute multiple times, for example when it's restarted or suspended and then resumed.This metric is zero on non-master members. When a master fails and a new master takes over, the count is reset.
- Since:
- Jet 4.0
- See Also:
- Constant Field Values
-
-