Interface VirtualThreadsConfigGroup

All Superinterfaces:
MicrometerConfig.CapabilityEnabled

public interface VirtualThreadsConfigGroup extends MicrometerConfig.CapabilityEnabled
Build / static runtime config for the virtual thread metric collection.
  • Method Summary

    Modifier and Type
    Method
    Description
    Virtual Threads metrics support.
    The tags to be added to the metrics.
  • Method Details

    • enabled

      Optional<Boolean> enabled()
      Virtual Threads metrics support.

      Support for virtual threads metrics will be enabled if Micrometer support is enabled, this value is set to true (default), the JVM supports virtual threads (Java 21+) and the quarkus.micrometer.binder-enabled-default property is true.

      Specified by:
      enabled in interface MicrometerConfig.CapabilityEnabled
      Returns:
      Optional<Boolean>
    • tags

      Optional<List<String>> tags()
      The tags to be added to the metrics. Empty by default. When set, tags are passed as: key1=value1,key2=value2.