File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
kyuubi-metrics/src/main/scala/org/apache/kyuubi/metrics Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ object MetricsConstants {
26
26
final val BUFFER_POOL : String = KYUUBI + " buffer_pool"
27
27
final val THREAD_STATE : String = KYUUBI + " thread_state"
28
28
final val CLASS_LOADING : String = KYUUBI + " class_loading"
29
+ final val JVM : String = KYUUBI + " jvm"
29
30
30
31
final val EXEC_POOL_ALIVE : String = KYUUBI + " exec.pool.threads.alive"
31
32
final val EXEC_POOL_ACTIVE : String = KYUUBI + " exec.pool.threads.active"
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ class MetricsSystem extends CompositeService("MetricsSystem") {
67
67
}
68
68
69
69
override def initialize (conf : KyuubiConf ): Unit = synchronized {
70
+ registry.registerAll(MetricsConstants .JVM , new JvmAttributeGaugeSet )
70
71
registry.registerAll(MetricsConstants .GC_METRIC , new GarbageCollectorMetricSet )
71
72
registry.registerAll(MetricsConstants .MEMORY_USAGE , new MemoryUsageGaugeSet )
72
73
registry.registerAll(
You can’t perform that action at this time.
0 commit comments