Skip to content

Commit

Permalink
UI-templates: topN widget add related trace type and dashboard. (#12758)
Browse files Browse the repository at this point in the history
  • Loading branch information
wankai123 authored Nov 8, 2024
1 parent 2ed6b58 commit 9e36eac
Show file tree
Hide file tree
Showing 16 changed files with 199 additions and 45 deletions.
1 change: 1 addition & 0 deletions docs/en/changes/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* Update the Kubernetes metrics for reduce multiple metrics calculate in MQE.
* Support view data value related dashboards in TopList widgets.
* Add endpoint global topN widget on `General-Root`, `Mesh-Root`.
* Implement owner option for TopList widgets in related trace options.


#### Documentation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,10 @@
"expressions": [
"top_n(meter_activemq_destination_topic_consumer_count,10,des)"
],
"valueRelatedDashboard": "ActiveMQ-Destination",
"relatedTrace": {
"refIdType": "none"
},
"graph": {
"type": "TopList",
"color": "purple"
Expand All @@ -506,4 +510,4 @@
"isRoot": false
}
}
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@
},
"expressions": [
"top_n(browser_app_single_version_error_rate,10,des)/100"
]
],
"valueRelatedDashboard": "Browser-Version",
"relatedTrace": {
"refIdType": "owner"
}
},
{
"x": 0,
Expand All @@ -48,7 +52,11 @@
},
"expressions": [
"top_n(browser_app_single_version_pv,10,des)"
]
],
"valueRelatedDashboard": "Browser-Version",
"relatedTrace": {
"refIdType": "owner"
}
},
{
"x": 16,
Expand Down Expand Up @@ -124,7 +132,11 @@
},
"expressions": [
"top_n(browser_app_page_error_sum,10,des)"
]
],
"valueRelatedDashboard": "Browser-Page",
"relatedTrace": {
"refIdType": "owner"
}
},
{
"x": 8,
Expand Down Expand Up @@ -173,6 +185,10 @@
"graph": {
"type": "TopList",
"color": "purple"
},
"valueRelatedDashboard": "Browser-Page",
"relatedTrace": {
"refIdType": "owner"
}
},
{
Expand All @@ -191,6 +207,10 @@
"graph": {
"type": "TopList",
"color": "purple"
},
"valueRelatedDashboard": "Browser-Page",
"relatedTrace": {
"refIdType": "owner"
}
},
{
Expand All @@ -209,6 +229,10 @@
"graph": {
"type": "TopList",
"color": "purple"
},
"valueRelatedDashboard": "Browser-Version",
"relatedTrace": {
"refIdType": "owner"
}
}
]
Expand Down Expand Up @@ -330,9 +354,7 @@
"layer": "BROWSER",
"entity": "Service",
"name": "Browser-App",
"id": "Browser-app",
"isRoot": false,
"isDefault": true
"isRoot": false
}
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,10 @@
"widget": {
"title": "Service Apdex"
},
"valueRelatedDashboard": "General-Service"
"valueRelatedDashboard": "General-Service",
"relatedTrace": {
"refIdType": "owner"
}
},
{
"x": 12,
Expand All @@ -231,7 +234,10 @@
"widget": {
"title": "Service Avg Response Time (ms)"
},
"valueRelatedDashboard": "General-Service"
"valueRelatedDashboard": "General-Service",
"relatedTrace": {
"refIdType": "owner"
}
},
{
"x": 6,
Expand All @@ -250,7 +256,10 @@
"type": "TopList",
"color": "purple"
},
"valueRelatedDashboard": "General-Service"
"valueRelatedDashboard": "General-Service",
"relatedTrace": {
"refIdType": "owner"
}
},
{
"x": 18,
Expand All @@ -270,7 +279,10 @@
"type": "TopList",
"color": "purple"
},
"valueRelatedDashboard": "General-Service"
"valueRelatedDashboard": "General-Service",
"relatedTrace": {
"refIdType": "owner"
}
},
{
"x": 0,
Expand All @@ -289,7 +301,10 @@
"widget": {
"title": "Endpoint Success Rate"
},
"valueRelatedDashboard": "General-Endpoint"
"valueRelatedDashboard": "General-Endpoint",
"relatedTrace": {
"refIdType": "owner"
}
},
{
"x": 8,
Expand All @@ -308,7 +323,10 @@
"widget": {
"title": "Endpoint Avg Response Time (ms)"
},
"valueRelatedDashboard": "General-Endpoint"
"valueRelatedDashboard": "General-Endpoint",
"relatedTrace": {
"refIdType": "owner"
}
},
{
"x": 16,
Expand All @@ -328,7 +346,10 @@
"title": "Endpoint Load (calls / min)",
"tips": "For HTTP 1/2, gRPC, RPC services, this means Calls Per Minute (calls / min), for TCP services"
},
"valueRelatedDashboard": "General-Endpoint"
"valueRelatedDashboard": "General-Endpoint",
"relatedTrace": {
"refIdType": "owner"
}
}
],
"layer": "GENERAL",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,10 @@
"expressions": [
"top_n(service_instance_cpm,10,des)"
],
"valueRelatedDashboard": "General-Instance"
"valueRelatedDashboard": "General-Instance",
"relatedTrace": {
"refIdType": "owner"
}
},
{
"x": 8,
Expand All @@ -471,7 +474,10 @@
"expressions": [
"top_n(service_instance_resp_time,10,des)"
],
"valueRelatedDashboard": "General-Instance"
"valueRelatedDashboard": "General-Instance",
"relatedTrace": {
"refIdType": "owner"
}
},
{
"x": 16,
Expand All @@ -490,7 +496,10 @@
"expressions": [
"top_n(service_instance_sla,10,asc)/100"
],
"valueRelatedDashboard": "General-Instance"
"valueRelatedDashboard": "General-Instance",
"relatedTrace": {
"refIdType": "owner"
}
},
{
"x": 16,
Expand All @@ -509,7 +518,10 @@
"expressions": [
"top_n(endpoint_sla,10,asc)/100"
],
"valueRelatedDashboard": "General-Endpoint"
"valueRelatedDashboard": "General-Endpoint",
"relatedTrace": {
"refIdType": "owner"
}
},
{
"x": 8,
Expand All @@ -528,7 +540,10 @@
"expressions": [
"top_n(endpoint_resp_time,10,des)"
],
"valueRelatedDashboard": "General-Endpoint"
"valueRelatedDashboard": "General-Endpoint",
"relatedTrace": {
"refIdType": "owner"
}
},
{
"x": 0,
Expand All @@ -548,7 +563,10 @@
"expressions": [
"top_n(endpoint_cpm,10,des)"
],
"valueRelatedDashboard": "General-Endpoint"
"valueRelatedDashboard": "General-Endpoint",
"relatedTrace": {
"refIdType": "owner"
}
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@
"expressions": [
"top_n(kubernetes_service_apdex,10,asc,attr0='K8S_SERVICE')/10000"
],
"valueRelatedDashboard": "K8S-Service-Service",
"relatedTrace": {
"refIdType": "none"
},
"graph": {
"type": "TopList",
"color": "purple"
Expand All @@ -225,6 +229,10 @@
"expressions": [
"top_n(kubernetes_service_http_call_successful_rate,10,asc,attr0='K8S_SERVICE')/100"
],
"valueRelatedDashboard": "K8S-Service-Service",
"relatedTrace": {
"refIdType": "none"
},
"graph": {
"type": "TopList",
"color": "purple"
Expand All @@ -243,6 +251,10 @@
"expressions": [
"top_n(kubernetes_service_http_call_time,10,des,attr0='K8S_SERVICE')"
],
"valueRelatedDashboard": "K8S-Service-Service",
"relatedTrace": {
"refIdType": "none"
},
"graph": {
"type": "TopList",
"color": "purple"
Expand All @@ -261,6 +273,10 @@
"expressions": [
"top_n(kubernetes_service_http_call_cpm,10,des,attr0='K8S_SERVICE')"
],
"valueRelatedDashboard": "K8S-Service-Service",
"relatedTrace": {
"refIdType": "none"
},
"graph": {
"type": "TopList",
"color": "purple"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1827,7 +1827,10 @@
},
"expressions": [
"top_n(sampled_slow_trace_record,50,DES)"
]
],
"relatedTrace": {
"refIdType": "traceId"
}
},
{
"x": 8,
Expand All @@ -1845,7 +1848,10 @@
},
"expressions": [
"top_n(sampled_status_4xx_trace_record,50,DES)"
]
],
"relatedTrace": {
"refIdType": "traceId"
}
},
{
"x": 16,
Expand All @@ -1863,7 +1869,10 @@
},
"expressions": [
"top_n(sampled_status_5xx_trace_record,50,DES)"
]
],
"relatedTrace": {
"refIdType": "traceId"
}
},
{
"x": 0,
Expand Down
Loading

0 comments on commit 9e36eac

Please sign in to comment.