You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah, I think no; that's not by design. I think outputs/prometheus.go L87 should return 1 when there are any failure outcomes vs the unconditional 0 it does now, or the -1 it does on system-error.
Unlike the other output modes (ex: documentation/json), the prometheus output does not report 503 at
/healthz
when a test fails.Is this by design? If so could something be added to the docs to say this is the exception.
Thanks in advance!
For example using this
goss.yaml
Run this command
goss -g goss.yaml serve -f prometheus --format-options verbose
Then curl localhost:8080/healthz and examine the status code. Other format options return 503, while prometheus option returns 200.
The text was updated successfully, but these errors were encountered: