Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-18715

add cpu usage metric of jobmanager/taskmanager

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: 1.11.1
    • Fix Version/s: 1.12.0, 1.11.3
    • Component/s: Runtime / Metrics
    • Labels:
      None

      Description

      flink process add cpu usage metric, user can determine that their job is io bound /cpu bound ,so that they can increase/decrese cpu core in the container (k8s,yarn). If it's nessary
      . you can assign it to me ,I come up with a idea calculating cpu usage ratio using ManagementFactory.getRuntimeMXBean().getUptime() and ManagementFactory.getOperatingSystemMXBean().getProcessCpuTime over a period of time . it can get a value in single cpu core environment. and user can use the value to calculate cpu usage ratio by dividing num of container's cpu core.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              1026688210 wgcn
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: