Class 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
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SNAPSHOT_BYTES

        public static final java.lang.String SNAPSHOT_BYTES
        Tracks the total number of bytes written in the last snapshot by a particular Vertex. The name of the vertex can be found in the MetricTags.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 particular Vertex. The name of the vertex can be found in the MetricTags.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 the MetricTags.EXECUTION & MetricTags.JOB tags of the metric. It uses System.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 the MetricTags.EXECUTION & MetricTags.JOB tags of the metric. It uses System.currentTimeMillis() to get the time on the job completion.
        Since:
        Jet 4.0
        See Also:
        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