Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-772

expose count of running tasks

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.17.0
    • Component/s: None
    • Labels:
      None

      Description

      The stats endpoint doesn't show the current number of running tasks:

      $ curl -s http://localhost:5051/slave(1)/stats.json | python2.7 -m json.tool
      {
      "failed_tasks": 0,
      "finished_tasks": 0,
      "invalid_status_updates": 0,
      "killed_tasks": 0,
      "lost_tasks": 0,
      "recovery_errors": 0,
      "registered": "1",
      "staged_tasks": 2,
      "started_tasks": 0,
      "total_frameworks": 1,
      "uptime": 1168.518182912,
      "valid_status_updates": 0
      }

      Can this be added please?

        Attachments

          Activity

            People

            • Assignee:
              vinodkone Vinod Kone
              Reporter:
              drobinson David Robinson
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: