This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git
The following commit(s) were added to refs/heads/master by this push:
new b0d82d5604 [feat]Add Golang runtime metrics and cpu/memory used rate
panels in FaaS-Instance dashboard (#9823)
b0d82d5604 is described below
commit b0d82d56041d467acbc0a427c33daab5c15f0089
Author: Eason Yi <[email protected]>
AuthorDate: Sat Oct 22 09:47:48 2022 +0800
[feat]Add Golang runtime metrics and cpu/memory used rate panels in
FaaS-Instance dashboard (#9823)
---
docs/en/changes/changes.md | 1 +
.../faas/faas-instance.json | 220 +++++++++++++++++++++
2 files changed, 221 insertions(+)
diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md
index 9e4be66467..e4d32e0aec 100644
--- a/docs/en/changes/changes.md
+++ b/docs/en/changes/changes.md
@@ -91,6 +91,7 @@
* Add gateway apisix menu
* Query logs with the specific service ID
* Bump d3-color from 3.0.1 to 3.1.0
+* Add Golang runtime metrics and cpu/memory used rate panels in FaaS-Instance
dashboard
#### Documentation
diff --git
a/oap-server/server-starter/src/main/resources/ui-initialized-templates/faas/faas-instance.json
b/oap-server/server-starter/src/main/resources/ui-initialized-templates/faas/faas-instance.json
index 8216a141ba..13bafaa705 100644
---
a/oap-server/server-starter/src/main/resources/ui-initialized-templates/faas/faas-instance.json
+++
b/oap-server/server-starter/src/main/resources/ui-initialized-templates/faas/faas-instance.json
@@ -172,6 +172,226 @@
"type": "DemandLog"
}
]
+ },
+ {
+ "name": "Golang",
+ "children": [
+ {
+ "x": 0,
+ "y": 0,
+ "w": 8,
+ "h": 13,
+ "i": "24",
+ "type": "Widget",
+ "widget": {
+ "title": "Heap Alloc (MB)"
+ },
+ "graph": {
+ "type": "Line",
+ "step": false,
+ "smooth": false,
+ "showSymbol": false,
+ "showXAxis": true,
+ "showYAxis": true
+ },
+ "metrics": [
+ "meter_instance_golang_heap_alloc"
+ ],
+ "metricTypes": [
+ "readMetricsValues"
+ ],
+ "metricConfig": [
+ {
+ "calculation": "byteToMB"
+ }
+ ],
+ "moved": false
+ },
+ {
+ "x": 8,
+ "y": 0,
+ "w": 8,
+ "h": 13,
+ "i": "16",
+ "type": "Widget",
+ "widget": {
+ "title": "Stack Used (MB)"
+ },
+ "graph": {
+ "type": "Line",
+ "step": false,
+ "smooth": false,
+ "showSymbol": false,
+ "showXAxis": true,
+ "showYAxis": true
+ },
+ "metrics": [
+ "meter_instance_golang_stack_used"
+ ],
+ "metricTypes": [
+ "readMetricsValues"
+ ],
+ "metricConfig": [
+ {
+ "calculation": "byteToMB"
+ }
+ ],
+ "moved": false
+ },
+ {
+ "x": 16,
+ "y": 0,
+ "w": 8,
+ "h": 13,
+ "i": "17",
+ "type": "Widget",
+ "widget": {
+ "title": "Golang GC Pause Time Per Minute (ms)"
+ },
+ "graph": {
+ "type": "Bar",
+ "showBackground": true
+ },
+ "metrics": [
+ "meter_instance_golang_gc_pause_time"
+ ],
+ "metricTypes": [
+ "readMetricsValues"
+ ],
+ "metricConfig": [
+ {
+ "calculation": "nanosecondToMillisecond"
+ }
+ ],
+ "moved": false
+ },
+ {
+ "x": 0,
+ "y": 13,
+ "w": 8,
+ "h": 13,
+ "i": "18",
+ "type": "Widget",
+ "widget": {
+ "title": "Golang GC Count Per Minute"
+ },
+ "graph": {
+ "type": "Bar",
+ "showBackground": true
+ },
+ "metrics": [
+ "meter_instance_golang_gc_count"
+ ],
+ "metricTypes": [
+ "readMetricsValues"
+ ],
+ "moved": false
+ },
+ {
+ "x": 8,
+ "y": 13,
+ "w": 8,
+ "h": 13,
+ "i": "19",
+ "type": "Widget",
+ "widget": {
+ "title": "Live Goroutines Num"
+ },
+ "graph": {
+ "type": "Line",
+ "step": false,
+ "smooth": false,
+ "showSymbol": false,
+ "showXAxis": true,
+ "showYAxis": true
+ },
+ "metrics": [
+ "meter_instance_golang_live_goroutines_num"
+ ],
+ "metricTypes": [
+ "readMetricsValues"
+ ],
+ "moved": false
+ },
+ {
+ "x": 16,
+ "y": 13,
+ "w": 8,
+ "h": 13,
+ "i": "20",
+ "type": "Widget",
+ "widget": {
+ "title": "Golang OS Threads Num"
+ },
+ "graph": {
+ "type": "Line",
+ "step": false,
+ "smooth": false,
+ "showSymbol": false,
+ "showXAxis": true,
+ "showYAxis": true
+ },
+ "metrics": [
+ "meter_instance_golang_os_threads_num"
+ ],
+ "metricTypes": [
+ "readMetricsValues"
+ ],
+ "moved": false
+ },
+ {
+ "x": 0,
+ "y": 26,
+ "w": 8,
+ "h": 13,
+ "i": "21",
+ "type": "Widget",
+ "widget": {
+ "title": "Host CPU Used Rate (%)"
+ },
+ "graph": {
+ "type": "Line",
+ "step": false,
+ "smooth": false,
+ "showSymbol": false,
+ "showXAxis": true,
+ "showYAxis": true
+ },
+ "metrics": [
+ "meter_instance_host_cpu_used_rate"
+ ],
+ "metricTypes": [
+ "readMetricsValues"
+ ],
+ "moved": false
+ },
+ {
+ "x": 8,
+ "y": 26,
+ "w": 8,
+ "h": 13,
+ "i": "22",
+ "type": "Widget",
+ "widget": {
+ "title": "Host Memory Used Rate (%)"
+ },
+ "graph": {
+ "type": "Line",
+ "step": false,
+ "smooth": false,
+ "showSymbol": false,
+ "showXAxis": true,
+ "showYAxis": true
+ },
+ "metrics": [
+ "meter_instance_host_mem_used_rate"
+ ],
+ "metricTypes": [
+ "readMetricsValues"
+ ],
+ "moved": false
+ }
+ ]
}
]
},