Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54645

Send queue data in JSON Payload

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • logstash-plugin
    • None

      The TimeInQueueAction action provides a few properties:

      blockedDurationMillis 0
      blockedTimeMillis 0
      buildableDurationMillis 0
      buildableTimeMillis 500
      buildingDurationMillis  1080061
      executingTimeMillis 3920658
      executorUtilization 3.63
      queuingDurationMillis 3
      queuingTimeMillis 521
      subTaskCount  5
      totalDurationMillis 1080064
      waitingDurationMillis 0
      waitingTimeMillis 0
      

      It would be nice if we could send some of these properties. The easy way could be do do something akin to:

      {
        "data":{
          ...
          "queue" : {
            "blockedDurationMillis": 0,
            "blockedTimeMillis": 0,
            "buildableDurationMillis": 0,
            "buildableTimeMillis": 500,
            "buildingDurationMillis": 1080061,
            "executingTimeMillis": 3920658,
            "executorUtilization": 3.63,
            "queuingDurationMillis": 3,
            "queuingTimeMillis": 521,
            "subTaskCount": 5,
            "totalDurationMillis": 1080064,
            "waitingDurationMillis": 0,
            "waitingTimeMillis": 0
          }
        }
      }
      

            jbochenski Jakub Bochenski
            mdelaney Mike Delaney
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: