SystemMetrics
object SystemMetrics
Provides a one-time initialization method for registering Prometheus JVM hotspot metric exporters.
Calling initialize multiple times is safe; subsequent calls are no-ops.
Functions
Link copied to clipboard
fun initialize(enableStandardExports: Boolean = false, enableMemoryPoolsExports: Boolean = false, enableGarbageCollectorExports: Boolean = false, enableThreadExports: Boolean = false, enableClassLoadingExports: Boolean = false, enableVersionInfoExports: Boolean = false)
Registers the selected Prometheus JVM hotspot metric exporters.