Commit b9488c0
committed
Rename "GC Pauses" to "GC Time" in Pulsar JVM dashboards¬
- source metric is not about GC pauses.¬
- the source metric is "jvm_gc_collection_seconds_sum" which is not the same as "GC pause"¬
- The metric is defined in Prometheus Java client¬
- "Time spent in a given JVM garbage collector in seconds."¬
- source code is https://github.com/prometheus/client_java/blob/e68daf23336eb5de7856df406eb1d497f51ad3be/simpleclient_hotspot/src/main/java/io/prometheus/client/hotspot/GarbageCollectorExports.java#L53¬
- calls GarbageCollectorMXBean.getCollectionTime()¬
- Javadoc https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/GarbageCollectorMXBean.html#getCollectionTime()¬
"Returns the approximate accumulated collection elapsed time in milliseconds."¬
- Stackoverflow Q&A: https://stackoverflow.com/a/44686539¬1 parent 1c6c558 commit b9488c0
File tree
3 files changed
+3
-3
lines changed- dashboards.kubernetes
- dashboards.template
- dashboards
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
| 431 | + | |
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
| 440 | + | |
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
| 431 | + | |
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| |||
0 commit comments