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

Total time metric is nil on failed catalog retrieval

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Duplicate
    • None
    • None
    • None
    • Coremunity
    • Needs Assessment
    • Not Needed
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support