io.quarkus.micrometer.runtime.config.runtime.PrometheusRuntimeConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-micrometer Show documentation
Show all versions of quarkus-micrometer Show documentation
Instrument the runtime and your application with dimensional metrics using Micrometer.
package io.quarkus.micrometer.runtime.config.runtime;
import java.util.Map;
import io.quarkus.runtime.annotations.ConfigDocMapKey;
import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;
/**
* Runtime configuration for Micrometer meter registries.
*/
@SuppressWarnings("unused")
@ConfigRoot(name = "micrometer.export.prometheus", phase = ConfigPhase.RUN_TIME)
public class PrometheusRuntimeConfig {
// @formatter:off
/**
* Prometheus registry configuration properties.
*
* A property source for configuration of the Prometheus MeterRegistry,
* see https://micrometer.io/docs/registry/prometheus.
*
* @asciidoclet
*/
// @formatter:on
@ConfigItem(name = ConfigItem.PARENT)
@ConfigDocMapKey("configuration-property-name")
public Map prometheus;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy