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 241d17eb56 Apply MQE on RabbitMQ Dashboards (#11184)
241d17eb56 is described below

commit 241d17eb56561161b760396adc4bc84e3b5e325f
Author: Harry <[email protected]>
AuthorDate: Tue Aug 8 16:18:11 2023 +0800

    Apply MQE on RabbitMQ Dashboards (#11184)
---
 docs/en/changes/changes.md                         |    1 +
 .../rabbitmq/rabbitmq-cluster.json                 | 1211 ++++++++++---------
 .../rabbitmq/rabbitmq-node.json                    | 1244 ++++++++++----------
 .../rabbitmq/rabbitmq-root.json                    |   17 -
 ...el.yml => metrics-has-value-instance-label.yml} |   28 +-
 ...bel.yml => metrics-has-value-service-label.yml} |   28 +-
 .../cases/rabbitmq/expected/metrics-has-value.yml  |   22 +-
 test/e2e-v2/cases/rabbitmq/rabbitmq-cases.yaml     |  146 +--
 8 files changed, 1392 insertions(+), 1305 deletions(-)

diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md
index acf3c708d7..df025fcbd2 100644
--- a/docs/en/changes/changes.md
+++ b/docs/en/changes/changes.md
@@ -64,6 +64,7 @@
 * Remove ElasticSearch 6.3.2 from our client lib tests.
 * Bump up ElasticSearch server 8.8.1 to 8.9.0 for latest e2e testing. 8.1.0, 
7.16.3 and 7.17.10 are still tested.
 * Add OpenSearch 2.8.0 to our client lib tests.
+* Apply MQE on RabbitMQ Dashboards
 
 #### UI
 
diff --git 
a/oap-server/server-starter/src/main/resources/ui-initialized-templates/rabbitmq/rabbitmq-cluster.json
 
