public override Task ProcessDeployedApplicationHealthAsync(DeployedApplicationEntity deployedApplication) { ServiceEventSource.Current.Message($"deployed application: {deployedApplication}, aggregatedHealth: {deployedApplication.Health.AggregatedHealthState}"); if (deployedApplication.IsHealthEventReportingEnabled( deployedApplication.ApplicationName, deployedApplication.Health.AggregatedHealthState)) { deployedApplication.Health.HealthEvents .ForEachHealthEvent(healthEvent => { ServiceEventSource.Current.Message($"deployed application: {deployedApplication}, health: {healthEvent}"); }); } return(this.completedTask); }
public abstract Task ProcessDeployedApplicationHealthAsync(DeployedApplicationEntity deployedApplication);