MetricsConfig
data class MetricsConfig(val enabled: Boolean, val port: Int, val path: String, val standardExportsEnabled: Boolean, val memoryPoolsExportsEnabled: Boolean, val garbageCollectorExportsEnabled: Boolean, val threadExportsEnabled: Boolean, val classLoadingExportsEnabled: Boolean, val versionInfoExportsEnabled: Boolean, val host: String? = null, val bufferPoolExportsEnabled: Boolean = false, val compilationExportsEnabled: Boolean = false, val nativeMemoryExportsEnabled: Boolean = false)
Configuration data for the Prometheus metrics service.
Controls whether metrics collection is enabled and defines the port, bind address, and path for the Prometheus scrape endpoint, as well as which JVM system metric exporters are active.
Constructors
Link copied to clipboard
constructor(enabled: Boolean, port: Int, path: String, standardExportsEnabled: Boolean, memoryPoolsExportsEnabled: Boolean, garbageCollectorExportsEnabled: Boolean, threadExportsEnabled: Boolean, classLoadingExportsEnabled: Boolean, versionInfoExportsEnabled: Boolean, host: String? = null, bufferPoolExportsEnabled: Boolean = false, compilationExportsEnabled: Boolean = false, nativeMemoryExportsEnabled: Boolean = false)
Properties
Link copied to clipboard
Whether buffer pool exports are enabled.
Link copied to clipboard
Whether class loading exports are enabled.
Link copied to clipboard
Whether JIT compilation exports are enabled.
Link copied to clipboard
Whether garbage collector exports are enabled.
Link copied to clipboard
Whether memory pool exports are enabled.
Link copied to clipboard
Whether native memory exports are enabled. They are only present when the JVM runs with -XX:NativeMemoryTracking=summary (or detail).
Link copied to clipboard
Whether standard JVM exports are enabled.
Link copied to clipboard
Whether thread exports are enabled.
Link copied to clipboard
Whether version info exports are enabled.