未验证 提交 b0d82d56 编写于 作者: E Eason Yi 提交者: GitHub

[feat]Add Golang runtime metrics and cpu/memory used rate panels in FaaS-Instance dashboard (#9823)

上级 2bde958f
......@@ -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
......
......@@ -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
}
]
}
]
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册