Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

exp panics when Healthcheck encountered #213

Open
kenjones-cisco opened this issue Aug 22, 2017 · 0 comments
Open

exp panics when Healthcheck encountered #213

kenjones-cisco opened this issue Aug 22, 2017 · 0 comments

Comments

@kenjones-cisco
Copy link

func (exp *exp) syncToExpvar() {

Seems that syncToExpvar is missing support for Healthcheck types. Either Healthcheck needs to be added or the default could be changed to a no-op instead of panic.

vincentbernat added a commit to vincentbernat/go-metrics that referenced this issue Jul 29, 2018
This will trigger the check immediately, then export its status as
".status" with value of 1 if the healthcheck is OK and 0 otherwise. If
the status is 0, the error is stored in ".error", otherwise an empty
string is used.

Fix rcrowley#213
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant