Project

General

Profile

Actions

Json-report-format » History » Revision 1

Revision 1/11 | Next »
Romain Vrignaud, 10/18/2013 07:15 AM


Json-report-format

{
  "host"          => "fqdn.example.com",
  "reported_at"   => "2013-10-18 06:58:09 UTC",                        # Time.now.utc.to_s ruby style
  "status"        => { "applied"           => n,                       # Number of resource that changed with n integer
                       "restarted"         => n,                       # Number of services restarted with n integer
                       "failed"            => n,                       # Number of failed resource with n integer
                       "failed_restarts"   => n,                       # Number of failed service restart with n integer
                       "skipped"           => n,                       # Number of skipped resource with n integer
                       "pending"           => n                        # with n integer
                     },
  "metrics"       => { "resources"      => { 'total' => n}             # total number of resources
                       "time"           => { "resource_type1" => n,    # time spent on that type of resource
                                             "resource_type2" => n,    # time spent on that type of resource
                                             "total"          => n }   # total time spent for the run
                     },

Updated by Romain Vrignaud over 11 years ago · 11 revisions