Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-8661

Total time metric is nil on failed catalog retrieval

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:
      PUP Bug Template
    • Team:
      Coremunity
    • Method Found:
      Needs Assessment
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      Description

      Puppet sticks a nil total time in the metrics if it failed to retrieve a catalog from the master. We should make sure we stick a real time there.

      "time"=>
       {"name"=>"time",
        "label"=>"Time",
        "values"=>
         [["node_retrieval", "Node retrieval", 0.07789189496543258],
          ["plugin_sync", "Plugin sync", 0.06572247401345521],
          ["fact_generation", "Fact generation", 1.5629146320279688],
          ["total", "Total", nil]]},
      

      The nil time was causing issues with puppetdb.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jacob.helwig Jacob Helwig
                Reporter:
                jacob.helwig Jacob Helwig
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support