org.keycloak.quarkus.runtime.configuration.mappers.MetricsPropertyMappers Maven / Gradle / Ivy
package org.keycloak.quarkus.runtime.configuration.mappers;
import org.keycloak.config.MetricsOptions;
import static org.keycloak.quarkus.runtime.configuration.mappers.PropertyMapper.fromOption;
final class MetricsPropertyMappers {
private MetricsPropertyMappers(){}
public static PropertyMapper>[] getMetricsPropertyMappers() {
return new PropertyMapper[] {
fromOption(MetricsOptions.METRICS_ENABLED)
.to("quarkus.micrometer.enabled")
.paramLabel(Boolean.TRUE + "|" + Boolean.FALSE)
.build()
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy