63 static_cast<Derived*
>(
this)->interprocess().template subscribe<groups::health_request>(
66 auto health_response = std::make_shared<protobuf::ProcessHealth>();
68 health_response->set_name(
static_cast<Derived*
>(
this)->app_name());
69 health_response->set_pid(getpid());
71 static_cast<Derived*
>(
this)->thread_health(*health_response->mutable_main());
72 static_cast<Derived*
>(
this)
74 .template publish<groups::health_response>(health_response);