|
|
|
@ -526,7 +526,7 @@ |
|
|
|
|
{ |
|
|
|
|
"key": "cluster_name", |
|
|
|
|
"operator": "=", |
|
|
|
|
"value": "neutron-control-plane" |
|
|
|
|
"value": "neutron-control" |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
@ -661,7 +661,7 @@ |
|
|
|
|
{ |
|
|
|
|
"key": "cluster_name", |
|
|
|
|
"operator": "=", |
|
|
|
|
"value": "nova-control-plane" |
|
|
|
|
"value": "nova-control" |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
@ -796,7 +796,7 @@ |
|
|
|
|
{ |
|
|
|
|
"key": "cluster_name", |
|
|
|
|
"operator": "=", |
|
|
|
|
"value": "cinder-control-plane" |
|
|
|
|
"value": "cinder-control" |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
@ -848,141 +848,6 @@ |
|
|
|
|
"editable": true, |
|
|
|
|
"height": "250px", |
|
|
|
|
"panels": [ |
|
|
|
|
{ |
|
|
|
|
"cacheTimeout": null, |
|
|
|
|
"colorBackground": true, |
|
|
|
|
"colorValue": false, |
|
|
|
|
"colors": [ |
|
|
|
|
"rgba(71, 212, 59, 0.4)", |
|
|
|
|
"rgba(245, 150, 40, 0.73)", |
|
|
|
|
"rgba(225, 40, 40, 0.59)" |
|
|
|
|
], |
|
|
|
|
"datasource": null, |
|
|
|
|
"editable": true, |
|
|
|
|
"error": false, |
|
|
|
|
"format": "none", |
|
|
|
|
"gauge": { |
|
|
|
|
"maxValue": 100, |
|
|
|
|
"minValue": 0, |
|
|
|
|
"show": false, |
|
|
|
|
"thresholdLabels": false, |
|
|
|
|
"thresholdMarkers": true |
|
|
|
|
}, |
|
|
|
|
"id": 27, |
|
|
|
|
"interval": "> 60s", |
|
|
|
|
"links": [ |
|
|
|
|
{ |
|
|
|
|
"dashboard": "Neutron", |
|
|
|
|
"name": "Drilldown dashboard", |
|
|
|
|
"title": "Neutron", |
|
|
|
|
"type": "dashboard" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"maxDataPoints": 100, |
|
|
|
|
"nullPointMode": "connected", |
|
|
|
|
"nullText": null, |
|
|
|
|
"postfix": "", |
|
|
|
|
"postfixFontSize": "50%", |
|
|
|
|
"prefix": "", |
|
|
|
|
"prefixFontSize": "50%", |
|
|
|
|
"span": 2, |
|
|
|
|
"sparkline": { |
|
|
|
|
"fillColor": "rgba(31, 118, 189, 0.18)", |
|
|
|
|
"full": false, |
|
|
|
|
"lineColor": "rgb(31, 120, 193)", |
|
|
|
|
"show": false |
|
|
|
|
}, |
|
|
|
|
"targets": [ |
|
|
|
|
{ |
|
|
|
|
"column": "value", |
|
|
|
|
"condition": "", |
|
|
|
|
"dsType": "influxdb", |
|
|
|
|
"fill": "", |
|
|
|
|
"function": "last", |
|
|
|
|
"groupBy": [ |
|
|
|
|
{ |
|
|
|
|
"params": [ |
|
|
|
|
"$interval" |
|
|
|
|
], |
|
|
|
|
"type": "time" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"params": [ |
|
|
|
|
"null" |
|
|
|
|
], |
|
|
|
|
"type": "fill" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"groupByTags": [], |
|
|
|
|
"groupby_field": "", |
|
|
|
|
"interval": "", |
|
|
|
|
"measurement": "cluster_status", |
|
|
|
|
"policy": "default", |
|
|
|
|
"query": "SELECT last(\"value\") FROM \"cluster_status\" WHERE \"cluster_name\" = 'neutron' AND $timeFilter GROUP BY time($interval) fill(null)", |
|
|
|
|
"rawQuery": false, |
|
|
|
|
"refId": "A", |
|
|
|
|
"resultFormat": "time_series", |
|
|
|
|
"select": [ |
|
|
|
|
[ |
|
|
|
|
{ |
|
|
|
|
"params": [ |
|
|
|
|
"value" |
|
|
|
|
], |
|
|
|
|
"type": "field" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"params": [], |
|
|
|
|
"type": "last" |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
], |
|
|
|
|
"tags": [ |
|
|
|
|
{ |
|
|
|
|
"key": "cluster_name", |
|
|
|
|
"operator": "=", |
|
|
|
|
"value": "neutron-data-plane" |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"thresholds": "1,3", |
|
|
|
|
"title": "Neutron", |
|
|
|
|
"type": "singlestat", |
|
|
|
|
"valueFontSize": "50%", |
|
|
|
|
"valueMaps": [ |
|
|
|
|
{ |
|
|
|
|
"op": "=", |
|
|
|
|
"text": "no data", |
|
|
|
|
"value": "null" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"op": "=", |
|
|
|
|
"text": "OKAY", |
|
|
|
|
"value": "0" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"op": "=", |
|
|
|
|
"text": "WARN", |
|
|
|
|
"value": "1" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"op": "=", |
|
|
|
|
"text": "UNKW", |
|
|
|
|
"value": "2" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"op": "=", |
|
|
|
|
"text": "CRIT", |
|
|
|
|
"value": "3" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"op": "=", |
|
|
|
|
"text": "DOWN", |
|
|
|
|
"value": "4" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"valueName": "current" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"cacheTimeout": null, |
|
|
|
|
"colorBackground": true, |
|
|
|
@ -1075,7 +940,7 @@ |
|
|
|
|
{ |
|
|
|
|
"key": "cluster_name", |
|
|
|
|
"operator": "=", |
|
|
|
|
"value": "nova-data-plane" |
|
|
|
|
"value": "nova-data" |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
@ -1333,7 +1198,7 @@ |
|
|
|
|
{ |
|
|
|
|
"key": "cluster_name", |
|
|
|
|
"operator": "=", |
|
|
|
|
"value": "cinder-data-plane" |
|
|
|
|
"value": "cinder-data" |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
@ -1685,10 +1550,10 @@ |
|
|
|
|
"interval": ">60s", |
|
|
|
|
"links": [ |
|
|
|
|
{ |
|
|
|
|
"dashUri": "db/apache", |
|
|
|
|
"dashboard": "Apache", |
|
|
|
|
"dashUri": "db/nginx", |
|
|
|
|
"dashboard": "Nginx", |
|
|
|
|
"name": "Drilldown dashboard", |
|
|
|
|
"title": "Apache", |
|
|
|
|
"title": "Nginx", |
|
|
|
|
"type": "dashboard" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
@ -1730,7 +1595,7 @@ |
|
|
|
|
"interval": "", |
|
|
|
|
"measurement": "cluster_status", |
|
|
|
|
"policy": "default", |
|
|
|
|
"query": "SELECT last(\"value\") FROM \"cluster_status\" WHERE \"cluster_name\" = 'apache' AND $timeFilter GROUP BY time($interval) fill(null)", |
|
|
|
|
"query": "SELECT last(\"value\") FROM \"cluster_status\" WHERE \"cluster_name\" = 'nginx' AND $timeFilter GROUP BY time($interval) fill(null)", |
|
|
|
|
"rawQuery": false, |
|
|
|
|
"refId": "A", |
|
|
|
|
"resultFormat": "time_series", |
|
|
|
@ -1757,13 +1622,13 @@ |
|
|
|
|
{ |
|
|
|
|
"key": "cluster_name", |
|
|
|
|
"operator": "=", |
|
|
|
|
"value": "apache" |
|
|
|
|
"value": "nginx" |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"thresholds": "1,3", |
|
|
|
|
"title": "Apache", |
|
|
|
|
"title": "Nginx", |
|
|
|
|
"type": "singlestat", |
|
|
|
|
"valueFontSize": "50%", |
|
|
|
|
"valueMaps": [ |
|
|
|
@ -2077,132 +1942,6 @@ |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"valueName": "current" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"cacheTimeout": null, |
|
|
|
|
"colorBackground": true, |
|
|
|
|
"colorValue": false, |
|
|
|
|
"colors": [ |
|
|
|
|
"rgba(71, 212, 59, 0.4)", |
|
|
|
|
"rgba(245, 150, 40, 0.73)", |
|
|
|
|
"rgba(225, 40, 40, 0.59)" |
|
|
|
|
], |
|
|
|
|
"datasource": null, |
|
|
|
|
"editable": true, |
|
|
|
|
"error": false, |
|
|
|
|
"format": "short", |
|
|
|
|
"gauge": { |
|
|
|
|
"maxValue": 100, |
|
|
|
|
"minValue": 0, |
|
|
|
|
"show": false, |
|
|
|
|
"thresholdLabels": false, |
|
|
|
|
"thresholdMarkers": true |
|
|
|
|
}, |
|
|
|
|
"id": 29, |
|
|
|
|
"interval": ">60s", |
|
|
|
|
"links": [], |
|
|
|
|
"maxDataPoints": 100, |
|
|
|
|
"nullPointMode": "connected", |
|
|
|
|
"nullText": null, |
|
|
|
|
"postfix": "", |
|
|
|
|
"postfixFontSize": "50%", |
|
|
|
|
"prefix": "", |
|
|
|
|
"prefixFontSize": "50%", |
|
|
|
|
"span": 2, |
|
|
|
|
"sparkline": { |
|
|
|
|
"fillColor": "rgba(31, 118, 189, 0.18)", |
|
|
|
|
"full": false, |
|
|
|
|
"lineColor": "rgb(31, 120, 193)", |
|
|
|
|
"show": false |
|
|
|
|
}, |
|
|
|
|
"targets": [ |
|
|
|
|
{ |
|
|
|
|
"column": "value", |
|
|
|
|
"dsType": "influxdb", |
|
|
|
|
"fill": "", |
|
|
|
|
"function": "last", |
|
|
|
|
"groupBy": [ |
|
|
|
|
{ |
|
|
|
|
"params": [ |
|
|
|
|
"$interval" |
|
|
|
|
], |
|
|
|
|
"type": "time" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"params": [ |
|
|
|
|
"null" |
|
|
|
|
], |
|
|
|
|
"type": "fill" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"groupByTags": [], |
|
|
|
|
"interval": "", |
|
|
|
|
"measurement": "cluster_status", |
|
|
|
|
"policy": "default", |
|
|
|
|
"query": "SELECT last(\"value\") FROM \"cluster_status\" WHERE \"cluster_name\" = 'memcached' AND $timeFilter GROUP BY time($interval) fill(null)", |
|
|
|
|
"rawQuery": false, |
|
|
|
|
"refId": "A", |
|
|
|
|
"resultFormat": "time_series", |
|
|
|
|
"select": [ |
|
|
|
|
[ |
|
|
|
|
{ |
|
|
|
|
"params": [ |
|
|
|
|
"value" |
|
|
|
|
], |
|
|
|
|
"type": "field" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"params": [], |
|
|
|
|
"type": "last" |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
], |
|
|
|
|
"tags": [ |
|
|
|
|
{ |
|
|
|
|
"key": "cluster_name", |
|
|
|
|
"operator": "=", |
|
|
|
|
"value": "pacemaker" |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"thresholds": "1,3", |
|
|
|
|
"title": "pacemaker", |
|
|
|
|
"type": "singlestat", |
|
|
|
|
"valueFontSize": "50%", |
|
|
|
|
"valueMaps": [ |
|
|
|
|
{ |
|
|
|
|
"op": "=", |
|
|
|
|
"text": "no data", |
|
|
|
|
"value": "null" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"op": "=", |
|
|
|
|
"text": "OKAY", |
|
|
|
|
"value": "0" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"op": "=", |
|
|
|
|
"text": "WARN", |
|
|
|
|
"value": "1" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"op": "=", |
|
|
|
|
"text": "UNKW", |
|
|
|
|
"value": "2" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"op": "=", |
|
|
|
|
"text": "CRIT", |
|
|
|
|
"value": "3" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"op": "=", |
|
|
|
|
"text": "DOWN", |
|
|
|
|
"value": "4" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"valueName": "current" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"showTitle": true, |