I have default CompositeHealthContributor @Configuration public class…
- User
I have default CompositeHealthContributor @Configuration public class PgwHealthContributorConfig {
code@Bean public CompositeHealthContributor pgw(PgwConfigProperties pgwConfigProperties, MeterRegistry meterRegistry, PgwHealthRestClient pgwHealthRestClient) { Map<String, HealthContributor> contributors = new LinkedHashMap<>(); var configs = pgwConfigProperties.getConfigs(); for (int i = 0; i < configs.size(); i++) { String name = "pgw-" + i; contributors.put(name, new SinglePgwHealthIndicator(...)); } return CompositeHealthContributor.fromMap(contributors); }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.