Closed kalexmills closed 5 years ago
It seems to be allowed to include unspecified keys (according to the use of data in other example checks) but according to the spec, componentType SHOULD be included whenever componentId is included, so this appears to be a typo.
data
componentType
componentId
Relevant snippet from draft.md included below.
draft.md
"cassandra:connections": [ { "componentId": "dfd6cf2b-1b6e-4412-a0b8-f6f7797a60d2", "type": "datastore", "observedValue": 75, "status": "warn", "time": "2018-01-17T03:36:48Z", "output": "", "links": { "self": "http://api.example.com/dbnode/dfd6cf2b/health" } } ],
Good catch. Thank you. Fixed in 6f2c8d9
It seems to be allowed to include unspecified keys (according to the use of
data
in other example checks) but according to the spec,componentType
SHOULD be included whenevercomponentId
is included, so this appears to be a typo.Relevant snippet from
draft.md
included below.