Java (Java Agent, Installation, JVM, and Controller Installation)

cancel
Showing results for 
Search instead for 
Did you mean: 

Health Policy Java App Application Specification

New Member

Health Policy Java App Application Specification

Hi there, 

 

I want to be notified if my app availability is impacted. My pipeline pushes my app to cloud foundry and the app tier name is automatically tagged such as 

cloudfoundry-microservice-integration-10:0
cloudfoundry-microservice-integration-10:1

And subsequent pushes of the microservice will show up as 

cloudfoundry-microservice-integration-11:0
cloudfoundry-microservice-integration-11:1

I only want my health policy to apply to my latest nodes, in this case -11:0 and 1. The issues is that AppD keeps a history of my pushed apps, and unless I manually delete the old nodes (-10:0 and 1), the policy gets applied to those nodes as well and I will be incorrectly notified. 

 

Is there a way I could specify only the latest nodes pushed? Without having the policy be applied to older nodes? 

Health Policy Java App Application Specification