b/oap-server/server-starter/src/main/resources/ui-initialized-templates/rabbitmq/rabbitmq-cluster.json
index b7f4cc760f..d0b86b3a43 100644
--- 
a/oap-server/server-starter/src/main/resources/ui-initialized-templates/rabbitmq/rabbitmq-cluster.json
+++ 
b/oap-server/server-starter/src/main/resources/ui-initialized-templates/rabbitmq/rabbitmq-cluster.json
@@ -1,683 +1,738 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
 [
   {
     "id": "RabbitMQ-Cluster",
     "configuration": {
-      "children":[
+      "children": [
         {
-          "x":0,
-          "y":0,
-          "w":24,
-          "h":59,
-          "i":"16",
-          "type":"Tab",
-          "children":[
+          "x": 0,
+          "y": 0,
+          "w": 24,
+          "h": 59,
+          "i": "16",
+          "type": "Tab",
+          "children": [
             {
-              "name":"Overview",
-              "children":[
+              "name": "Overview",
+              "children": [
                 {
-                  "x":0,
-                  "y":0,
-                  "w":6,
-                  "h":12,
-                  "i":"13",
-                  "type":"Widget",
-                  "id":"16-0-13",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
-                    "meter_rabbitmq_memory_available_before_publisher_blocked"
-                  ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "metricConfig":[
-                    {
-                      "calculation":"byteToMB"
-                    }
+                  "x": 0,
+                  "y": 0,
+                  "w": 6,
+                  "h": 12,
+                  "i": "13",
+                  "type": "Widget",
+                  "id": "16-0-13",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "metricConfig": [],
+                  "widget": {
+                    "title": "Memory Available Before Publishers Blocked (MB)"
+                  },
+                  "metricMode": "Expression",
+                  "expressions": [
+                    
"meter_rabbitmq_memory_available_before_publisher_blocked/1024/1024"
                   ],
-                  "widget":{
-                    "title":"Memory Available Before Publishers Blocked (MB)"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":6,
-                  "y":0,
-                  "w":6,
-                  "h":12,
-                  "i":"14",
-                  "type":"Widget",
-                  "id":"16-0-14",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
-                    
"meter_rabbitmq_disk_space_available_before_publisher_blocked"
-                  ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "metricConfig":[
-                    {
-                      "calculation":"byteToGB"
-                    }
+                  "x": 6,
+                  "y": 0,
+                  "w": 6,
+                  "h": 12,
+                  "i": "14",
+                  "type": "Widget",
+                  "id": "16-0-14",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "metricConfig": [],
+                  "widget": {
+                    "title": "Disk Space Available Before Publishers Blocked 
(GB)"
+                  },
+                  "metricMode": "Expression",
+                  "expressions": [
+                    
"meter_rabbitmq_disk_space_available_before_publisher_blocked/1024/1024/1024"
                   ],
-                  "widget":{
-                    "title":"Disk Space Available Before Publishers Blocked 
(GB)"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":0,
-                  "y":12,
-                  "w":12,
-                  "h":12,
-                  "i":"15",
-                  "type":"Widget",
-                  "id":"16-0-15",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 0,
+                  "y": 12,
+                  "w": 12,
+                  "h": 12,
+                  "i": "15",
+                  "type": "Widget",
+                  "id": "16-0-15",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "Messages Ready To Be Delivered To Consumers"
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_message_ready_delivered_consumers"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"Messages Ready To Be Delivered To Consumers"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":12,
-                  "y":12,
-                  "w":12,
-                  "h":12,
-                  "i":"16",
-                  "type":"Widget",
-                  "id":"16-0-16",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 12,
+                  "y": 12,
+                  "w": 12,
+                  "h": 12,
+                  "i": "16",
+                  "type": "Widget",
+                  "id": "16-0-16",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "Messages Pending Consumer Acknowledgement"
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_message_unacknowledged_delivered_consumers"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"Messages Pending Consumer Acknowledgement"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":12,
-                  "y":0,
-                  "w":6,
-                  "h":12,
-                  "i":"17",
-                  "type":"Widget",
-                  "id":"16-0-17",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 12,
+                  "y": 0,
+                  "w": 6,
+                  "h": 12,
+                  "i": "17",
+                  "type": "Widget",
+                  "id": "16-0-17",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "File Descriptors Available",
+                    "tips": "File descriptor count and limit, as reported by 
the operating system. The count includes network sockets and file handles."
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_file_descriptors_available"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"File Descriptors Available",
-                    "tips":"File descriptor count and limit, as reported by 
the operating system. The count includes network sockets and file handles."
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":18,
-                  "y":0,
-                  "w":6,
-                  "h":12,
-                  "i":"18",
-                  "type":"Widget",
-                  "id":"16-0-18",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 18,
+                  "y": 0,
+                  "w": 6,
+                  "h": 12,
+                  "i": "18",
+                  "type": "Widget",
+                  "id": "16-0-18",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "TCP Sockets Available",
+                    "tips": "The network sockets count and limit managed by 
RabbitMQ. When the limit is exhausted RabbitMQ will stop accepting new network 
connections."
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_tcp_socket_available"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"TCP Sockets Available",
-                    "tips":"The network sockets count and limit managed by 
RabbitMQ. When the limit is exhausted RabbitMQ will stop accepting new network 
connections."
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":0,
-                  "y":24,
-                  "w":8,
-                  "h":12,
-                  "i":"19",
-                  "type":"Widget",
-                  "id":"16-0-19",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 0,
+                  "y": 24,
+                  "w": 8,
+                  "h": 12,
+                  "i": "19",
+                  "type": "Widget",
+                  "id": "16-0-19",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "Messages Published"
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_messages_published"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"Messages Published"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":8,
-                  "y":24,
-                  "w":8,
-                  "h":12,
-                  "i":"20",
-                  "type":"Widget",
-                  "id":"16-0-20",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 8,
+                  "y": 24,
+                  "w": 8,
+                  "h": 12,
+                  "i": "20",
+                  "type": "Widget",
+                  "id": "16-0-20",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "Messages Confirmed To Publishers"
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_messages_confirmed"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"Messages Confirmed To Publishers"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":0,
-                  "y":36,
-                  "w":8,
-                  "h":12,
-                  "i":"21",
-                  "type":"Widget",
-                  "id":"16-0-21",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 0,
+                  "y": 36,
+                  "w": 8,
+                  "h": 12,
+                  "i": "21",
+                  "type": "Widget",
+                  "id": "16-0-21",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "Messages Routed To Queues"
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_messages_routed"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"Messages Routed To Queues"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":16,
-                  "y":24,
-                  "w":8,
-                  "h":12,
-                  "i":"22",
-                  "type":"Widget",
-                  "id":"16-0-22",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 16,
+                  "y": 24,
+                  "w": 8,
+                  "h": 12,
+                  "i": "22",
+                  "type": "Widget",
+                  "id": "16-0-22",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "Messages Unconfirmed To Publishers"
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_messages_unconfirmed"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"Messages Unconfirmed To Publishers"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":16,
-                  "y":36,
-                  "w":8,
-                  "h":12,
-                  "i":"23",
-                  "type":"Widget",
-                  "id":"16-0-23",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 16,
+                  "y": 36,
+                  "w": 8,
+                  "h": 12,
+                  "i": "23",
+                  "type": "Widget",
+                  "id": "16-0-23",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "Unroutable Messages Dropped"
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_messages_unroutable_dropped"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"Unroutable Messages Dropped"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":8,
-                  "y":36,
-                  "w":8,
-                  "h":12,
-                  "i":"24",
-                  "type":"Widget",
-                  "id":"16-0-24",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 8,
+                  "y": 36,
+                  "w": 8,
+                  "h": 12,
+                  "i": "24",
+                  "type": "Widget",
+                  "id": "16-0-24",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "Unroutable Messages Returned To Publishers"
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_messages_unroutable_returned"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"Unroutable Messages Returned To Publishers"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":0,
-                  "y":48,
-                  "w":6,
-                  "h":12,
-                  "i":"25",
-                  "type":"Widget",
-                  "id":"16-0-25",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 0,
+                  "y": 48,
+                  "w": 6,
+                  "h": 12,
+                  "i": "25",
+                  "type": "Widget",
+                  "id": "16-0-25",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "Queues Total"
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_queues"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"Queues Total"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":18,
-                  "y":48,
-                  "w":6,
-                  "h":12,
-                  "i":"26",
-                  "type":"Widget",
-                  "id":"16-0-26",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 18,
+                  "y": 48,
+                  "w": 6,
+                  "h": 12,
+                  "i": "26",
+                  "type": "Widget",
+                  "id": "16-0-26",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "Queues Deleted"
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_queues_deleted_total"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"Queues Deleted"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":6,
-                  "y":48,
-                  "w":6,
-                  "h":12,
-                  "i":"27",
-                  "type":"Widget",
-                  "id":"16-0-27",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 6,
+                  "y": 48,
+                  "w": 6,
+                  "h": 12,
+                  "i": "27",
+                  "type": "Widget",
+                  "id": "16-0-27",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "Queues Declared"
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_queues_declared_total"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"Queues Declared"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":12,
-                  "y":48,
-                  "w":6,
-                  "h":12,
-                  "i":"28",
-                  "type":"Widget",
-                  "id":"16-0-28",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 12,
+                  "y": 48,
+                  "w": 6,
+                  "h": 12,
+                  "i": "28",
+                  "type": "Widget",
+                  "id": "16-0-28",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "Queues Created"
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_queues_created_total"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"Queues Created"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":0,
-                  "y":60,
-                  "w":8,
-                  "h":12,
-                  "i":"29",
-                  "type":"Widget",
-                  "id":"16-0-29",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 0,
+                  "y": 60,
+                  "w": 8,
+                  "h": 12,
+                  "i": "29",
+                  "type": "Widget",
+                  "id": "16-0-29",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "Channels Total"
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_channels"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"Channels Total"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":8,
-                  "y":60,
-                  "w":8,
-                  "h":12,
-                  "i":"30",
-                  "type":"Widget",
-                  "id":"16-0-30",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 8,
+                  "y": 60,
+                  "w": 8,
+                  "h": 12,
+                  "i": "30",
+                  "type": "Widget",
+                  "id": "16-0-30",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "Channels Opened"
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_channels_opened_total"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"Channels Opened"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":16,
-                  "y":60,
-                  "w":8,
-                  "h":12,
-                  "i":"31",
-                  "type":"Widget",
-                  "id":"16-0-31",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 16,
+                  "y": 60,
+                  "w": 8,
+                  "h": 12,
+                  "i": "31",
+                  "type": "Widget",
+                  "id": "16-0-31",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "Channels Closed"
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_channels_closed_total"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"Channels Closed"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":16,
-                  "y":72,
-                  "w":8,
-                  "h":12,
-                  "i":"32",
-                  "type":"Widget",
-                  "id":"16-0-32",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 16,
+                  "y": 72,
+                  "w": 8,
+                  "h": 12,
+                  "i": "32",
+                  "type": "Widget",
+                  "id": "16-0-32",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "Connections Closed"
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_connections_closed_total"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"Connections Closed"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":0,
-                  "y":72,
-                  "w":8,
-                  "h":12,
-                  "i":"33",
-                  "type":"Widget",
-                  "id":"16-0-33",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 0,
+                  "y": 72,
+                  "w": 8,
+                  "h": 12,
+                  "i": "33",
+                  "type": "Widget",
+                  "id": "16-0-33",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "Connections Total"
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_connections"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"Connections Total"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 },
                 {
-                  "x":8,
-                  "y":72,
-                  "w":8,
-                  "h":12,
-                  "i":"34",
-                  "type":"Widget",
-                  "id":"16-0-34",
-                  "metricTypes":[
-                    "readLabeledMetricsValues"
-                  ],
-                  "metrics":[
+                  "x": 8,
+                  "y": 72,
+                  "w": 8,
+                  "h": 12,
+                  "i": "34",
+                  "type": "Widget",
+                  "id": "16-0-34",
+                  "metricTypes": [],
+                  "metrics": [],
+                  "moved": false,
+                  "graph": {
+                    "type": "Line",
+                    "step": false,
+                    "smooth": false,
+                    "showSymbol": true,
+                    "showXAxis": true,
+                    "showYAxis": true
+                  },
+                  "widget": {
+                    "title": "Connections Opened"
+                  },
+                  "metricMode": "Expression",
+                  "metricConfig": [],
+                  "expressions": [
                     "meter_rabbitmq_connections_opened_total"
                   ],
-                  "moved":false,
-                  "graph":{
-                    "type":"Line",
-                    "step":false,
-                    "smooth":false,
-                    "showSymbol":true,
-                    "showXAxis":true,
-                    "showYAxis":true
-                  },
-                  "widget":{
-                    "title":"Connections Opened"
-                  }
+                  "typesOfMQE": [
+                    "TIME_SERIES_VALUES"
+                  ]
                 }
               ]
             },
             {
-              "name":"Node",
-              "children":[
+              "name": "Node",
+              "children": [
                 {
-                  "x":0,
-                  "y":0,
-                  "w":24,
-                  "h":48,
-                  "i":"0",
-                  "type":"Widget",
-                  "graph":{
-                    "type":"InstanceList",
-                    "dashboardName":"RabbitMQ-Node",
-                    "fontSize":12
-                  },
-                  "metrics":[
-
-                  ],
-                  "metricTypes":[
-
-                  ],
-                  "metricConfig":[
-
-                  ],
-                  "id":"16-1-0"
+                  "x": 0,
+                  "y": 0,
+                  "w": 24,
+                  "h": 48,
+                  "i": "0",
+                  "type": "Widget",
+                  "graph": {
+                    "type": "InstanceList",
+                    "dashboardName": "RabbitMQ-Node",
+                    "fontSize": 12
+                  },
+                  "metrics": [],
+                  "metricTypes": [],
+                  "metricConfig": [],
+                  "id": "16-1-0"
                 }
               ]
             }
           ],
-          "id":"16",
-          "activedTabIndex":0,
-          "moved":false
+          "id": "16",
+          "activedTabIndex": 0,
+          "moved": false
         }
       ],
-      "layer":"RABBITMQ",
-      "entity":"Service",
-      "name":"RabbitMQ-Cluster",
-      "id":"RabbitMQ-Cluster",
-      "isRoot":false
+      "layer": "RABBITMQ",
+      "entity": "Service",
+      "name": "RabbitMQ-Cluster",
+      "id": "RabbitMQ-Cluster",
+      "isRoot": false
     }
   }
 ]
diff --git 
a/oap-server/server-starter/src/main/resources/ui-initialized-templates/rabbitmq/rabbitmq-node.json
 
b/oap-server/server-starter/src/main/resources/ui-initialized-templates/rabbitmq/rabbitmq-node.json
index 3e89b51944..2417331ee7 100644
--- 
a/oap-server/server-starter/src/main/resources/ui-initialized-templates/rabbitmq/rabbitmq-node.json
+++ 
b/oap-server/server-starter/src/main/resources/ui-initialized-templates/rabbitmq/rabbitmq-node.json
@@ -1,712 +1,734 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
 [
   {
     "id": "RabbitMQ-Node",
     "configuration": {
-      "children":[
+      "children": [
         {
-          "x":0,
-          "y":0,
-          "w":3,
-          "h":6,
-          "i":"8",
-          "type":"Widget",
-          "id":"8",
-          "metricTypes":[
-            "readMetricsValue"
-          ],
-          "metrics":[
+          "x": 0,
+          "y": 0,
+          "w": 3,
+          "h": 6,
+          "i": "8",
+          "type": "Widget",
+          "id": "8",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Card",
+            "fontSize": 14,
+            "textAlign": "center",
+            "showUnit": true
+          },
+          "widget": {
+            "title": "Ready Messages"
+          },
+          "metricMode": "Expression",
+          "metricConfig": [],
+          "expressions": [
             "meter_rabbitmq_node_queue_messages_ready"
           ],
-          "moved":false,
-          "graph":{
-            "type":"Card",
-            "fontSize":14,
-            "textAlign":"center",
-            "showUnit":true
-          },
-          "widget":{
-            "title":"Ready Messages"
-          }
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
+          ]
         },
         {
-          "x":6,
-          "y":0,
-          "w":3,
-          "h":6,
-          "i":"10",
-          "type":"Widget",
-          "id":"10",
-          "metricTypes":[
-            "readMetricsValue"
-          ],
-          "metrics":[
+          "x": 6,
+          "y": 0,
+          "w": 3,
+          "h": 6,
+          "i": "10",
+          "type": "Widget",
+          "id": "10",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Card",
+            "fontSize": 14,
+            "textAlign": "center",
+            "showUnit": true
+          },
+          "widget": {
+            "title": "Incoming Messages"
+          },
+          "metricMode": "Expression",
+          "metricConfig": [],
+          "expressions": [
             "meter_rabbitmq_node_incoming_messages"
           ],
-          "moved":false,
-          "graph":{
-            "type":"Card",
-            "fontSize":14,
-            "textAlign":"center",
-            "showUnit":true
-          },
-          "widget":{
-            "title":"Incoming Messages"
-          }
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
+          ]
         },
         {
-          "x":3,
-          "y":0,
-          "w":3,
-          "h":6,
-          "i":"11",
-          "type":"Widget",
-          "id":"11",
-          "metricTypes":[
-            "readMetricsValue"
-          ],
-          "metrics":[
+          "x": 3,
+          "y": 0,
+          "w": 3,
+          "h": 6,
+          "i": "11",
+          "type": "Widget",
+          "id": "11",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Card",
+            "fontSize": 14,
+            "textAlign": "center",
+            "showUnit": true
+          },
+          "widget": {
+            "title": "Unacknowledged Messages"
+          },
+          "metricMode": "Expression",
+          "metricConfig": [],
+          "expressions": [
             "meter_rabbitmq_node_unacknowledged_messages"
           ],
-          "moved":false,
-          "graph":{
-            "type":"Card",
-            "fontSize":14,
-            "textAlign":"center",
-            "showUnit":true
-          },
-          "widget":{
-            "title":"Unacknowledged Messages"
-          }
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
+          ]
         },
         {
-          "x":9,
-          "y":0,
-          "w":3,
-          "h":6,
-          "i":"12",
-          "type":"Widget",
-          "id":"12",
-          "metricTypes":[
-            "readMetricsValue"
-          ],
-          "metrics":[
+          "x": 9,
+          "y": 0,
+          "w": 3,
+          "h": 6,
+          "i": "12",
+          "type": "Widget",
+          "id": "12",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Card",
+            "fontSize": 14,
+            "textAlign": "center",
+            "showUnit": true
+          },
+          "widget": {
+            "title": "Outgoing Messages"
+          },
+          "metricMode": "Expression",
+          "metricConfig": [],
+          "expressions": [
             "meter_rabbitmq_node_outgoing_messages_total"
           ],
-          "moved":false,
-          "graph":{
-            "type":"Card",
-            "fontSize":14,
-            "textAlign":"center",
-            "showUnit":true
-          },
-          "widget":{
-            "title":"Outgoing Messages"
-          }
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
+          ]
         },
         {
-          "x":18,
-          "y":0,
-          "w":2,
-          "h":6,
-          "i":"13",
-          "type":"Widget",
-          "id":"13",
-          "metricTypes":[
-            "readMetricsValue"
-          ],
-          "metrics":[
+          "x": 18,
+          "y": 0,
+          "w": 2,
+          "h": 6,
+          "i": "13",
+          "type": "Widget",
+          "id": "13",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Card",
+            "fontSize": 14,
+            "textAlign": "center",
+            "showUnit": true
+          },
+          "widget": {
+            "title": "Collections"
+          },
+          "metricMode": "Expression",
+          "metricConfig": [],
+          "expressions": [
             "meter_rabbitmq_node_connections_total"
           ],
-          "moved":false,
-          "graph":{
-            "type":"Card",
-            "fontSize":14,
-            "textAlign":"center",
-            "showUnit":true
-          },
-          "widget":{
-            "title":"Collections"
-          }
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
+          ]
         },
         {
-          "x":12,
-          "y":0,
-          "w":3,
-          "h":6,
-          "i":"14",
-          "type":"Widget",
-          "id":"14",
-          "metricTypes":[
-            "readMetricsValue"
-          ],
-          "metrics":[
+          "x": 12,
+          "y": 0,
+          "w": 3,
+          "h": 6,
+          "i": "14",
+          "type": "Widget",
+          "id": "14",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Card",
+            "fontSize": 14,
+            "textAlign": "center",
+            "showUnit": true
+          },
+          "widget": {
+            "title": "Publishers"
+          },
+          "metricMode": "Expression",
+          "metricConfig": [],
+          "expressions": [
             "meter_rabbitmq_node_publisher_total"
           ],
-          "moved":false,
-          "graph":{
-            "type":"Card",
-            "fontSize":14,
-            "textAlign":"center",
-            "showUnit":true
-          },
-          "widget":{
-            "title":"Publishers"
-          }
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
+          ]
         },
         {
-          "x":15,
-          "y":0,
-          "w":3,
-          "h":6,
-          "i":"15",
-          "type":"Widget",
-          "id":"15",
-          "metricTypes":[
-            "readMetricsValue"
-          ],
-          "metrics":[
+          "x": 15,
+          "y": 0,
+          "w": 3,
+          "h": 6,
+          "i": "15",
+          "type": "Widget",
+          "id": "15",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Card",
+            "fontSize": 14,
+            "textAlign": "center",
+            "showUnit": true
+          },
+          "widget": {
+            "title": "Consumers"
+          },
+          "metricMode": "Expression",
+          "metricConfig": [],
+          "expressions": [
             "meter_rabbitmq_node_consumer_total"
           ],
-          "moved":false,
-          "graph":{
-            "type":"Card",
-            "fontSize":14,
-            "textAlign":"center",
-            "showUnit":true
-          },
-          "widget":{
-            "title":"Consumers"
-          }
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
+          ]
         },
         {
-          "x":20,
-          "y":0,
-          "w":2,
-          "h":6,
-          "i":"16",
-          "type":"Widget",
-          "id":"16",
-          "metricTypes":[
-            "readMetricsValue"
-          ],
-          "metrics":[
+          "x": 20,
+          "y": 0,
+          "w": 2,
+          "h": 6,
+          "i": "16",
+          "type": "Widget",
+          "id": "16",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Card",
+            "fontSize": 14,
+            "textAlign": "center",
+            "showUnit": true
+          },
+          "widget": {
+            "title": "Channels"
+          },
+          "metricMode": "Expression",
+          "metricConfig": [],
+          "expressions": [
             "meter_rabbitmq_node_channel_total"
           ],
-          "moved":false,
-          "graph":{
-            "type":"Card",
-            "fontSize":14,
-            "textAlign":"center",
-            "showUnit":true
-          },
-          "widget":{
-            "title":"Channels"
-          }
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
+          ]
         },
         {
-          "x":22,
-          "y":0,
-          "w":2,
-          "h":6,
-          "i":"17",
-          "type":"Widget",
-          "id":"17",
-          "metricTypes":[
-            "readMetricsValue"
-          ],
-          "metrics":[
+          "x": 22,
+          "y": 0,
+          "w": 2,
+          "h": 6,
+          "i": "17",
+          "type": "Widget",
+          "id": "17",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Card",
+            "fontSize": 14,
+            "textAlign": "center",
+            "showUnit": true
+          },
+          "widget": {
+            "title": "Queues"
+          },
+          "metricMode": "Expression",
+          "metricConfig": [],
+          "expressions": [
             "meter_rabbitmq_node_queue_total"
           ],
-          "moved":false,
-          "graph":{
-            "type":"Card",
-            "fontSize":14,
-            "textAlign":"center",
-            "showUnit":true
-          },
-          "widget":{
-            "title":"Queues"
-          }
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
+          ]
         },
         {
-          "x":0,
-          "y":6,
-          "w":4,
-          "h":5,
-          "i":"0",
-          "type":"Widget",
-          "id":"0",
-          "metricTypes":[
-            "readMetricsValue"
-          ],
-          "metrics":[
-            "meter_rabbitmq_node_allocated_used_percent"
-          ],
-          "moved":false,
-          "graph":{
-            "type":"Card",
-            "fontSize":14,
-            "textAlign":"center",
-            "showUnit":true
-          },
-          "widget":{
-            "title":"Allocated Used"
-          },
-          "metricConfig":[
+          "x": 0,
+          "y": 6,
+          "w": 4,
+          "h": 5,
+          "i": "0",
+          "type": "Widget",
+          "id": "0",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Card",
+            "fontSize": 14,
+            "textAlign": "center",
+            "showUnit": true
+          },
+          "widget": {
+            "title": "Allocated Used"
+          },
+          "metricConfig": [
             {
-              "unit":"%",
-              "calculation":"percentage"
+              "unit": "%"
             }
+          ],
+          "metricMode": "Expression",
+          "expressions": [
+            "meter_rabbitmq_node_allocated_used_percent/100"
+          ],
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
           ]
         },
         {
-          "x":8,
-          "y":6,
-          "w":4,
-          "h":5,
-          "i":"1",
-          "type":"Widget",
-          "id":"1",
-          "metricTypes":[
-            "readMetricsValue"
-          ],
-          "metrics":[
-            "meter_rabbitmq_node_allocated_used_bytes"
-          ],
-          "moved":false,
-          "graph":{
-            "type":"Card",
-            "fontSize":14,
-            "textAlign":"center",
-            "showUnit":true
-          },
-          "widget":{
-            "title":"Allocated Used"
-          },
-          "metricConfig":[
+          "x": 8,
+          "y": 6,
+          "w": 4,
+          "h": 5,
+          "i": "1",
+          "type": "Widget",
+          "id": "1",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Card",
+            "fontSize": 14,
+            "textAlign": "center",
+            "showUnit": true
+          },
+          "widget": {
+            "title": "Allocated Used"
+          },
+          "metricConfig": [
             {
-              "calculation":"byteToMB",
-              "unit":"MB"
+              "unit": "MB"
             }
+          ],
+          "metricMode": "Expression",
+          "expressions": [
+            "meter_rabbitmq_node_allocated_used_bytes/1024/1204"
+          ],
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
           ]
         },
         {
-          "x":12,
-          "y":6,
-          "w":4,
-          "h":5,
-          "i":"2",
-          "type":"Widget",
-          "id":"2",
-          "metricTypes":[
-            "readMetricsValue"
-          ],
-          "metrics":[
-            "meter_rabbitmq_node_allocated_unused_bytes"
-          ],
-          "moved":false,
-          "graph":{
-            "type":"Card",
-            "fontSize":14,
-            "textAlign":"center",
-            "showUnit":true
-          },
-          "widget":{
-            "title":"Allocated Unused"
-          },
-          "metricConfig":[
+          "x": 12,
+          "y": 6,
+          "w": 4,
+          "h": 5,
+          "i": "2",
+          "type": "Widget",
+          "id": "2",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Card",
+            "fontSize": 14,
+            "textAlign": "center",
+            "showUnit": true
+          },
+          "widget": {
+            "title": "Allocated Unused"
+          },
+          "metricConfig": [
             {
-              "calculation":"byteToMB",
-              "unit":"MB"
+              "unit": "MB"
             }
+          ],
+          "metricMode": "Expression",
+          "expressions": [
+            "meter_rabbitmq_node_allocated_unused_bytes/1024/1024"
+          ],
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
           ]
         },
         {
-          "x":20,
-          "y":6,
-          "w":4,
-          "h":5,
-          "i":"3",
-          "type":"Widget",
-          "id":"3",
-          "metricTypes":[
-            "readMetricsValue"
-          ],
-          "metrics":[
-            "meter_rabbitmq_node_process_resident_memory_bytes"
-          ],
-          "moved":false,
-          "graph":{
-            "type":"Card",
-            "fontSize":14,
-            "textAlign":"center",
-            "showUnit":true
-          },
-          "widget":{
-            "title":"Resident Set Size"
-          },
-          "metricConfig":[
+          "x": 20,
+          "y": 6,
+          "w": 4,
+          "h": 5,
+          "i": "3",
+          "type": "Widget",
+          "id": "3",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Card",
+            "fontSize": 14,
+            "textAlign": "center",
+            "showUnit": true
+          },
+          "widget": {
+            "title": "Resident Set Size"
+          },
+          "metricConfig": [
             {
-              "calculation":"byteToMB",
-              "unit":"MB"
+              "unit": "MB"
             }
+          ],
+          "metricMode": "Expression",
+          "expressions": [
+            "meter_rabbitmq_node_process_resident_memory_bytes/1024/1024"
+          ],
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
           ]
         },
         {
-          "x":4,
-          "y":6,
-          "w":4,
-          "h":5,
-          "i":"4",
-          "type":"Widget",
-          "id":"4",
-          "metricTypes":[
-            "readMetricsValue"
-          ],
-          "metrics":[
-            "meter_rabbitmq_node_allocated_unused_percent"
-          ],
-          "moved":false,
-          "graph":{
-            "type":"Card",
-            "fontSize":14,
-            "textAlign":"center",
-            "showUnit":true
-          },
-          "widget":{
-            "title":"Allocated Unused"
-          },
-          "metricConfig":[
+          "x": 4,
+          "y": 6,
+          "w": 4,
+          "h": 5,
+          "i": "4",
+          "type": "Widget",
+          "id": "4",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Card",
+            "fontSize": 14,
+            "textAlign": "center",
+            "showUnit": true
+          },
+          "widget": {
+            "title": "Allocated Unused"
+          },
+          "metricConfig": [
             {
-              "unit":"%",
-              "calculation":"percentage"
+              "unit": "%"
             }
+          ],
+          "metricMode": "Expression",
+          "expressions": [
+            "meter_rabbitmq_node_allocated_unused_percent/100"
+          ],
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
           ]
         },
         {
-          "x":16,
-          "y":6,
-          "w":4,
-          "h":5,
-          "i":"5",
-          "type":"Widget",
-          "id":"5",
-          "metricTypes":[
-            "readMetricsValue"
-          ],
-          "metrics":[
-            "meter_rabbitmq_node_allocated_total_bytes"
-          ],
-          "moved":false,
-          "graph":{
-            "type":"Card",
-            "fontSize":14,
-            "textAlign":"center",
-            "showUnit":true
-          },
-          "widget":{
-            "title":"Allocated Total"
-          },
-          "metricConfig":[
+          "x": 16,
+          "y": 6,
+          "w": 4,
+          "h": 5,
+          "i": "5",
+          "type": "Widget",
+          "id": "5",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Card",
+            "fontSize": 14,
+            "textAlign": "center",
+            "showUnit": true
+          },
+          "widget": {
+            "title": "Allocated Total"
+          },
+          "metricConfig": [
             {
-              "calculation":"byteToMB",
-              "unit":"MB"
+              "unit": "MB"
             }
+          ],
+          "metricMode": "Expression",
+          "expressions": [
+            "meter_rabbitmq_node_allocated_total_bytes/1024/1024"
+          ],
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
           ]
         },
         {
-          "x":0,
-          "y":11,
-          "w":12,
-          "h":14,
-          "i":"6",
-          "type":"Widget",
-          "id":"6",
-          "metricTypes":[
-            "readMetricsValues",
-            "readMetricsValues",
-            "readMetricsValues",
-            "readMetricsValues"
-          ],
-          "metrics":[
-            "meter_rabbitmq_node_allocated_used_bytes",
-            "meter_rabbitmq_node_allocated_unused_bytes",
-            "meter_rabbitmq_node_process_resident_memory_bytes"
-          ],
-          "moved":false,
-          "graph":{
-            "type":"Line",
-            "step":false,
-            "smooth":false,
-            "showSymbol":true,
-            "showXAxis":true,
-            "showYAxis":true
-          },
-          "widget":{
-            "title":"Allocators (MB)"
-          },
-          "metricConfig":[
+          "x": 0,
+          "y": 11,
+          "w": 12,
+          "h": 14,
+          "i": "6",
+          "type": "Widget",
+          "id": "6",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Line",
+            "step": false,
+            "smooth": false,
+            "showSymbol": true,
+            "showXAxis": true,
+            "showYAxis": true
+          },
+          "widget": {
+            "title": "Allocators (MB)"
+          },
+          "metricConfig": [
             {
-              "calculation":"byteToMB",
-              "label":"allocated_used"
+              "label": "allocated_used"
             },
             {
-              "calculation":"byteToMB",
-              "label":"allocated_unused"
+              "label": "allocated_unused"
             },
             {
-              "calculation":"byteToMB",
-              "label":"resident_set_size"
+              "label": "resident_set_size"
             }
+          ],
+          "metricMode": "Expression",
+          "expressions": [
+            "meter_rabbitmq_node_allocated_used_bytes/1024/1024",
+            "meter_rabbitmq_node_allocated_unused_bytes/1024/1024",
+            "meter_rabbitmq_node_process_resident_memory_bytes/1024/1024"
+          ],
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES",
+            "TIME_SERIES_VALUES",
+            "TIME_SERIES_VALUES"
           ]
         },
         {
-          "x":12,
-          "y":11,
-          "w":12,
-          "h":14,
-          "i":"7",
-          "type":"Widget",
-          "id":"7",
-          "metricTypes":[
-            "readLabeledMetricsValues"
-          ],
-          "metrics":[
-            "meter_rabbitmq_node_allocated_by_type"
-          ],
-          "moved":false,
-          "graph":{
-            "type":"Line",
-            "step":false,
-            "smooth":false,
-            "showSymbol":true,
-            "showXAxis":true,
-            "showYAxis":true
-          },
-          "metricConfig":[
-            {
-              "calculation":"byteToMB"
-            }
-          ],
-          "widget":{
-            "title":"Allocated By Type (MB)"
-          }
+          "x": 12,
+          "y": 11,
+          "w": 12,
+          "h": 14,
+          "i": "7",
+          "type": "Widget",
+          "id": "7",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Line",
+            "step": false,
+            "smooth": false,
+            "showSymbol": true,
+            "showXAxis": true,
+            "showYAxis": true
+          },
+          "metricConfig": [],
+          "widget": {
+            "title": "Allocated By Type (MB)"
+          },
+          "metricMode": "Expression",
+          "expressions": [
+            "meter_rabbitmq_node_allocated_by_type/1024/1024"
+          ],
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
+          ]
         },
         {
-          "x":0,
-          "y":25,
-          "w":8,
-          "h":14,
-          "i":"18",
-          "type":"Widget",
-          "id":"18",
-          "metricTypes":[
-            "readLabeledMetricsValues"
-          ],
-          "metrics":[
-            "meter_rabbitmq_node_allocated_multiblock_used"
-          ],
-          "moved":false,
-          "graph":{
-            "type":"Line",
-            "step":false,
-            "smooth":false,
-            "showSymbol":true,
-            "showXAxis":true,
-            "showYAxis":true
-          },
-          "metricConfig":[
-            {
-              "calculation":"byteToMB"
-            }
-          ],
-          "widget":{
-            "title":"Multiblock Used (MB)"
-          }
+          "x": 0,
+          "y": 25,
+          "w": 8,
+          "h": 14,
+          "i": "18",
+          "type": "Widget",
+          "id": "18",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Line",
+            "step": false,
+            "smooth": false,
+            "showSymbol": true,
+            "showXAxis": true,
+            "showYAxis": true
+          },
+          "metricConfig": [],
+          "widget": {
+            "title": "Multiblock Used (MB)"
+          },
+          "metricMode": "Expression",
+          "expressions": [
+            "meter_rabbitmq_node_allocated_multiblock_used/1024/1024"
+          ],
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
+          ]
         },
         {
-          "x":0,
-          "y":39,
-          "w":8,
-          "h":14,
-          "i":"19",
-          "type":"Widget",
-          "id":"19",
-          "metricTypes":[
-            "readLabeledMetricsValues"
-          ],
-          "metrics":[
-            "meter_rabbitmq_node_allocated_multiblock_unused"
-          ],
-          "moved":false,
-          "graph":{
-            "type":"Line",
-            "step":false,
-            "smooth":false,
-            "showSymbol":true,
-            "showXAxis":true,
-            "showYAxis":true
-          },
-          "metricConfig":[
-            {
-              "calculation":"byteToMB"
-            }
-          ],
-          "widget":{
-            "title":"Multiblock Unused (MB)"
-          }
+          "x": 0,
+          "y": 39,
+          "w": 8,
+          "h": 14,
+          "i": "19",
+          "type": "Widget",
+          "id": "19",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Line",
+            "step": false,
+            "smooth": false,
+            "showSymbol": true,
+            "showXAxis": true,
+            "showYAxis": true
+          },
+          "metricConfig": [],
+          "widget": {
+            "title": "Multiblock Unused (MB)"
+          },
+          "metricMode": "Expression",
+          "expressions": [
+            "meter_rabbitmq_node_allocated_multiblock_unused/1024/1024"
+          ],
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
+          ]
         },
         {
-          "x":8,
-          "y":25,
-          "w":8,
-          "h":14,
-          "i":"20",
-          "type":"Widget",
-          "id":"20",
-          "metricTypes":[
-            "readLabeledMetricsValues"
-          ],
-          "metrics":[
-            "meter_rabbitmq_node_allocated_multiblock_pool_used"
-          ],
-          "moved":false,
-          "graph":{
-            "type":"Line",
-            "step":false,
-            "smooth":false,
-            "showSymbol":true,
-            "showXAxis":true,
-            "showYAxis":true
-          },
-          "widget":{
-            "title":"Multiblock Pool Used (MB)"
-          },
-          "metricConfig":[
-            {
-              "calculation":"byteToMB",
-              "unit":""
-            }
+          "x": 8,
+          "y": 25,
+          "w": 8,
+          "h": 14,
+          "i": "20",
+          "type": "Widget",
+          "id": "20",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Line",
+            "step": false,
+            "smooth": false,
+            "showSymbol": true,
+            "showXAxis": true,
+            "showYAxis": true
+          },
+          "widget": {
+            "title": "Multiblock Pool Used (MB)"
+          },
+          "metricConfig": [],
+          "metricMode": "Expression",
+          "expressions": [
+            "meter_rabbitmq_node_allocated_multiblock_pool_used/1024/1024"
+          ],
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
           ]
         },
         {
-          "x":8,
-          "y":39,
-          "w":8,
-          "h":14,
-          "i":"21",
-          "type":"Widget",
-          "id":"21",
-          "metricTypes":[
-            "readLabeledMetricsValues"
-          ],
-          "metrics":[
-            "meter_rabbitmq_node_allocated_multiblock_pool_unused"
-          ],
-          "moved":false,
-          "graph":{
-            "type":"Line",
-            "step":false,
-            "smooth":false,
-            "showSymbol":true,
-            "showXAxis":true,
-            "showYAxis":true
-          },
-          "widget":{
-            "title":"Multiblock Pool Unused (MB)"
-          },
-          "metricConfig":[
-            {
-              "calculation":"byteToMB"
-            }
+          "x": 8,
+          "y": 39,
+          "w": 8,
+          "h": 14,
+          "i": "21",
+          "type": "Widget",
+          "id": "21",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Line",
+            "step": false,
+            "smooth": false,
+            "showSymbol": true,
+            "showXAxis": true,
+            "showYAxis": true
+          },
+          "widget": {
+            "title": "Multiblock Pool Unused (MB)"
+          },
+          "metricConfig": [],
+          "metricMode": "Expression",
+          "expressions": [
+            "meter_rabbitmq_node_allocated_multiblock_pool_unused/1024/1024"
+          ],
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
           ]
         },
         {
-          "x":16,
-          "y":25,
-          "w":8,
-          "h":14,
-          "i":"22",
-          "type":"Widget",
-          "id":"22",
-          "metricTypes":[
-            "readLabeledMetricsValues"
-          ],
-          "metrics":[
-            "meter_rabbitmq_node_allocated_singleblock_used"
-          ],
-          "moved":false,
-          "graph":{
-            "type":"Line",
-            "step":false,
-            "smooth":false,
-            "showSymbol":true,
-            "showXAxis":true,
-            "showYAxis":true
-          },
-          "widget":{
-            "title":"Singleblock Used (MB)"
-          },
-          "metricConfig":[
-            {
-              "calculation":"byteToMB"
-            }
+          "x": 16,
+          "y": 25,
+          "w": 8,
+          "h": 14,
+          "i": "22",
+          "type": "Widget",
+          "id": "22",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Line",
+            "step": false,
+            "smooth": false,
+            "showSymbol": true,
+            "showXAxis": true,
+            "showYAxis": true
+          },
+          "widget": {
+            "title": "Singleblock Used (MB)"
+          },
+          "metricConfig": [],
+          "metricMode": "Expression",
+          "expressions": [
+            "meter_rabbitmq_node_allocated_singleblock_used/1024/1024"
+          ],
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
           ]
         },
         {
-          "x":16,
-          "y":39,
-          "w":8,
-          "h":14,
-          "i":"23",
-          "type":"Widget",
-          "id":"23",
-          "metricTypes":[
-            "readLabeledMetricsValues"
-          ],
-          "metrics":[
-            "meter_rabbitmq_node_allocated_singleblock_unused"
-          ],
-          "moved":false,
-          "graph":{
-            "type":"Line",
-            "step":false,
-            "smooth":false,
-            "showSymbol":true,
-            "showXAxis":true,
-            "showYAxis":true
-          },
-          "widget":{
-            "title":"Singleblock Unused (MB)"
-          },
-          "metricConfig":[
-            {
-              "calculation":"byteToMB"
-            }
+          "x": 16,
+          "y": 39,
+          "w": 8,
+          "h": 14,
+          "i": "23",
+          "type": "Widget",
+          "id": "23",
+          "metricTypes": [],
+          "metrics": [],
+          "moved": false,
+          "graph": {
+            "type": "Line",
+            "step": false,
+            "smooth": false,
+            "showSymbol": true,
+            "showXAxis": true,
+            "showYAxis": true
+          },
+          "widget": {
+            "title": "Singleblock Unused (MB)"
+          },
+          "metricConfig": [],
+          "metricMode": "Expression",
+          "expressions": [
+            "meter_rabbitmq_node_allocated_singleblock_unused/1024/1024"
+          ],
+          "typesOfMQE": [
+            "TIME_SERIES_VALUES"
           ]
         }
       ],
