Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Unhealthy Checks have Optional when reporting the threshold #20

Open
dexhorthy opened this issue Nov 12, 2016 · 0 comments
Open

Unhealthy Checks have Optional when reporting the threshold #20

dexhorthy opened this issue Nov 12, 2016 · 0 comments

Comments

@dexhorthy
Copy link

Error message used to be pretty easy to parse programmatically:

value=1.0&ceiling=0.2

It now displays the ceiling wrapped in an Optional:

value=1.0&ceiling=Optional[0.2]

This is probably pretty minor, as anyone who's parsing the result--e.g. to implement their own warn vs. crit thresholds--is probably looking at the value more often than the ceiling.

dexhorthy added a commit to dexhorthy/instrumentor that referenced this issue Nov 15, 2016
dexhorthy added a commit to dexhorthy/instrumentor that referenced this issue Nov 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant