inadarei / rfc-healthcheck

Health Check Response RFC Draft for HTTP APIs
https://inadarei.github.io/rfc-healthcheck/
MIT License
117 stars 13 forks source link

Add Details field thresholdValue. #43

Closed christianhujer closed 4 years ago

christianhujer commented 5 years ago

Adds a detaisl field named "thresholdValue". Fixes #39

inadarei commented 4 years ago

The notion of threshold is interesting but requires more conversation. If we introduce it then is way, then how do you indicate "direction"? I.e. whether problem occurs if we go above or below.

It may be better to introduce an acceptableRange instead, avoiding the problem of directionality and providing more flexibility.