-      "layer":"RABBITMQ",
-      "entity":"ServiceInstance",
-      "name":"RabbitMQ-Node",
-      "id":"RabbitMQ-Node"
+      "layer": "RABBITMQ",
+      "entity": "ServiceInstance",
+      "name": "RabbitMQ-Node",
+      "id": "RabbitMQ-Node"
     }
   }
 ]
diff --git 
a/oap-server/server-starter/src/main/resources/ui-initialized-templates/rabbitmq/rabbitmq-root.json
 
b/oap-server/server-starter/src/main/resources/ui-initialized-templates/rabbitmq/rabbitmq-root.json
index fc48f08ede..a5d0adea19 100644
--- 
a/oap-server/server-starter/src/main/resources/ui-initialized-templates/rabbitmq/rabbitmq-root.json
+++ 
b/oap-server/server-starter/src/main/resources/ui-initialized-templates/rabbitmq/rabbitmq-root.json
@@ -1,20 +1,3 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
 [
   {
     "id": "RabbitMQ-Root",
diff --git a/test/e2e-v2/cases/rabbitmq/expected/metrics-has-value-label.yml 
b/test/e2e-v2/cases/rabbitmq/expected/metrics-has-value-instance-label.yml
similarity index 68%
copy from test/e2e-v2/cases/rabbitmq/expected/metrics-has-value-label.yml
copy to test/e2e-v2/cases/rabbitmq/expected/metrics-has-value-instance-label.yml
index 0c957c3c77..fded7014c6 100644
--- a/test/e2e-v2/cases/rabbitmq/expected/metrics-has-value-label.yml
+++ b/test/e2e-v2/cases/rabbitmq/expected/metrics-has-value-instance-label.yml
@@ -13,13 +13,21 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-{{- contains . }}
-- key: {{ notEmpty .key }}
-  value:
-  {{- contains .value }}
-  - key: {{ notEmpty .key }}
-    value:
-      value: {{ ge .value.value 0 }}
-      isemptyvalue: false
-  {{- end }}
-{{- end }}
+type: TIME_SERIES_VALUES
+results:
+  {{- contains .results }}
+  - metric:
+      labels:
+      - key: _
+        value: std_alloc
+    values:
+      {{- contains .values }}
+      - id: {{ notEmpty .id }}
+        value: {{ .value }}
+        traceid: null
+      - id: {{ notEmpty .id }}
+        value: null
+        traceid: null
+      {{- end}}
+  {{- end}}
+error: null
\ No newline at end of file
diff --git a/test/e2e-v2/cases/rabbitmq/expected/metrics-has-value-label.yml 
b/test/e2e-v2/cases/rabbitmq/expected/metrics-has-value-service-label.yml
similarity index 68%
rename from test/e2e-v2/cases/rabbitmq/expected/metrics-has-value-label.yml
rename to 
test/e2e-v2/cases/rabbitmq/expected/metrics-has-value-service-label.yml
index 0c957c3c77..ee4db23d10 100644
--- a/test/e2e-v2/cases/rabbitmq/expected/metrics-has-value-label.yml
+++ b/test/e2e-v2/cases/rabbitmq/expected/metrics-has-value-service-label.yml
@@ -13,13 +13,21 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-{{- contains . }}
-- key: {{ notEmpty .key }}
-  value:
-  {{- contains .value }}
-  - key: {{ notEmpty .key }}
-    value:
-      value: {{ ge .value.value 0 }}
-      isemptyvalue: false
-  {{- end }}
-{{- end }}
+type: TIME_SERIES_VALUES
+results:
+  {{- contains .results }}
+  - metric:
+      labels:
+      - key: _
+        value: rmq0:15692
+    values:
+      {{- contains .values }}
+      - id: {{ notEmpty .id }}
+        value: {{ .value }}
+        traceid: null
+      - id: {{ notEmpty .id }}
+        value: null
+        traceid: null
+      {{- end}}
+  {{- end}}
+error: null
\ No newline at end of file
diff --git a/test/e2e-v2/cases/rabbitmq/expected/metrics-has-value.yml 
b/test/e2e-v2/cases/rabbitmq/expected/metrics-has-value.yml
index 4411655352..c4bbbafa3b 100644
--- a/test/e2e-v2/cases/rabbitmq/expected/metrics-has-value.yml
+++ b/test/e2e-v2/cases/rabbitmq/expected/metrics-has-value.yml
@@ -13,9 +13,19 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-{{- contains . }}
-- key: {{ notEmpty .key }}
-  value:
-    value: {{ ge .value.value 0 }}
-    isemptyvalue: false
-{{- end }}
+type: TIME_SERIES_VALUES
+results:
+  {{- contains .results }}
+  - metric:
+      labels: []
+    values:
+      {{- contains .values }}
+      - id: {{ notEmpty .id }}
+        value: {{ .value }}
+        traceid: null
+      - id: {{ notEmpty .id }}
+        value: null
+        traceid: null
+      {{- end}}
+  {{- end}}
+error: null
\ No newline at end of file
diff --git a/test/e2e-v2/cases/rabbitmq/rabbitmq-cases.yaml 
b/test/e2e-v2/cases/rabbitmq/rabbitmq-cases.yaml
index 16e5cba88d..19b0ddad8d 100644
--- a/test/e2e-v2/cases/rabbitmq/rabbitmq-cases.yaml
+++ b/test/e2e-v2/cases/rabbitmq/rabbitmq-cases.yaml
@@ -19,97 +19,97 @@ cases:
   # service cases
   - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql service ls
     expected: expected/service.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_memory_available_before_publisher_blocked 
--service-name=rabbitmq::rabbitmq-cluster | yq e 'to_entries | with(.[] ; 
.value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_disk_space_available_before_publisher_blocked 
--service-name=rabbitmq::rabbitmq-cluster | yq e 'to_entries | with(.[] ; 
.value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_file_descriptors_available 
--service-name=rabbitmq::rabbitmq-cluster | yq e 'to_entries | with(.[] ; 
.value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_tcp_socket_available 
--service-name=rabbitmq::rabbitmq-cluster | yq e 'to_entries | with(.[] ; 
.value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_message_ready_delivered_consumers 
--service-name=rabbitmq::rabbitmq-cluster | yq e 'to_entries | with(.[] ; 
.value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_message_unacknowledged_delivered_consumers 
--service-name=rabbitmq::rabbitmq-cluster | yq e 'to_entries | with(.[] ; 
.value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_messages_published 
--service-name=rabbitmq::rabbitmq-cluster | yq e 'to_entries | with(.[] ; 
.value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_messages_confirmed 
--service-name=rabbitmq::rabbitmq-cluster | yq e 'to_entries | with(.[] ; 
.value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_messages_routed --service-name=rabbitmq::rabbitmq-cluster 
| yq e 'to_entries | with(.[] ; .value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_messages_unconfirmed 
--service-name=rabbitmq::rabbitmq-cluster | yq e 'to_entries | with(.[] ; 
.value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_messages_unroutable_dropped 
--service-name=rabbitmq::rabbitmq-cluster | yq e 'to_entries | with(.[] ; 
.value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_messages_unroutable_returned 
--service-name=rabbitmq::rabbitmq-cluster | yq e 'to_entries | with(.[] ; 
.value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_queues --service-name=rabbitmq::rabbitmq-cluster | yq e 
'to_entries | with(.[] ; .value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_queues_declared_total 
--service-name=rabbitmq::rabbitmq-cluster | yq e 'to_entries | with(.[] ; 
.value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_queues_created_total 
--service-name=rabbitmq::rabbitmq-cluster | yq e 'to_entries | with(.[] ; 
.value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_queues_deleted_total 
--service-name=rabbitmq::rabbitmq-cluster | yq e 'to_entries | with(.[] ; 
.value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_channels --service-name=rabbitmq::rabbitmq-cluster | yq e 
'to_entries | with(.[] ; .value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_channels_opened_total 
--service-name=rabbitmq::rabbitmq-cluster | yq e 'to_entries | with(.[] ; 
.value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_channels_closed_total 
--service-name=rabbitmq::rabbitmq-cluster | yq e 'to_entries | with(.[] ; 
.value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_connections --service-name=rabbitmq::rabbitmq-cluster | 
yq e 'to_entries | with(.[] ; .value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_connections_opened_total 
--service-name=rabbitmq::rabbitmq-cluster | yq e 'to_entries | with(.[] ; 
.value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_connections_closed_total 
--service-name=rabbitmq::rabbitmq-cluster | yq e 'to_entries | with(.[] ; 
.value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_memory_available_before_publisher_blocked 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_disk_space_available_before_publisher_blocked 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_file_descriptors_available 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_tcp_socket_available 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_message_ready_delivered_consumers 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_message_unacknowledged_delivered_consumers 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_messages_published 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_messages_confirmed 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_messages_routed 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_messages_unconfirmed 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_messages_unroutable_dropped 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_messages_unroutable_returned 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_queues --service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_queues_declared_total 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_queues_created_total 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_queues_deleted_total 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_channels --service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_channels_opened_total 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_channels_closed_total 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_connections 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_connections_opened_total 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_connections_closed_total 
--service-name=rabbitmq::rabbitmq-cluster 
+    expected: expected/metrics-has-value-service-label.yml
 
   # instance cases
   - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql instance ls 
--service-name=rabbitmq::rabbitmq-cluster
     expected: expected/instance.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics linear 
--name=meter_rabbitmq_node_queue_messages_ready 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries' -
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_queue_messages_ready 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
     expected: expected/metrics-has-value.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics linear 
--name=meter_rabbitmq_node_incoming_messages 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries' -
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_incoming_messages 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
     expected: expected/metrics-has-value.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics linear 
--name=meter_rabbitmq_node_publisher_total 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries' -
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_publisher_total 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
     expected: expected/metrics-has-value.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics linear 
--name=meter_rabbitmq_node_connections_total 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries' -
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_connections_total 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
     expected: expected/metrics-has-value.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics linear 
--name=meter_rabbitmq_node_queue_total 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries' -
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_queue_total 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
     expected: expected/metrics-has-value.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics linear 
--name=meter_rabbitmq_node_unacknowledged_messages 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries' -
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_unacknowledged_messages 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
     expected: expected/metrics-has-value.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics linear 
--name=meter_rabbitmq_node_outgoing_messages_total 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries' -
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_outgoing_messages_total 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
     expected: expected/metrics-has-value.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics linear 
--name=meter_rabbitmq_node_consumer_total 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries' -
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_consumer_total 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
     expected: expected/metrics-has-value.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics linear 
--name=meter_rabbitmq_node_channel_total 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries' -
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_channel_total 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
     expected: expected/metrics-has-value.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics linear 
--name=meter_rabbitmq_node_allocated_used_percent 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries' -
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_allocated_used_percent 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
     expected: expected/metrics-has-value.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics linear 
--name=meter_rabbitmq_node_allocated_unused_percent 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries' -
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_allocated_unused_percent 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
     expected: expected/metrics-has-value.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics linear 
--name=meter_rabbitmq_node_allocated_used_bytes 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries' -
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_allocated_used_bytes 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
     expected: expected/metrics-has-value.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics linear 
--name=meter_rabbitmq_node_allocated_unused_bytes 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries' -
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_allocated_unused_bytes 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
     expected: expected/metrics-has-value.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics linear 
--name=meter_rabbitmq_node_allocated_total_bytes 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries' -
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_allocated_total_bytes 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
     expected: expected/metrics-has-value.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics linear 
--name=meter_rabbitmq_node_process_resident_memory_bytes 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries' -
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_process_resident_memory_bytes 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
     expected: expected/metrics-has-value.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_node_allocated_by_type 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries | with(.[] ; .value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_node_allocated_multiblock_used 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries | with(.[] ; .value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_node_allocated_multiblock_unused 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries | with(.[] ; .value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_node_allocated_multiblock_pool_used 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries | with(.[] ; .value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_node_allocated_multiblock_pool_unused 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries | with(.[] ; .value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_node_allocated_singleblock_used 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries | with(.[] ; .value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
-  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics multiple-linear 
--name=meter_rabbitmq_node_allocated_singleblock_unused 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 | yq e 
'to_entries | with(.[] ; .value=(.value | to_entries))' -
-    expected: expected/metrics-has-value-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_allocated_by_type 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
+    expected: expected/metrics-has-value-instance-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_allocated_multiblock_used 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
+    expected: expected/metrics-has-value-instance-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_allocated_multiblock_unused 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
+    expected: expected/metrics-has-value-instance-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_allocated_multiblock_pool_used 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
+    expected: expected/metrics-has-value-instance-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_allocated_multiblock_pool_unused 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
+    expected: expected/metrics-has-value-instance-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_allocated_singleblock_used 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
+    expected: expected/metrics-has-value-instance-label.yml
+  - query: swctl --display yaml 
--base-url=http://${oap_host}:${oap_12800}/graphql metrics exec 
--expression=meter_rabbitmq_node_allocated_singleblock_unused 
--service-name=rabbitmq::rabbitmq-cluster --instance-name=rmq0:15692 
+    expected: expected/metrics-has-value-instance-label.yml
 
 

Reply via email to