Flink integration metrics

The official Datadog integration for monitoring Flink. It collects 87 metrics.

Official summary

Track metrics for your flink jobs.

Metric types

  • gauge (value at a point in time): 58
  • count (occurrences in the interval): 29

Metrics

Descriptions are the official definitions, unedited.

MetricTypeUnit
flink.jobmanager.Status.JVM.CPU.LoadThe recent CPU usage of the JVM in the jobmanagergaugepercent
flink.jobmanager.Status.JVM.CPU.TimeThe CPU time used by the JVM in the jobmanagergaugesecond
flink.jobmanager.Status.JVM.ClassLoader.ClassesLoadedThe total number of classes loaded since the start of the JVM in the jobmanagercount-
flink.jobmanager.Status.JVM.ClassLoader.ClassesUnloadedThe total number of classes unloaded since the start of the JVM in the jobmanagercount-
flink.jobmanager.Status.JVM.Memory.Direct.CountThe number of buffers in the direct buffer pool in the jobmanagercountbuffer
flink.jobmanager.Status.JVM.Memory.Direct.MemoryUsedThe amount of memory used by the JVM for the direct buffer pool in the jobmanagergaugebyte
flink.jobmanager.Status.JVM.Memory.Direct.TotalCapacityThe total capacity of all buffers in the direct buffer pool in the jobmanagercountbyte
flink.jobmanager.Status.JVM.Memory.Heap.CommittedThe amount of heap memory guaranteed to be available to the JVM in the jobmanagergaugebyte
flink.jobmanager.Status.JVM.Memory.Heap.MaxThe maximum amount of heap memory that can be used for memory management in the jobmanagergaugebyte
flink.jobmanager.Status.JVM.Memory.Heap.UsedThe amount of heap memory currently used in the jobmanagergaugebyte
flink.jobmanager.Status.JVM.Memory.Mapped.CountThe number of buffers in the mapped buffer pool in the jobmanagergaugebuffer
flink.jobmanager.Status.JVM.Memory.Mapped.MemoryUsedThe amount of memory used by the JVM for the mapped buffer pool in the jobmanagergaugebyte
flink.jobmanager.Status.JVM.Memory.Mapped.TotalCapacityThe total capacity of all buffers in the mapped buffer pool in the jobmanagercountbyte
flink.jobmanager.Status.JVM.Memory.NonHeap.CommittedThe amount of non-heap memory guaranteed to be available to the JVM in the jobmanagergaugebyte
flink.jobmanager.Status.JVM.Memory.NonHeap.MaxThe maximum amount of non-heap memory that can be used for memory management in the jobmanagergaugebyte
flink.jobmanager.Status.JVM.Memory.NonHeap.UsedThe amount of non-heap memory currently used in the jobmanagergaugebyte
flink.jobmanager.Status.JVM.Threads.CountThe total number of live threads in the jobmanagercountthread
flink.jobmanager.job.downtimeFor jobs currently in a failing/recovering situation- the time elapsed during this outage. Returns 0 for running jobs and -1 for completed jobsgaugemillisecond
flink.jobmanager.job.lastCheckpointAlignmentBufferedThe number of buffered bytes during alignment over all subtasks for the last checkpointgaugebyte
flink.jobmanager.job.lastCheckpointDurationThe time it took to complete the last checkpointgaugemillisecond
flink.jobmanager.job.lastCheckpointExternalPathThe path where the last external checkpoint was storedgauge-
flink.jobmanager.job.lastCheckpointRestoreTimestampTimestamp when the last checkpoint was restored at the coordinatorgaugemillisecond
flink.jobmanager.job.lastCheckpointSizeThe total size of the last checkpointgaugebyte
flink.jobmanager.job.numRestartsThe total number of restarts since this job was submitted, including full restarts and fine-grained restartsgauge-
flink.jobmanager.job.numberOfCompletedCheckpointsThe number of successfully completed checkpointscount-
flink.jobmanager.job.numberOfFailedCheckpointsThe number of failed checkpointscount-
flink.jobmanager.job.numberOfInProgressCheckpointsThe number of in progress checkpointsgauge-
flink.jobmanager.job.restartingTimeThe time it took to restart the job or how long the current restart has been in progressgaugemillisecond
flink.jobmanager.job.totalNumberOfCheckpointsThe number of total checkpoints (in progress completed and failed)count-
flink.jobmanager.job.uptimeThe time that the job has been running without interruption. Returns -1 for completed jobsgaugemillisecond
flink.jobmanager.numRegisteredTaskManagersThe number of registered taskmanagersgauge-
flink.jobmanager.numRunningJobsThe number of running jobsgaugejob
flink.jobmanager.taskSlotsTotalThe total number of task slotsgauge-
flink.operator.commitsFailedThe total number of offset commit failures to Kafka if offset committing is turned on and checkpointing is enabled. Note that committing offsets back to Kafka is only a means to expose consumer progress so a commit failure does not affect the integrity of Flink's checkpointed partition offsetscountcommit
flink.operator.commitsSucceededThe total number of successful offset commits to Kafka if offset committing is turned on and checkpointing is enabledcountcommit
flink.operator.currentInput1WatermarkThe last watermark this operator has received in its first input. Only for operators with 2 inputsgaugemillisecond
flink.operator.currentInput2WatermarkThe last watermark this operator has received in its second input. Only for operators with 2 inputsgaugemillisecond
flink.operator.currentInputWatermarkThe last watermark this operator has received. For tasks with 2 inputs this is the minimum of the last received watermarksgaugemillisecond
flink.operator.currentOutputWatermarkThe last watermark this operator has emittedgaugemillisecond
flink.operator.numLateRecordsDroppedThe number of records this operator has dropped due to arriving latecountrecord
flink.operator.numRecordsInThe total number of records this operator has receivedcountrecord
flink.operator.numRecordsInPerSecondThe number of records this operator receives per secondgaugerecord/second
flink.operator.numRecordsOutThe total number of records this operator has emittedcountrecord
flink.operator.numRecordsOutPerSecThe total number of records this operator has emitted per secondgaugerecord/second
flink.operator.numSplitsProcessedThe total number of InputSplits this data source has processed (if the operator is a data source)count-
flink.task.Shuffle.Netty.Input.Buffers.inPoolUsageAn estimate of the input buffers usagegauge-
flink.task.Shuffle.Netty.Input.Buffers.inputQueueLengthThe number of queued input buffersgaugebuffer
flink.task.Shuffle.Netty.Input.numBuffersInLocalThe total number of network buffers this task has read from a local sourcecountbuffer
flink.task.Shuffle.Netty.Input.numBuffersInLocalPerSecondThe number of network buffers this task reads from a local source per secondgauge/second
flink.task.Shuffle.Netty.Input.numBuffersInRemoteThe total number of network buffers this task has read from a remote sourcecountbuffer
flink.task.Shuffle.Netty.Input.numBuffersInRemotePerSecondThe number of network buffers this task reads from a remote source per secondgaugebuffer/second
flink.task.Shuffle.Netty.Input.numBytesInLocalThe total number of bytes this task has read from a local sourcecountbyte
flink.task.Shuffle.Netty.Input.numBytesInLocalPerSecondThe number of bytes this task reads from a local source per secondgaugebyte/second
flink.task.Shuffle.Netty.Input.numBytesInRemoteThe total number of bytes this task has read from a remote sourcecountbyte
flink.task.Shuffle.Netty.Input.numBytesInRemotePerSecondThe number of bytes this task reads from a remote source per secondgaugebyte
flink.task.Shuffle.Netty.Output.Buffers.outPoolUsageAn estimate of the output buffers usagegauge-
flink.task.Shuffle.Netty.Output.Buffers.outputQueueLengthThe number of queued output buffersgaugebuffer
flink.task.checkpointAlignmentTimeThe time in nanoseconds that the last barrier alignment took to complete or how long the current alignment has taken so fargaugenanosecond
flink.task.currentInputWatermarkThe last watermark this task has received. For tasks with 2 inputs this is the minimum of the last received watermarksgaugemillisecond
flink.task.numBuffersOutThe total number of network buffers this task has emittedcountbuffer
flink.task.numBuffersOutPerSecondThe number of network buffers this task emits per secondgaugebuffer/second
flink.task.numBytesOutThe total number of bytes this task has emittedcountbyte
flink.task.numBytesOutPerSecondThe number of bytes this task emits per secondgaugebyte/second
flink.task.numLateRecordsDroppedThe number of records this task has dropped due to arriving latecountrecord
flink.task.numRecordsInThe total number of records this task has receivedcountrecord
flink.task.numRecordsInPerSecondThe number of records this task receives per secondgaugerecord/second
flink.task.numRecordsOutThe total number of records this task has emittedcountrecord
flink.task.numRecordsOutPerSecThe total number of records this task has emitted per secondgaugerecord/second
flink.taskmanager.Status.JVM.CPU.LoadThe recent CPU usage of the JVM in the taskmanagergaugepercent
flink.taskmanager.Status.JVM.CPU.TimeThe CPU time used by the JVM in the taskmanagergaugesecond
flink.taskmanager.Status.JVM.ClassLoader.ClassesLoadedThe total number of classes loaded since the start of the JVM in the taskmanagercount-
flink.taskmanager.Status.JVM.ClassLoader.ClassesUnloadedThe total number of classes unloaded since the start of the JVM in the taskmanagercount-
flink.taskmanager.Status.JVM.Memory.Direct.CountThe number of buffers in the direct buffer pool in the taskmanagergaugebuffer
flink.taskmanager.Status.JVM.Memory.Direct.MemoryUsedThe amount of memory used by the JVM for the direct buffer pool in the taskmanagergaugebyte
flink.taskmanager.Status.JVM.Memory.Direct.TotalCapacityThe total capacity of all buffers in the direct buffer pool in the taskmanagercountbyte
flink.taskmanager.Status.JVM.Memory.Heap.CommittedThe amount of heap memory guaranteed to be available to the JVM in the taskmanagergaugebyte
flink.taskmanager.Status.JVM.Memory.Heap.MaxThe maximum amount of heap memory that can be used for memory management in the taskmanagergaugebyte
flink.taskmanager.Status.JVM.Memory.Heap.UsedThe amount of heap memory currently used in the taskmanagergaugebyte
flink.taskmanager.Status.JVM.Memory.Mapped.CountThe number of buffers in the mapped buffer pool in the taskmanagergauge-
flink.taskmanager.Status.JVM.Memory.Mapped.MemoryUsedThe amount of memory used by the JVM for the mapped buffer pool in the taskmanagergaugebyte
flink.taskmanager.Status.JVM.Memory.Mapped.TotalCapacityThe total capacity of all buffers in the mapped buffer pool in the taskmanagercountbyte
flink.taskmanager.Status.JVM.Memory.NonHeap.CommittedThe amount of non-heap memory guaranteed to be available to the JVM in the taskmanagergaugebyte
flink.taskmanager.Status.JVM.Memory.NonHeap.MaxThe maximum amount of non-heap memory that can be used for memory management in the taskmanagergaugebyte
flink.taskmanager.Status.JVM.Memory.NonHeap.UsedThe amount of non-heap memory currently used in the taskmanagergaugebyte
flink.taskmanager.Status.JVM.Threads.CountThe total number of live threads in the taskmanagercountthread
flink.taskmanager.Status.Shuffle.Netty.AvailableMemorySegmentsThe number of unused memory segments in the taskmanagergauge-
flink.taskmanager.Status.Shuffle.Netty.TotalMemorySegmentsThe number of allocated memory segments in the taskmanagergauge-

Official documentation

Official documentation for the Flink integration

Metric names and descriptions are the official Datadog integration definitions (Copyright Datadog, Inc., BSD-3-Clause), reproduced unedited. The full license terms are on the About page.