Json-report-format » History » Version 1
Romain Vrignaud, 10/18/2013 07:15 AM
1 | 1 | Romain Vrignaud | h1. Json-report-format |
---|---|---|---|
2 | |||
3 | <pre> |
||
4 | { |
||
5 | "host" => "fqdn.example.com", |
||
6 | "reported_at" => "2013-10-18 06:58:09 UTC", # Time.now.utc.to_s ruby style |
||
7 | "status" => { "applied" => n, # Number of resource that changed with n integer |
||
8 | "restarted" => n, # Number of services restarted with n integer |
||
9 | "failed" => n, # Number of failed resource with n integer |
||
10 | "failed_restarts" => n, # Number of failed service restart with n integer |
||
11 | "skipped" => n, # Number of skipped resource with n integer |
||
12 | "pending" => n # with n integer |
||
13 | }, |
||
14 | "metrics" => { "resources" => { 'total' => n} # total number of resources |
||
15 | "time" => { "resource_type1" => n, # time spent on that type of resource |
||
16 | "resource_type2" => n, # time spent on that type of resource |
||
17 | "total" => n } # total time spent for the run |
||
18 | }, |
||
19 | |||
20 | |||
21 | </pre> |