You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/plot/layouts.go
+18-15Lines changed: 18 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -22,10 +22,10 @@ var garbageCollectionLayout = Scatter{
22
22
{Name: "heap goal", Unitfmt: "%{y:.4s}B"},
23
23
},
24
24
InfoText: `
25
-
<i>Memory limit</i> is <b>/gc/gomemlimit</b>, the total amount of memory that the Go runtime can use.
25
+
<i>Memory limit</i> is <b>/gc/gomemlimit:bytes</b>, the Go runtime memory limit configured by the user (via GOMEMLIMIT or debug.SetMemoryLimt), otherwise 0.
26
26
<i>In-use memory</i> is the total mapped memory minus released heap memory (<b>/memory/classes/total - /memory/classes/heap/released</b>).
27
-
<i>Heap live</i> is <b>/gc/heap/live</b>, the current size of all live heap objects.
28
-
<i>Heap goal</i> is <b>/gc/heap/goal</b>, the target heap size at the end of each GC cycle.`,
27
+
<i>Heap live</i> is <b>/gc/heap/live:bytes</b>, heap memory occupied by live objects.
28
+
<i>Heap goal</i> is <b>/gc/heap/goal:bytes</b>, the heap size target at the end of each GC cycle.`,
29
29
}
30
30
31
31
varheapDetailslLayout=Scatter{
@@ -57,7 +57,8 @@ var heapDetailslLayout = Scatter{
57
57
Unitfmt: "%{y:.4s}B",
58
58
},
59
59
},
60
-
InfoText: `<i>Heap</i> sys is <b>/memory/classes/heap/objects + /memory/classes/heap/unused + /memory/classes/heap/released + /memory/classes/heap/free</b>. It's an estimate of all the heap memory obtained form the OS.
60
+
InfoText: `
61
+
<i>Heap</i> sys is <b>/memory/classes/heap/{objects + unused + released + free}</b>. It's an estimate of all the heap memory obtained from the OS.
61
62
<i>Heap objects</i> is <b>/memory/classes/heap/objects</b>, the memory occupied by live objects and dead objects that have not yet been marked free by the GC.
62
63
<i>Heap stacks</i> is <b>/memory/classes/heap/stacks</b>, the memory used for stack space.
63
64
<i>Heap goal</i> is <b>gc/heap/goal</b>, the heap size target for the end of the GC cycle.`,
@@ -70,7 +71,7 @@ var liveObjectsLayout = Scatter{
70
71
Events: "lastgc",
71
72
Layout: ScatterLayout{
72
73
Yaxis: ScatterYAxis{
73
-
Title: "bytes",
74
+
Title: "objects",
74
75
},
75
76
},
76
77
Subplots: []Subplot{
@@ -132,18 +133,18 @@ var mspanMCacheLayout = Scatter{
132
133
Unitfmt: "%{y:.4s}B",
133
134
},
134
135
},
135
-
InfoText: `<i>Mspan in-use</i> is <b>/memory/classes/metadata/mspan/inuse</b>, the memory that is occupied by runtime mspan structures that are currently being used.
136
+
InfoText: `
137
+
<i>Mspan in-use</i> is <b>/memory/classes/metadata/mspan/inuse</b>, the memory that is occupied by runtime mspan structures that are currently being used.
136
138
<i>Mspan free</i> is <b>/memory/classes/metadata/mspan/free</b>, the memory that is reserved for runtime mspan structures, but not in-use.
137
139
<i>Mcache in-use</i> is <b>/memory/classes/metadata/mcache/inuse</b>, the memory that is occupied by runtime mcache structures that are currently being used.
138
140
<i>Mcache free</i> is <b>/memory/classes/metadata/mcache/free</b>, the memory that is reserved for runtime mcache structures, but not in-use.
InfoText: `This heatmap shows the distribution of individual GC-related stop-the-world pause latencies, uses <b>/gc/pauses:seconds</b>,.`,
233
+
InfoText: `This heatmap shows the distribution of individual GC-related stop-the-world pause latencies, uses <b>/sched/pauses/total/gc:seconds</b>,.`,
233
234
}
234
235
}
235
236
@@ -311,7 +312,7 @@ var cgoLayout = Scatter{
311
312
312
313
vargcStackSizeLayout=Scatter{
313
314
Name: "TODO(set later)",
314
-
Title: "Starting Size of Goroutines Stacks",
315
+
Title: "Goroutine stack starting size",
315
316
Type: "scatter",
316
317
Layout: ScatterLayout{
317
318
Yaxis: ScatterYAxis{
@@ -382,7 +383,8 @@ var memoryClassesLayout = Scatter{
382
383
},
383
384
},
384
385
385
-
InfoText: `<i>OS stacks</i> is <b>/memory/classes/os-stacks</b>, stack memory allocated by the underlying operating system.
386
+
InfoText: `
387
+
<i>OS stacks</i> is <b>/memory/classes/os-stacks</b>, stack memory allocated by the underlying operating system.
386
388
<i>Other</i> is <b>/memory/classes/other</b>, memory used by execution trace buffers, structures for debugging the runtime, finalizer and profiler specials, and more.
387
389
<i>Profiling buckets</i> is <b>/memory/classes/profiling/buckets</b>, memory that is used by the stack trace hash map used for profiling.
388
390
<i>Total</i> is <b>/memory/classes/total</b>, all memory mapped by the Go runtime into the current process as read-write.`,
@@ -511,7 +513,7 @@ All metrics are rates in CPU-seconds per second.`,
511
513
512
514
varmutexWaitLayout=Scatter{
513
515
Name: "TODO(set later)",
514
-
Title: "Time Goroutines Spend Blocked on Mutexes",
516
+
Title: "Mutex wait time",
515
517
Type: "bar",
516
518
Events: "lastgc",
517
519
Layout: ScatterLayout{
@@ -563,7 +565,8 @@ var gcScanLayout = Scatter{
563
565
Type: "bar",
564
566
},
565
567
},
566
-
InfoText: `This plot shows the amount of memory that is scannable by the GC.
568
+
InfoText: `
569
+
This plot shows the amount of memory that is scannable by the GC.
567
570
<i>scannable globals</i> is <b>/gc/scan/globals</b>, the total amount of global variable space that is scannable.
568
571
<i>scannable heap</i> is <b>/gc/scan/heap</b>, the total amount of heap space that is scannable.
569
572
<i>scanned stack</i> is <b>/gc/scan/stack</b>, the number of bytes of stack that were scanned last GC cycle.
0 commit comments