Repository navigation
Expand file tree
/
Copy pathview.ini
More file actions
663 lines (579 loc) · 26.7 KB
/
Copy pathview.ini
File metadata and controls
663 lines (579 loc) · 26.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
;
; Copyright (c) 2023, 2025, Oracle and/or its affiliates. All rights reserved.
; DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
;
; This code is free software; you can redistribute it and/or modify it
; under the terms of the GNU General Public License version 2 only, as
; published by the Free Software Foundation. Oracle designates this
; particular file as subject to the "Classpath" exception as provided
; by Oracle in the LICENSE file that accompanied this code.
;
; This code is distributed in the hope that it will be useful, but WITHOUT
; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
; version 2 for more details (a copy is included in the LICENSE file that
; accompanied this code).
;
; You should have received a copy of the GNU General Public License version
; 2 along with this work; if not, write to the Free Software Foundation,
; Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
;
; Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
; or visit www.oracle.com if you need additional information or have any
; questions.
;
[environment.active-recordings]
label = "Active Recordings"
table = "COLUMN 'Start', 'Duration', 'Name',
'Destination', 'Max Age', 'Max Size'
FORMAT none, none, none,
cell-height:5, none, none
SELECT LAST(recordingStart), LAST(recordingDuration), LAST(name),
LAST(destination), LAST(maxAge), LAST(maxSize)
FROM ActiveRecording
GROUP BY id"
[environment.active-settings]
label = "Active Settings"
table = "COLUMN 'Event Type', 'Enabled', 'Threshold',
'Stack Trace','Period','Cutoff', 'Throttle'
FORMAT none, missing:whitespace, missing:whitespace, missing:whitespace,
missing:whitespace, missing:whitespace, missing:whitespace
SELECT E.id, LAST(E.value), LAST(T.value),
LAST(S.value), LAST(P.value),
LAST(C.value), LAST(U.value)
FROM
ActiveSetting AS E,
ActiveSetting AS T,
ActiveSetting AS S,
ActiveSetting AS P,
ActiveSetting AS C,
ActiveSetting AS U
WHERE
E.name = 'enabled' AND
T.name = 'threshold' AND
S.name = 'stackTrace' AND
P.name = 'period' AND
C.name = 'cutoff' AND
U.name = 'throttle'
GROUP BY
id
ORDER BY
E.id"
[application.allocation-by-class]
label = "Allocation by Class"
table = "COLUMN 'Object Type', 'Allocation Pressure'
FORMAT none, normalized
SELECT objectClass AS O, SUM(weight) AS W
FROM ObjectAllocationSample GROUP BY O ORDER BY W DESC LIMIT 25"
[application.allocation-by-thread]
label = "Allocation by Thread"
table = "COLUMN 'Thread', 'Allocation Pressure'
FORMAT none, normalized
SELECT eventThread AS T, SUM(weight) AS W
FROM ObjectAllocationSample GROUP BY T ORDER BY W DESC LIMIT 25"
[application.allocation-by-site]
label = "Allocation by Site"
table = "COLUMN 'Method', 'Allocation Pressure'
FORMAT none, normalized
SELECT stackTrace.topFrame AS S, SUM(weight) AS W
FROM ObjectAllocationSample
GROUP BY S
ORDER BY W DESC LIMIT 25"
[jvm.blocked-by-system-gc]
label = "Blocked by System.gc()"
table = "FORMAT none, none, cell-height:10
SELECT startTime, duration, stackTrace
FROM SystemGC
WHERE invokedConcurrent = 'false'
ORDER BY duration DESC
LIMIT 25"
[application.class-loaders]
label = "Class Loaders"
table = "FORMAT missing:null-bootstrap, none, none
SELECT classLoader, LAST(hiddenClassCount),
LAST(classCount) AS C
FROM ClassLoaderStatistics
GROUP BY classLoader ORDER BY C DESC";
[jvm.class-modifications]
label = "Class Modifications"
table = "COLUMN 'Time', 'Requested By', 'Operation', 'Classes'
SELECT duration, stackTrace.topApplicationFrame, eventType.label, classCount
FROM RetransformClasses, RedefineClasses
GROUP BY redefinitionId
ORDER BY duration DESC"
[jvm.classes-by-source]
label = "Classes by Source"
table = "COLUMN 'Source', 'Count'
FORMAT truncate-beginning, none
SELECT source, COUNT(*) AS C
FROM jdk.ClassDefine
GROUP BY source
ORDER BY C DESC"
[jvm.compiler-configuration]
label = "Compiler Configuration"
form = "SELECT LAST(threadCount), LAST(dynamicCompilerThreadCount), LAST(tieredCompilation)
FROM CompilerConfiguration"
[jvm.compiler-statistics]
label = "Compiler Statistics"
form = "SELECT LAST(compileCount), LAST(peakTimeSpent), LAST(totalTimeSpent),
LAST(bailoutCount), LAST(osrCompileCount),
LAST(standardCompileCount), LAST(osrBytesCompiled),
LAST(standardBytesCompiled), LAST(nmethodsSize),
LAST(nmethodCodeSize) FROM CompilerStatistics"
[jvm.compiler-phases]
label = "Concurrent Compiler Phases"
table = "COLUMN 'Level', 'Phase', 'Average',
'P95', 'Longest', 'Count',
'Total'
SELECT phaseLevel AS L, phase AS P, AVG(duration),
P95(duration), MAX(duration), COUNT(*),
SUM(duration) AS S
FROM CompilerPhase
GROUP BY P ORDER BY L ASC, S DESC"
[environment.container-configuration]
label = "Container Configuration"
form = "SELECT LAST(containerType), LAST(cpuSlicePeriod), LAST(cpuQuota), LAST(cpuShares),
LAST(effectiveCpuCount), LAST(memorySoftLimit), LAST(memoryLimit),
LAST(swapMemoryLimit), LAST(hostTotalMemory)
FROM ContainerConfiguration"
[environment.container-cpu-usage]
label = "Container CPU Usage"
form = "SELECT LAST(cpuTime), LAST(cpuUserTime), LAST(cpuSystemTime) FROM ContainerCPUUsage"
[environment.container-memory-usage]
label = "Container Memory Usage"
form = "SELECT LAST(memoryFailCount), LAST(memoryUsage), LAST(swapMemoryUsage) FROM ContainerMemoryUsage"
[environment.container-io-usage]
label = "Container I/O Usage"
form = "SELECT LAST(serviceRequests), LAST(dataTransferred) FROM ContainerIOUsage"
[environment.container-cpu-throttling]
label = "Container CPU Throttling"
form = "SELECT LAST(cpuElapsedSlices), LAST(cpuThrottledSlices), LAST(cpuThrottledTime) FROM ContainerCPUThrottling"
[application.contention-by-thread]
label = "Contention by Thread"
table = "COLUMN 'Thread', 'Count', 'Avg', 'P90', 'Max.'
SELECT eventThread, COUNT(*), AVG(duration), P90(duration), MAX(duration) AS M
FROM JavaMonitorEnter GROUP BY eventThread ORDER BY M"
[application.contention-by-class]
label = "Contention by Lock Class"
table = "COLUMN 'Lock Class', 'Count', 'Avg.', 'P90', 'Max.'
SELECT monitorClass, COUNT(*), AVG(duration), P90(duration), MAX(duration) AS M
FROM JavaMonitorEnter GROUP BY monitorClass ORDER BY M"
[application.contention-by-site]
label = "Contention by Site"
table = "COLUMN 'StackTrace', 'Count', 'Avg.', 'Max.'
SELECT stackTrace AS S, COUNT(*), AVG(duration), MAX(duration) AS M
FROM JavaMonitorEnter GROUP BY S ORDER BY M"
[application.contention-by-address]
label = "Contention by Monitor Address"
table = "COLUMN 'Monitor Address', 'Class', 'Threads', 'Max Duration'
SELECT address, FIRST(monitorClass), UNIQUE(eventThread), MAX(duration) AS M
FROM JavaMonitorEnter
GROUP BY monitorClass ORDER BY M"
[application.deprecated-methods-for-removal]
label = "Deprecated Methods for Removal"
table = "COLUMN 'Deprecated Method', 'Called from Class'
FORMAT truncate-beginning, cell-height:10000;truncate-beginning
SELECT method AS m, SET(stackTrace.topFrame.method.type)
FROM DeprecatedInvocation
WHERE forRemoval = 'true'
GROUP BY m
ORDER BY m"
[environment.cpu-information]
label ="CPU Information"
form = "SELECT cpu, sockets, cores, hwThreads, description FROM CPUInformation"
[environment.cpu-load]
label = "CPU Load Statistics"
form = "COLUMN
'JVM User (Minimum)',
'JVM User (Average)',
'JVM User (Maximum)',
'JVM System (Minimum)',
'JVM System (Average)',
'JVM System (Maximum)',
'Machine Total (Minimum)',
'Machine Total (Average)',
'Machine Total (Maximum)'
SELECT MIN(jvmUser), AVG(jvmUser), MAX(jvmUser),
MIN(jvmSystem), AVG(jvmSystem), MAX(jvmSystem),
MIN(machineTotal), AVG(machineTotal), MAX(machineTotal)
FROM CPULoad"
[environment.cpu-load-samples]
label = "CPU Load"
table = "SELECT startTime, jvmUser, jvmSystem, machineTotal FROM CPULoad"
[environment.cpu-tsc]
label ="CPU Time Stamp Counter"
form = "SELECT LAST(fastTimeAutoEnabled), LAST(fastTimeEnabled),
LAST(fastTimeFrequency), LAST(osFrequency)
FROM CPUTimeStampCounter"
[jvm.deoptimizations-by-reason]
label = "Deoptimization by Reason"
table = "SELECT reason, COUNT(reason) AS C
FROM Deoptimization GROUP BY reason ORDER BY C DESC"
[jvm.deoptimizations-by-site]
label = "Deoptimization by Site"
table = "SELECT method, lineNumber, bci, COUNT(reason) AS C
FROM Deoptimization GROUP BY method ORDER BY C DESC"
[environment.events-by-count]
label = "Event Types by Count"
table = "SELECT eventType.label AS E, COUNT(*) AS C FROM * GROUP BY E ORDER BY C DESC"
[environment.events-by-name]
label = "Event Types by Name"
table = "SELECT eventType.label AS E, COUNT(*) AS C FROM * GROUP BY E ORDER BY E ASC"
[environment.environment-variables]
label = "Environment Variables"
table = "FORMAT none, cell-height:20
SELECT LAST(key) AS K, LAST(value)
FROM InitialEnvironmentVariable GROUP BY key ORDER BY K"
[application.exception-count]
label ="Exception Statistics"
form = "COLUMN 'Exceptions Thrown' SELECT DIFF(throwables) FROM ExceptionStatistics"
[application.exception-by-type]
label ="Exceptions by Type"
table = "COLUMN 'Class', 'Count'
SELECT thrownClass AS T, COUNT(thrownClass) AS C
FROM JavaErrorThrow, JavaExceptionThrow GROUP BY T ORDER BY C DESC"
[application.exception-by-message]
label ="Exceptions by Message"
table = "COLUMN 'Message', 'Count'
SELECT message AS M, COUNT(message) AS C
FROM JavaErrorThrow, JavaExceptionThrow GROUP BY M ORDER BY C DESC"
[application.exception-by-site]
label ="Exceptions by Site"
table = "COLUMN 'Method', 'Count'
SELECT stackTrace.topNotInitFrame AS S, COUNT(startTime) AS C
FROM JavaErrorThrow, JavaExceptionThrow GROUP BY S ORDER BY C DESC"
[application.file-reads-by-path]
label = "File Reads by Path"
table = "COLUMN 'Path', 'Reads', 'Total Read'
FORMAT cell-height:5, none, none
SELECT path, COUNT(*), SUM(bytesRead) AS S FROM FileRead
GROUP BY path ORDER BY S DESC"
[application.file-writes-by-path]
label = "File Writes by Path"
table = "COLUMN 'Path', 'Writes', 'Total Written'
FORMAT cell-height:5, none, none
SELECT path, COUNT(bytesWritten), SUM(bytesWritten) AS S FROM FileWrite
GROUP BY path ORDER BY S DESC"
[application.finalizers]
label = "Finalizers"
table = "SELECT finalizableClass, LAST_BATCH(objects) AS O, LAST_BATCH(totalFinalizersRun)
FROM FinalizerStatistics GROUP BY finalizableClass ORDER BY O DESC"
[jvm.gc]
label = "Garbage Collections"
table = "COLUMN 'Start', 'GC ID', 'GC Name', 'Heap Before GC', 'Heap After GC', 'Longest Pause'
FORMAT none, none, missing:Unknown, none, none, none
SELECT G.startTime, gcId, G.name,
B.heapUsed, A.heapUsed, longestPause
FROM
GarbageCollection AS G,
GCHeapSummary AS B,
GCHeapSummary AS A
WHERE B.when = 'Before GC' AND A.when = 'After GC'
GROUP BY gcId ORDER BY gcId"
[jvm.gc-concurrent-phases]
label = "Concurrent GC Phases"
table = "COLUMN 'Name', 'Average', 'P95',
'Longest', 'Count', 'Total'
SELECT name, AVG(duration), P95(duration),
MAX(duration), COUNT(*), SUM(duration) AS S
FROM GCPhaseConcurrent, GCPhaseConcurrentLevel1
GROUP BY name ORDER BY S"
[jvm.gc-parallel-phases]
label = "Parallel GC Phases"
table = "COLUMN 'Name', 'Average', 'P95',
'Longest', 'Count', 'Total'
SELECT name, AVG(duration), P95(duration),
MAX(duration), COUNT(*), SUM(duration) AS S
FROM GCPhaseParallel
GROUP BY name ORDER BY S"
[jvm.gc-configuration]
label = 'GC Configuration'
form = "COLUMN 'Young GC', 'Old GC',
'Parallel GC Threads','Concurrent GC Threads',
'Dynamic GC Threads', 'Concurrent Explicit GC',
'Disable Explicit GC', 'Pause Target',
'GC Time Ratio'
SELECT LAST(youngCollector), LAST(oldCollector),
LAST(parallelGCThreads), LAST(concurrentGCThreads),
LAST(usesDynamicGCThreads), LAST(isExplicitGCConcurrent),
LAST(isExplicitGCDisabled), LAST(pauseTarget),
LAST(gcTimeRatio)
FROM GCConfiguration"
[jvm.gc-references]
label = "GC References"
table = "COLUMN 'Time', 'GC ID', 'Soft Ref.', 'Weak Ref.', 'Phantom Ref.', 'Final Ref.', 'Total Count'
SELECT G.startTime, G.gcId, S.count, W.count, P.count, F.count, SUM(G.count)
FROM GCReferenceStatistics AS S,
GCReferenceStatistics AS W,
GCReferenceStatistics AS P,
GCReferenceStatistics AS F,
GCReferenceStatistics AS G
WHERE S.type = 'Soft reference' AND
W.type = 'Weak reference' AND
P.type = 'Phantom reference' AND
F.type = 'Final reference'
GROUP BY gcId ORDER By G.gcId ASC"
[jvm.gc-pause-phases]
label = "GC Pause Phases"
table = "COLUMN 'Type', 'Name', 'Average',
'P95', 'Longest', 'Count', 'Total'
SELECT eventType.label AS T, name, AVG(duration),
P95(duration), MAX(duration), COUNT(*), SUM(duration) AS S
FROM GCPhasePause, GCPhasePauseLevel1, GCPhasePauseLevel2,
GCPhasePauseLevel3, GCPhasePauseLevel4 GROUP BY name
ORDER BY T ASC, S"
[jvm.gc-pauses]
label = "GC Pauses"
form = "COLUMN 'Total Pause Time','Number of Pauses', 'Minimum Pause Time',
'Median Pause Time', 'Average Pause Time', 'P90 Pause Time',
'P95 Pause Time', 'P99 Pause Time', 'P99.9% Pause Time',
'Maximum Pause Time'
SELECT SUM(duration), COUNT(duration), MIN(duration),
MEDIAN(duration), AVG(duration), P90(duration),
P95(duration), P99(duration), P999(duration),
MAX(duration)
FROM GCPhasePause"
[jvm.gc-allocation-trigger]
label = "GC Allocation Trigger"
table = "COLUMN 'Trigger Method (Non-JDK)', 'Count', 'Total Requested'
SELECT stackTrace.topApplicationFrame AS S, COUNT(*), SUM(size)
FROM AllocationRequiringGC GROUP BY S"
[jvm.gc-cpu-time]
label = "GC CPU Time"
form = "COLUMN 'GC User Time', 'GC System Time',
'GC Wall Clock Time', 'Total Time',
'GC Count'
SELECT SUM(userTime), SUM(systemTime),
SUM(realTime), DIFF(startTime), COUNT(*)
FROM GCCPUTime"
[jvm.heap-configuration]
label = "Heap Configuration"
form = "SELECT LAST(initialSize), LAST(minSize), LAST(maxSize),
LAST(usesCompressedOops), LAST(compressedOopsMode)
FROM GCHeapConfiguration"
[application.hot-methods]
label = "Java Methods that Execute the Most"
table = "COLUMN 'Method', 'Samples', 'Percent'
FORMAT none, none, normalized
SELECT stackTrace.topFrame AS T, COUNT(*), COUNT(*)
FROM ExecutionSample GROUP BY T LIMIT 25"
[application.cpu-time-hot-methods]
label = "Java Methods that Execute the Most from CPU Time Sampler"
table = "COLUMN 'Method', 'Samples', 'Percent'
FORMAT none, none, normalized
SELECT stackTrace.topFrame AS T, COUNT(*), COUNT(*)
FROM CPUTimeSample GROUP BY T LIMIT 25"
[application.cpu-time-statistics]
label = "CPU Time Sample Statistics"
form = "COLUMN 'Successful Samples', 'Failed Samples', 'Biased Samples', 'Total Samples', 'Lost Samples'
SELECT COUNT(S.startTime), COUNT(F.startTime), COUNT(B.startTime), Count(A.startTime), SUM(L.lostSamples)
FROM
CPUTimeSample AS S,
CPUTimeSample AS F,
CPUTimeSample AS A,
CPUTimeSample AS B,
CPUTimeSamplesLost AS L
WHERE
S.failed = 'false' AND
F.failed = 'true' AND
B.biased = 'true'"
[jvm.jdk-agents]
label = "JDK Agents"
table = "COLUMN 'Time', 'Initialization', 'Name', 'Options'
FORMAT none, none, truncate-beginning;cell-height:10, cell-height:10
SELECT LAST_BATCH(initializationTime) AS t, LAST_BATCH(initializationDuration), LAST_BATCH(name), LAST_BATCH(options)
FROM JavaAgent, NativeAgent GROUP BY initializationTime
ORDER BY t"
[environment.jvm-flags]
label = "Command Line Flags"
table = "SELECT name AS N, LAST(value)
FROM IntFlag, UnsignedIntFlag, BooleanFlag,
LongFlag, UnsignedLongFlag,
DoubleFlag, StringFlag,
IntFlagChanged, UnsignedIntFlagChanged, BooleanFlagChanged,
LongFlagChanged, UnsignedLongFlagChanged,
DoubleFlagChanged, StringFlagChanged
GROUP BY name ORDER BY name ASC"
[jvm.jvm-information]
label = "JVM Information"
form = "COLUMN
'PID', 'VM Start', 'Name', 'Version',
'VM Arguments', 'Program Arguments'
SELECT LAST(pid), LAST(jvmStartTime), LAST(jvmName), LAST(jvmVersion),
LAST(jvmArguments), LAST(javaArguments) FROM JVMInformation"
[application.latencies-by-type]
label = "Latencies by Type"
table = "COLUMN 'Event Type', 'Count', 'Average', 'P 99', 'Longest', 'Total'
SELECT eventType.label AS T, COUNT(*), AVG(duration), P99(duration), MAX(duration), SUM(duration)
FROM JavaMonitorWait, JavaMonitorEnter, ThreadPark, ThreadSleep,
SocketRead, SocketWrite, FileWrite, FileRead GROUP BY T"
[application.memory-leaks-by-class]
label = "Memory Leak Candidates by Class"
table = "COLUMN 'Alloc. Time', 'Object Class', 'Object Age', 'Heap Usage'
SELECT LAST_BATCH(allocationTime), LAST_BATCH(object.type), LAST_BATCH(objectAge),
LAST_BATCH(lastKnownHeapUsage) FROM OldObjectSample GROUP BY object.type ORDER BY allocationTime"
[application.memory-leaks-by-site]
label = "Memory Leak Candidates by Site"
table = "COLUMN 'Alloc. Time', 'Application Method', 'Object Age', 'Heap Usage'
SELECT LAST_BATCH(allocationTime), LAST_BATCH(stackTrace.topApplicationFrame), LAST_BATCH(objectAge),
LAST_BATCH(lastKnownHeapUsage) FROM OldObjectSample GROUP BY stackTrace.topApplicationFrame ORDER BY allocationTime"
[application.method-timing]
label = "Method Timing"
table = "COLUMN 'Timed Method', 'Invocations', 'Minimum Time', 'Average Time', 'Maximum Time'
FORMAT none, none, ms-precision:6, ms-precision:6, ms-precision:6
SELECT LAST_BATCH(method) AS M, LAST_BATCH(invocations), LAST_BATCH(minimum), LAST_BATCH(average), LAST_BATCH(maximum)
FROM jdk.MethodTiming GROUP BY method ORDER BY average"
[application.method-calls]
label = "Method Calls"
table = "COLUMN 'Traced Method', 'Caller', 'Invocations'
SELECT method as M, stackTrace.topFrame.method AS S, COUNT(*) AS C
FROM jdk.MethodTrace GROUP BY M, S ORDER BY C DESC"
[application.modules]
label = "Modules"
table = "SELECT LAST(source.name) AS S FROM ModuleRequire GROUP BY source.name ORDER BY S"
[application.monitor-inflation]
label = "Monitor Inflation"
table = "SELECT stackTrace, monitorClass, COUNT(*), SUM(duration) AS S
FROM jdk.JavaMonitorInflate GROUP BY stackTrace, monitorClass ORDER BY S"
[environment.native-libraries]
label = "Native Libraries"
table = "FORMAT cell-height:2, none, none
SELECT name AS N, baseAddress, topAddress FROM NativeLibrary GROUP BY name ORDER BY N"
[environment.native-library-failures]
label = "Native Library Load/Unload Failures"
table = "COLUMN 'Operation', 'Library', 'Error Message'
FORMAT none, truncate-beginning, cell-height:10
SELECT eventType.label, name, errorMessage
FROM NativeLibraryUnload, NativeLibraryLoad
WHERE success = 'false'"
[jvm.native-memory-committed]
label = "Native Memory Committed"
table = "COLUMN 'Memory Type', 'First Observed', 'Average', 'Last Observed', 'Maximum'
SELECT type, FIRST(committed), AVG(committed), LAST(committed), MAX(committed) AS M
FROM NativeMemoryUsage GROUP BY type ORDER BY M DESC"
[jvm.native-memory-reserved]
label = "Native Memory Reserved"
table = "COLUMN 'Memory Type', 'First Observed', 'Average', 'Last Observed', 'Maximum'
SELECT type, FIRST(reserved), AVG(reserved), LAST(reserved), MAX(reserved) AS M
FROM NativeMemoryUsage GROUP BY type ORDER BY M DESC"
[application.native-methods]
label = "Waiting or Executing Native Methods"
table = "COLUMN 'Method', 'Samples'
FORMAT none, none
SELECT stackTrace.topFrame AS T, COUNT(*) AS C
FROM NativeMethodSample GROUP BY T ORDER BY C DESC"
[environment.network-utilization]
label = "Network Utilization"
table = "SELECT networkInterface, AVG(readRate), MAX(readRate), AVG(writeRate), MAX(writeRate)
FROM NetworkUtilization GROUP BY networkInterface"
[application.object-statistics]
label = "Objects Occupying More than 1%"
table = "COLUMN 'Class', 'Count', 'Heap Space', 'Increase'
SELECT
LAST_BATCH(objectClass), LAST_BATCH(count),
LAST_BATCH(totalSize), DIFF(totalSize)
FROM ObjectCountAfterGC, ObjectCount
GROUP BY objectClass
ORDER BY totalSize DESC"
[application.pinned-threads]
label = "Pinned Virtual Threads"
table = "COLUMN 'Method', 'Pinned Count', 'Longest Pinning', 'Total Time Pinned'
SELECT stackTrace.topApplicationFrame AS S, COUNT(*),
MAX(duration), SUM(duration) AS T FROM VirtualThreadPinned
GROUP BY S
ORDER BY T DESC"
[application.thread-count]
label ="Java Thread Statistics"
table = "SELECT * FROM JavaThreadStatistics"
[environment.recording]
label = "Recording Information"
form = "COLUMN 'Event Count', 'First Recorded Event', 'Last Recorded Event',
'Length of Recorded Events', 'Dump Reason'
SELECT COUNT(startTime), FIRST(startTime), LAST(startTime),
DIFF(startTime), LAST(jdk.Shutdown.reason)
FROM *"
[jvm.safepoints]
label = "Safepoints"
table = "COLUMN 'Start Time', 'Duration',
'State Syncronization',
'JNI Critical Threads', 'Total Threads'
SELECT B.startTime, DIFF([B|E].startTime),
S.duration,
jniCriticalThreadCount, totalThreadCount
FROM SafepointBegin AS B, SafepointEnd AS E,
SafepointStateSynchronization AS S
GROUP BY safepointId ORDER BY B.startTime"
[jvm.longest-compilations]
label = "Longest Compilations"
table = "SELECT startTime, duration AS D, method, compileLevel, succeded
FROM Compilation ORDER BY D LIMIT 25"
[application.longest-class-loading]
label = "Longest Class Loading"
table = "COLUMN 'Time', 'Loaded Class', 'Load Time'
SELECT startTime,loadedClass, duration AS D
FROM ClassLoad ORDER BY D DESC LIMIT 25"
[environment.system-properties]
label = "System Properties at Startup"
table = "FORMAT none, cell-height:25
SELECT key AS K, value FROM InitialSystemProperty GROUP BY key ORDER by K"
[application.socket-writes-by-host]
label = "Socket Writes by Host"
table = "COLUMN 'Host', 'Writes', 'Total Written'
FORMAT cell-height:2, none, none
SELECT host, COUNT(*), SUM(bytesWritten) AS S FROM SocketWrite
GROUP BY host ORDER BY S DESC"
[application.socket-reads-by-host]
label = "Socket Reads by Host"
table = "COLUMN 'Host', 'Reads', 'Total Read'
FORMAT cell-height:2, none, none
SELECT host, COUNT(*), SUM(bytesRead) AS S FROM SocketRead
GROUP BY host ORDER BY S DESC"
[environment.system-information]
label = "System Information"
form = "COLUMN 'Total Physical Memory Size', 'OS Version', 'Virtualization', 'CPU Type',
'Number of Cores', 'Number of Hardware Threads',
'Number of Sockets', 'CPU Description'
SELECT LAST(totalSize), LAST(osVersion), LAST(name), LAST(cpu),
LAST(cores), LAST(hwThreads),
LAST(sockets), LAST(description)
FROM CPUInformation, PhysicalMemory, OSInformation, VirtualizationInformation"
[environment.system-processes]
label = "System Processes"
table = "COLUMN 'First Observed', 'Last Observed', 'PID', 'Command Line'
FORMAT none, none, none, truncate-beginning
SELECT FIRST(startTime), LAST(startTime),
FIRST(pid), FIRST(commandLine)
FROM SystemProcess GROUP BY pid"
[jvm.tlabs]
label = "Thread Local Allocation Buffers"
form = "COLUMN 'Inside TLAB Count', 'Inside TLAB Minimum Size', 'Inside TLAB Average Size',
'Inside TLAB Maximum Size', 'Inside TLAB Total Allocation',
'Outside TLAB Count', 'OutSide TLAB Minimum Size', 'Outside TLAB Average Size',
'Outside TLAB Maximum Size', 'Outside TLAB Total Allocation'
SELECT COUNT(I.tlabSize), MIN(I.tlabSize), AVG(I.tlabSize),
MAX(I.tlabSize), SUM(I.tlabSize),
COUNT(O.allocationSize), MIN(O.allocationSize), AVG(O.allocationSize),
MAX(O.allocationSize), SUM(O.allocationSize)
FROM ObjectAllocationInNewTLAB AS I, ObjectAllocationOutsideTLAB AS O"
[application.thread-allocation]
label = "Thread Allocation Statistics"
table = "COLUMN 'Thread', 'Allocated', 'Percentage'
FORMAT none, none, normalized
SELECT thread, LAST(allocated), LAST(allocated) AS A FROM ThreadAllocationStatistics
GROUP BY thread ORDER BY A DESC"
[application.thread-cpu-load]
label = "Thread CPU Load"
table = "COLUMN 'Thread', 'System', 'User'
SELECT eventThread AS E, LAST(system), LAST(user) AS U
FROM ThreadCPULoad GROUP BY E ORDER BY U DESC"
[application.thread-start]
label = "Platform Thread Start by Method"
table = "COLUMN 'Start Time','Stack Trace', 'Thread', 'Duration'
SELECT S.startTime, S.stackTrace, eventThread, DIFF(startTime) AS D
FROM ThreadStart AS S, ThreadEnd AS E GROUP
by eventThread ORDER BY D DESC"
[jvm.vm-operations]
label = "VM Operations"
table = "COLUMN 'VM Operation', 'Average Duration', 'Longest Duration', 'Count' , 'Total Duration'
SELECT operation, AVG(duration), MAX(duration), COUNT(*), SUM(duration)
FROM jdk.ExecuteVMOperation GROUP BY operation"