wu-sheng commented on code in PR #12109:
URL: https://github.com/apache/skywalking/pull/12109#discussion_r1566622247


##########
oap-server/server-starter/src/main/resources/ui-initialized-templates/activemq/activemq-cluster.json:
##########
@@ -0,0 +1,697 @@
+[
+  {
+    "id": "ActiveMQ-Cluster",
+    "configuration": {
+      "children": [
+        {
+          "x": 0,
+          "y": 0,
+          "w": 24,
+          "h": 42,
+          "i": "0",
+          "type": "Tab",
+          "children": [
+            {
+              "name": "Overview",
+              "children": [
+                {
+                  "x": 0,
+                  "y": 0,
+                  "w": 12,
+                  "h": 11,
+                  "i": "0",
+                  "type": "Widget",
+                  "id": "0-0-0",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "metricMode": "Expression",
+                  "moved": false,
+                  "expressions": [
+                    "meter_activemq_cluster_system_load_average/10000"
+                  ],
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ],
+                  "graph": {
+                    "type": "Bar",
+                    "showBackground": true
+                  },
+                  "metricConfig": [
+                    {
+                      "label": "System Load Average"
+                    }
+                  ],
+                  "widget": {
+                    "name": "SystemLoadAverage",
+                    "title": "System Load Average",
+                    "tips": "The average system load, range:[0, 100]."
+                  }
+                },
+                {
+                  "x": 12,
+                  "y": 0,
+                  "w": 12,
+                  "h": 11,
+                  "i": "1",
+                  "type": "Widget",
+                  "id": "0-0-1",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "metricMode": "Expression",
+                  "moved": false,
+                  "expressions": [
+                    "meter_activemq_cluster_thread_count"
+                  ],
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ],
+                  "graph": {
+                    "type": "Area",
+                    "opacity": 0.4,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "name": "ThreadCount",
+                    "title": "Thread Count",
+                    "tips": "Threads currently used by the JVM."
+                  },
+                  "metricConfig": [
+                    {
+                      "label": "Thread Count"
+                    }
+                  ]
+                },
+                {
+                  "x": 0,
+                  "y": 11,
+                  "w": 4,
+                  "h": 9,
+                  "i": "2",
+                  "type": "Widget",
+                  "id": "0-0-2",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "metricMode": "Expression",
+                  "moved": false,
+                  "expressions": [
+                    
"latest(aggregate_labels(meter_activemq_cluster_heap_memory_usage_init,sum))/1024/1024"
+                  ],
+                  "typesOfMQE": [
+                    "SINGLE_VALUE"
+                  ],
+                  "graph": {
+                    "type": "Card",
+                    "fontSize": 24,
+                    "textAlign": "center",
+                    "showUnit": true
+                  },
+                  "metricConfig": [
+                    {
+                      "unit": "MB",
+                      "label": "Heap Memory(INIT)"
+                    }
+                  ],
+                  "widget": {
+                    "name": "HeapMemoryInit",
+                    "title": "Heap Memory(INIT)",
+                    "tips": "The initial amount of heap memory available."
+                  }
+                },
+                {
+                  "x": 8,
+                  "y": 11,
+                  "w": 4,
+                  "h": 9,
+                  "i": "3",
+                  "type": "Widget",
+                  "id": "0-0-3",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "metricMode": "Expression",
+                  "moved": false,
+                  "expressions": [
+                    
"latest(aggregate_labels(meter_activemq_cluster_heap_memory_usage_max,sum))/1024/1024"
+                  ],
+                  "typesOfMQE": [
+                    "SINGLE_VALUE"
+                  ],
+                  "graph": {
+                    "type": "Card",
+                    "fontSize": 24,
+                    "textAlign": "center",
+                    "showUnit": true
+                  },
+                  "metricConfig": [
+                    {
+                      "unit": "MB",
+                      "label": "Heap Memory(MAX)"
+                    }
+                  ],
+                  "widget": {
+                    "name": "HeapMemoryMax",
+                    "title": "Heap Memory(MAX)",
+                    "tips": "The maximum possible size of the heap memory."
+                  }
+                },
+                {
+                  "x": 4,
+                  "y": 11,
+                  "w": 4,
+                  "h": 9,
+                  "i": "4",
+                  "type": "Widget",
+                  "id": "0-0-4",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "metricMode": "Expression",
+                  "moved": false,
+                  "expressions": [
+                    
"latest(aggregate_labels(meter_activemq_cluster_heap_memory_usage_committed,sum))/1024/1024"
+                  ],
+                  "typesOfMQE": [
+                    "SINGLE_VALUE"
+                  ],
+                  "graph": {
+                    "type": "Card",
+                    "fontSize": 24,
+                    "textAlign": "center",
+                    "showUnit": true
+                  },
+                  "metricConfig": [
+                    {
+                      "unit": "MB",
+                      "label": "Heap Memory(COMMITTED)"
+                    }
+                  ],
+                  "widget": {
+                    "name": "HeapMemoryCommitted",
+                    "title": "Heap Memory(COMMITTED)",
+                    "tips": "The memory is guaranteed to be available for the 
JVM to use."
+                  }
+                },
+                {
+                  "x": 12,
+                  "y": 11,
+                  "w": 12,
+                  "h": 9,
+                  "i": "5",
+                  "type": "Widget",
+                  "id": "0-0-5",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "metricMode": "Expression",
+                  "moved": false,
+                  "expressions": [
+                    "meter_activemq_cluster_heap_memory_usage_used/1024/1024"
+                  ],
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ],
+                  "graph": {
+                    "type": "Area",
+                    "opacity": 0.4,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "metricConfig": [
+                    {
+                      "unit": "MB",
+                      "label": "Heap Memory(USED)"
+                    }
+                  ],
+                  "widget": {
+                    "name": "HeapMemoryUsed",
+                    "title": "Heap Memory(USED)",
+                    "tips": "The amount of JVM heap memory currently in use."
+                  }
+                },
+                {
+                  "x": 0,
+                  "y": 31,
+                  "w": 6,
+                  "h": 11,
+                  "i": "8",
+                  "type": "Widget",
+                  "id": "0-0-8",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "metricMode": "Expression",
+                  "moved": false,
+                  "expressions": [
+                    "meter_activemq_cluster_enqueue_rate"
+                  ],
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ],
+                  "graph": {
+                    "type": "Area",
+                    "opacity": 0.4,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "name": "EnqueueRate",
+                    "title": "Enqueue Count/s",
+                    "tips": "Number of messages that have been sent to the 
cluster per second."
+                  },
+                  "metricConfig": [
+                    {
+                      "label": "Enqueue Rate"
+                    }
+                  ]
+                },
+                {
+                  "x": 6,
+                  "y": 31,
+                  "w": 6,
+                  "h": 11,
+                  "i": "9",
+                  "type": "Widget",
+                  "id": "0-0-9",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "metricMode": "Expression",
+                  "moved": false,
+                  "expressions": [
+                    "meter_activemq_cluster_dequeue_rate"
+                  ],
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ],
+                  "graph": {
+                    "type": "Area",
+                    "opacity": 0.4,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "name": "DequeueRate",
+                    "title": "Dequeue Count/s",
+                    "tips": "Number of messages that have been acknowledged or 
discarded on the cluster per second."
+                  },
+                  "metricConfig": [
+                    {
+                      "label": "Dequeue Rate"
+                    }
+                  ]
+                },
+                {
+                  "x": 12,
+                  "y": 31,
+                  "w": 6,
+                  "h": 11,
+                  "i": "10",
+                  "type": "Widget",
+                  "id": "0-0-10",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "metricMode": "Expression",
+                  "moved": false,
+                  "expressions": [
+                    "meter_activemq_cluster_dispatch_rate"
+                  ],
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ],
+                  "graph": {
+                    "type": "Area",
+                    "opacity": 0.4,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "name": "DispatchRate",
+                    "title": "Dispatch Count/s",
+                    "tips": "Number of messages that has been delivered to 
consumers per second."
+                  },
+                  "metricConfig": [
+                    {
+                      "label": "Dispatch Rate"
+                    }
+                  ]
+                },
+                {
+                  "x": 18,
+                  "y": 31,
+                  "w": 6,
+                  "h": 11,
+                  "i": "11",
+                  "type": "Widget",
+                  "id": "0-0-11",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "metricMode": "Expression",
+                  "moved": false,
+                  "expressions": [
+                    "meter_activemq_cluster_expired_rate"
+                  ],
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ],
+                  "graph": {
+                    "type": "Area",
+                    "opacity": 0.4,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "name": "ExpiredRate",
+                    "title": "Expired Count/s",
+                    "tips": "Number of messages that have been expired per 
second."
+                  },
+                  "metricConfig": [
+                    {
+                      "label": "Expired Rate"
+                    }
+                  ]
+                },
+                {
+                  "x": 0,
+                  "y": 42,
+                  "w": 12,
+                  "h": 12,
+                  "i": "12",
+                  "type": "Widget",
+                  "id": "0-0-12",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "metricMode": "Expression",
+                  "moved": false,
+                  "expressions": [
+                    "meter_activemq_cluster_average_enqueue_time/1000"
+                  ],
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ],
+                  "graph": {
+                    "type": "Area",
+                    "opacity": 0.4,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "name": "AverageEnqueueTime",
+                    "title": "Average Enqueue Time(s)",
+                    "tips": "The average time a message was held on this 
cluster."
+                  },
+                  "metricConfig": [
+                    {
+                      "label": "Max Enqueue Time",
+                      "unit": "s"
+                    }
+                  ]
+                },
+                {
+                  "x": 6,
+                  "y": 20,
+                  "w": 6,
+                  "h": 11,
+                  "i": "13",
+                  "type": "Widget",
+                  "id": "0-0-13",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "metricMode": "Expression",
+                  "moved": false,
+                  "expressions": [
+                    
"view_as_seq(meter_activemq_cluster_gc_g1_old_collection_count,meter_activemq_cluster_gc_parallel_old_collection_count)"
+                  ],
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ],
+                  "graph": {
+                    "type": "Bar",
+                    "showBackground": true
+                  },
+                  "metricConfig": [
+                    {
+                      "label": "",
+                      "unit": ""
+                    }
+                  ],
+                  "widget": {
+                    "name": "GcOldCollectionCount",
+                    "title": "Gc Old Collection Count",
+                    "tips": "The gc count of Old Generation."
+                  }
+                },
+                {
+                  "x": 0,
+                  "y": 20,
+                  "w": 6,
+                  "h": 11,
+                  "i": "14",
+                  "type": "Widget",
+                  "id": "0-0-14",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "metricMode": "Expression",
+                  "moved": false,
+                  "expressions": [
+                    
"view_as_seq(meter_activemq_cluster_gc_g1_young_collection_count,meter_activemq_cluster_gc_parallel_young_collection_count)"
+                  ],
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ],
+                  "graph": {
+                    "type": "Bar",
+                    "showBackground": true
+                  },
+                  "widget": {
+                    "name": "GcYoungCollectionCount",
+                    "title": "Gc Young Collection Count",
+                    "tips": "The gc count of G1 Young Generation."
+                  }
+                },
+                {
+                  "x": 18,
+                  "y": 20,
+                  "w": 6,
+                  "h": 11,
+                  "i": "15",
+                  "type": "Widget",
+                  "id": "0-0-15",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "metricMode": "Expression",
+                  "moved": false,
+                  "expressions": [
+                    "meter_activemq_cluster_gc_old_collection_time"
+                  ],
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ],
+                  "metricConfig": [
+                    {
+                      "label": "GC Old Collection Time",
+                      "unit": "ms"
+                    }
+                  ],
+                  "graph": {
+                    "type": "Area",
+                    "opacity": 0.4,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "name": "GcOldCollectionTime",
+                    "title": "Gc Old Collection Time",

Review Comment:
   `Gc` actually should be `GC`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to