Issue #22590 has been updated by Jason Antman.

Status changed from Unreviewed to Needs More Information
Assignee set to R.I. Pienaar

R.I., what version of puppet is this affecting? Using a 3.3.0 agent and master, 
my reports (as stored on disk in 
/var/lib/puppet/reports/agentname/YYYYMMDDHHMM.yaml) show something like:

    File[/etc/puppet/routes.yaml]: !ruby/object:Puppet::Resource::Status
      resource: File[/etc/puppet/routes.yaml]
      file: 
/etc/puppet/environments/production/modules-community/puppetdb/manifests/master/routes.pp
      line: 34
      evaluation_time: 0.079762
      change_count: 0
      out_of_sync_count: 0
      tags: 
        - file
        - class
        - "puppetdb::master::routes"
        - puppetdb
        - master
        - routes
        - "puppetdb::master::config"
        - config
      time: 2013-10-02 05:36:16.579203 -04:00
      events: []
      out_of_sync: false
      changed: false
      resource_type: File
      title: /etc/puppet/routes.yaml
      skipped: false
      failed: false
      containment_path: 
        - Stage[main]
        - "Puppetdb::Master::Routes"
        - File[/etc/puppet/routes.yaml]

that report shows 1683 resources (including the auto-required ones) and 1683 
"evaluation_time" entries.

However, the report format documentation says this was present since format 3, 
introduced in Puppet 2.7.12. Perhaps you're asking for something other than 
this? Or running < 2.7.12? More information would be greatly appreciated. 
Thanks.

----------------------------------------
Bug #22590: record resource evaluation time metrics in the report
https://projects.puppetlabs.com/issues/22590#change-98256

* Author: R.I. Pienaar
* Status: Needs More Information
* Priority: Normal
* Assignee: R.I. Pienaar
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
When running with --evaltrace you get lines like:

<pre>
Info: /Stage[main]/Java::Jre/Package[sun-java6-jre]: Starting to evaluate the 
resource
Info: /Stage[main]/Java::Jre/Package[sun-java6-jre]: Evaluated in 4.130000 
seconds
</pre>

it would be great if this information were always stored in the reports so 
users can analyse their runs and find out why exactly they are slow down to the 
individual resource level.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to