Add container health metrics to docker input (#3666)

This commit is contained in:
Jacob McCann
2018-01-12 19:43:51 -06:00
committed by Daniel Nelson
parent 97f6c9d8e1
commit 7ab0d50116
3 changed files with 25 additions and 5 deletions

View File

@@ -477,4 +477,12 @@ var containerInspect = types.ContainerJSON{
"PATH=/bin:/sbin",
},
},
ContainerJSONBase: &types.ContainerJSONBase{
State: &types.ContainerState{
Health: &types.Health{
FailingStreak: 1,
Status: "Unhealthy",
},
},
},
}