io.quarkus.observability.runtime.DevResourcesConfigBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-observability-devservices Show documentation
Show all versions of quarkus-observability-devservices Show documentation
Serve and consume Observability Dev Services
package io.quarkus.observability.runtime;
import io.quarkus.observability.devresource.DevResourcesConfigSource;
import io.quarkus.runtime.configuration.ConfigBuilder;
import io.smallrye.config.SmallRyeConfigBuilder;
public class DevResourcesConfigBuilder implements ConfigBuilder {
@Override
public SmallRyeConfigBuilder configBuilder(SmallRyeConfigBuilder builder) {
return builder.withSources(new DevResourcesConfigSource());
}
@Override
public int priority() {
// greater than any default Microprofile ConfigSource
return 500;
}
}