Issue #14571 has been updated by Jeff Weiss.
So, I didn't realize `--timing` was there. That's great. My ideal vision is to be able to have a way to dump this information to be able to be consumed by something else that can then make a value judgement. My initial thought was to be able to have a way to output these to graphite or jenkins. Maybe it's just a matter of extending `Facter.show_time` to have different output vectors. On the other hand, I would also like to have something more refined than what we have now because we only have a course-grained instrumentation (I'm not disrespecting what we have--it's a huge step!). For instance, if I want timing of the `fqdn` fact, `--timing` will give me start-to-end time of that fact, but it's a bit difficult to tell initially that `fqdn` is slow because of the startup work to figure out which resolution to run for dependent facts of `hostname` and `domain`. When you run only a single fact it's much easier to see this than when you just run `facter --timing`. <code> <pre> MacBook-Pro:facter jeff$ bin/facter --timing fqdn kernel: 40.10ms kernelrelease: 25.66ms hostname: 24.44ms domain: 23.83ms fqdn: 118.04ms MacBook-Pro.local </pre> </code> ---------------------------------------- Feature #14571: Add instrumentation to facts https://projects.puppetlabs.com/issues/14571#change-63234 Author: Jeff Weiss Status: Accepted Priority: Normal Assignee: Jeff Weiss Category: testing Target version: 2.X Keywords: Branch: Affected Facter version: As a part of being able to characterize performance of Facter and specific facts, I would love to have instrumentation builtin to Facter (maybe enabled via command option or config file?) that would allow for benchmarking of fact resolution. This can also help us as we persist a cache of resolved facts. -- 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
