Class MetricTags


  • public final class MetricTags
    extends java.lang.Object
    Metric descriptors are formed from a comma separated list of tag_name=tag_value pairs. The constants defined here are the possible tag names that are used in Jet. See individual descriptions for the meaning of information carried by each tag.
    Since:
    Jet 3.2
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ADDRESS
      Network address of the cluster member sourcing the metric.
      static java.lang.String COOPERATIVE_WORKER
      Index of the cooperative worker in a fixed worker pool sourcing the metric.
      static java.lang.String DESTINATION_ADDRESS
      Destination member address for items sent to a distributed edge.
      static java.lang.String EXECUTION
      Unique ID of a particular execution of a job (sourcing the metric), example value would be a numerical (long) ID encoded in a human readable form, like "2f7f-d88a-4669-6195", see Util.idToString(long) for details.
      static java.lang.String JOB
      Unique ID of the job (sourcing the metric), example value would be a numerical (long) ID encoded in a human readable form, like "2f7f-d88a-4669-6195", see Util.idToString(long))} for details.
      static java.lang.String JOB_NAME
      Job name, or job ID if no name is specified.
      static java.lang.String MEMBER
      Unique ID of the cluster member sourcing the metric.
      static java.lang.String MODULE
      Source system or module, value is always "jet".
      static java.lang.String ORDINAL
      Index of the vertex input or output edges sourcing the metric.
      static java.lang.String PROCESSOR
      Global index of the Processor sourcing the metric.
      static java.lang.String PROCESSOR_TYPE
      Class name without package name of the Processor sourcing the metric (only for processor-specific metrics).
      static java.lang.String SINK
      Boolean flag which is true if the Processor sourcing the metric is a DAG sink.
      static java.lang.String SOURCE
      Boolean flag which is true if the Processor sourcing the metric is a DAG source.
      static java.lang.String SOURCE_ADDRESS
      Source member address for items received from a distributed edge.
      static java.lang.String UNIT
      Unit of metric value, for details see ProbeUnit.
      static java.lang.String USER
      Boolean flag which is true if the metric is user-defined (as opposed to built-in).
      static java.lang.String VERTEX
      DAG vertex name the of the metric.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • MODULE

        public static final java.lang.String MODULE
        Source system or module, value is always "jet".
        See Also:
        Constant Field Values
      • MEMBER

        public static final java.lang.String MEMBER
        Unique ID of the cluster member sourcing the metric.
        See Also:
        Constant Field Values
      • ADDRESS

        public static final java.lang.String ADDRESS
        Network address of the cluster member sourcing the metric.
        See Also:
        Constant Field Values
      • JOB

        public static final java.lang.String JOB
        Unique ID of the job (sourcing the metric), example value would be a numerical (long) ID encoded in a human readable form, like "2f7f-d88a-4669-6195", see Util.idToString(long))} for details.
        See Also:
        Constant Field Values
      • JOB_NAME

        public static final java.lang.String JOB_NAME
        Job name, or job ID if no name is specified.
        Since:
        5.3
        See Also:
        Constant Field Values
      • EXECUTION

        public static final java.lang.String EXECUTION
        Unique ID of a particular execution of a job (sourcing the metric), example value would be a numerical (long) ID encoded in a human readable form, like "2f7f-d88a-4669-6195", see Util.idToString(long) for details.
        See Also:
        Constant Field Values
      • VERTEX

        public static final java.lang.String VERTEX
        DAG vertex name the of the metric. Example value would be "mapJournalSource(myMap)".
        See Also:
        Constant Field Values
      • PROCESSOR_TYPE

        public static final java.lang.String PROCESSOR_TYPE
        Class name without package name of the Processor sourcing the metric (only for processor-specific metrics).
        See Also:
        Constant Field Values
      • SOURCE

        public static final java.lang.String SOURCE
        Boolean flag which is true if the Processor sourcing the metric is a DAG source. Value is true or false.
        See Also:
        Constant Field Values
      • SINK

        public static final java.lang.String SINK
        Boolean flag which is true if the Processor sourcing the metric is a DAG sink. Value is true or false.
        See Also:
        Constant Field Values
      • COOPERATIVE_WORKER

        public static final java.lang.String COOPERATIVE_WORKER
        Index of the cooperative worker in a fixed worker pool sourcing the metric.
        See Also:
        Constant Field Values
      • ORDINAL

        public static final java.lang.String ORDINAL
        Index of the vertex input or output edges sourcing the metric.
        See Also:
        Constant Field Values
      • UNIT

        public static final java.lang.String UNIT
        Unit of metric value, for details see ProbeUnit.
        See Also:
        Constant Field Values
      • DESTINATION_ADDRESS

        public static final java.lang.String DESTINATION_ADDRESS
        Destination member address for items sent to a distributed edge.
        See Also:
        Constant Field Values
      • SOURCE_ADDRESS

        public static final java.lang.String SOURCE_ADDRESS
        Source member address for items received from a distributed edge.
        See Also:
        Constant Field Values
      • USER

        public static final java.lang.String USER
        Boolean flag which is true if the metric is user-defined (as opposed to built-in).
        Since:
        Jet 4.0
        See Also:
        Constant Field Values