A new kind of Health Check can be defined with the @HealthGroup
annotation.
One or more Health Check procedure(s) can be annotated with @HealthGroup
to apply a custom group name to the procedure.
All the Health Check procedures belonging to the same group define a new kind of Health Check.
The @HealthGroup
annotation must be applied on a HealthCheck
implementation to define a custom check procedure with the given name, otherwise, this annotation is ignored.
A HealthCheck
implementation can have multiple @HealthGroup
annotations to make it a member of multiple custom Health Check’s groups.
health/group/{name} |
||||
/health/group Since MP Health is primarily defined to work with Kubernetes, we have nice and clear readiness and liveness endpoint and operation team knows which one to use already. With this change, two more endpoints were introduced. I don't know for what purpose and it is confusing rather than helping. Can someone ellaborate the use case this new functionality is trying to cater for? I raised this issue on mp-health but want to bring to the group discussion so that more people might be able to voice their opinion. Thanks Emily |
--
You received this message because you are subscribed to the Google Groups "Eclipse MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/71fb848b-fe8e-4553-adea-6a546425707d%40googlegroups.com.
It would be useful in the wire format if we specified a way to execute only some health checks, rather than all discovered @Health health checks.I could see this being done from both client and server side. From client perspective, listing out a set of names to run, or a group name to run. On the server, I could see marker interfaces, annotations, or even a simple use of class name/@Inject @Named support.
--
You received this message because you are subscribed to the Google Groups "Eclipse MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/84d92e2d-f186-40f2-9386-9cc78794beef%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/3DD2F3C1-952D-4242-ADAB-A18F18D7AD91%40gmail.com.
Alasdair
To unsubscribe from this group and stop receiving emails from it, send an email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/84d92e2d-f186-40f2-9386-9cc78794beef%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Eclipse MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microp...@googlegroups.com.
Le 27 janv. 2020 à 17:35, 'Emily Jiang' via Eclipse MicroProfile <microp...@googlegroups.com> a écrit :
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/a90766e2-3df5-4d34-91a9-aaf25daba77c%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile+unsubscribe@googlegroups.com.