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)

Configuration data for the Prometheus metrics service.

Controls whether metrics collection is enabled and defines the port 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)

Properties

Link copied to clipboard

Whether class loading exports are enabled.

Link copied to clipboard

Whether the metrics service is 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

The URL path for the Prometheus metrics endpoint.

Link copied to clipboard
val port: Int

The HTTP port on which the Prometheus metrics endpoint is served.

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.