Optional
affectedA JSON array containing URI Templates as defined by [RFC6570]. This field SHOULD be omitted if the "status" field is present and has value equal to "pass". A typical API has many URI endpoints. Most of the time we are interested in the overall health of the API, without diving into details. That said, sometimes operational and resilience middleware needs to know more details about the health of the API (which is why "checks" property provides details). In such cases, we often need to indicate which particular endpoints are affected by a particular check's troubles vs. other endpoints that may be fine.
Unique identifier of an instance of a specific sub-component/dependency of a service. Multiple objects with the same componentID MAY appear in the details, if they are from different nodes.
Optional
componentSHOULD be present if componentName is present. Type of the component. Could be one of:
- A common and standard term from a well-known source such as schema.org, IANA or
microformats.
- A URI that indicates extra semantics and processing rules that MAY be provided by a
resource at the other end of the URI. URIs do not have to be dereferenceable, however.
They are just a namespace, and the meaning of a namespace CAN be provided by any
convenient means (e.g. publishing an RFC, Swagger document or a nicely printed book).
Optional
linksAn array of objects containing link relations and URIs [RFC3986] for external links that MAY contain more information about the health of the endpoint. Per web-linking standards [RFC5988] a link relationship SHOULD either be a common/registered one or be indicated as a URI, to avoid name clashes. If a “self” link is provided, it MAY be used by clients to check health via HTTP response code, as mentioned above.
Optional
observedSHOULD be present if metricValue is present. Could be one of:
Optional
observedCould be any valid JSON value, such as: string, number, object, array or literal
Optional
outputRaw error output, in case of “fail” or “warn” states. This field SHOULD be omitted for “pass” state.
Optional
timeThe date-time, in ISO8601 format, at which the reading of the metricValue was recorded. This assumes that the value can be cached and the reading typically doesn’t happen in real time, for performance and scalability purposes.
Any other desired property