Skip to content

Commit 193dc75

Browse files
Separating Heat and Swift widgets (#17764)
1 parent 8b84b2b commit 193dc75

File tree

1 file changed

+79
-33
lines changed

1 file changed

+79
-33
lines changed

openstack_controller/assets/dashboards/openstack_controller_overview_[default_microversion].json

Lines changed: 79 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6116,68 +6116,58 @@
61166116
}
61176117
},
61186118
{
6119-
"id": 1234539355810956,
6119+
"id": 76561407326878,
61206120
"definition": {
6121-
"title": "Heat and Swift",
6122-
"background_color": "orange",
6121+
"title": "Object Store (Swift)",
6122+
"background_color": "blue",
61236123
"show_title": true,
61246124
"type": "group",
61256125
"layout_type": "ordered",
61266126
"widgets": [
61276127
{
6128-
"id": 5691134749980884,
6128+
"id": 8697010273840392,
61296129
"definition": {
6130-
"title": "Heat Stack Count",
6130+
"title": "Swift Container Count",
61316131
"title_size": "16",
61326132
"title_align": "left",
6133-
"time": {},
6134-
"type": "query_table",
6133+
"type": "query_value",
61356134
"requests": [
61366135
{
6136+
"formulas": [
6137+
{
6138+
"formula": "exclude_null(query1)"
6139+
}
6140+
],
61376141
"queries": [
61386142
{
61396143
"aggregator": "avg",
61406144
"data_source": "metrics",
61416145
"name": "query1",
6142-
"query": "avg:openstack.heat.stack.count{$Keystone_Server_URL,$Domain,$Project,$RegionId} by {stack_id}"
6146+
"query": "avg:openstack.swift.container.count{$Keystone_Server_URL,$Domain,$Project,$RegionId}"
61436147
}
61446148
],
6145-
"response_format": "scalar",
6146-
"sort": {
6147-
"count": 500,
6148-
"order_by": [
6149-
{
6150-
"type": "formula",
6151-
"index": 0,
6152-
"order": "desc"
6153-
}
6154-
]
6155-
},
6156-
"formulas": [
6157-
{
6158-
"alias": "Stacks",
6159-
"cell_display_mode": "number",
6160-
"formula": "exclude_null(query1)"
6161-
}
6162-
]
6149+
"response_format": "scalar"
61636150
}
61646151
],
6165-
"has_search_bar": "auto"
6152+
"autoscale": true,
6153+
"precision": 2,
6154+
"timeseries_background": {
6155+
"type": "area"
6156+
}
61666157
},
61676158
"layout": {
61686159
"x": 0,
61696160
"y": 0,
6170-
"width": 6,
6161+
"width": 3,
61716162
"height": 2
61726163
}
61736164
},
61746165
{
6175-
"id": 8697010273840392,
6166+
"id": 5230591956606796,
61766167
"definition": {
6177-
"title": "Swift Container and Byte Count",
6168+
"title": "Swift Containers",
61786169
"title_size": "16",
61796170
"title_align": "left",
6180-
"time": {},
61816171
"type": "query_table",
61826172
"requests": [
61836173
{
@@ -6223,9 +6213,9 @@
62236213
"has_search_bar": "auto"
62246214
},
62256215
"layout": {
6226-
"x": 6,
6216+
"x": 3,
62276217
"y": 0,
6228-
"width": 6,
6218+
"width": 9,
62296219
"height": 2
62306220
}
62316221
}
@@ -6237,6 +6227,62 @@
62376227
"width": 12,
62386228
"height": 3
62396229
}
6230+
},
6231+
{
6232+
"id": 1234539355810956,
6233+
"definition": {
6234+
"title": "Orchestration (Heat)",
6235+
"background_color": "orange",
6236+
"show_title": true,
6237+
"type": "group",
6238+
"layout_type": "ordered",
6239+
"widgets": [
6240+
{
6241+
"id": 5691134749980884,
6242+
"definition": {
6243+
"title": "Heat Stack Count",
6244+
"title_size": "16",
6245+
"title_align": "left",
6246+
"type": "query_value",
6247+
"requests": [
6248+
{
6249+
"formulas": [
6250+
{
6251+
"formula": "exclude_null(query1)"
6252+
}
6253+
],
6254+
"queries": [
6255+
{
6256+
"aggregator": "avg",
6257+
"data_source": "metrics",
6258+
"name": "query1",
6259+
"query": "avg:openstack.heat.stack.count{$Keystone_Server_URL,$Domain,$Project,$RegionId}"
6260+
}
6261+
],
6262+
"response_format": "scalar"
6263+
}
6264+
],
6265+
"autoscale": true,
6266+
"precision": 2,
6267+
"timeseries_background": {
6268+
"type": "area"
6269+
}
6270+
},
6271+
"layout": {
6272+
"x": 0,
6273+
"y": 0,
6274+
"width": 3,
6275+
"height": 2
6276+
}
6277+
}
6278+
]
6279+
},
6280+
"layout": {
6281+
"x": 0,
6282+
"y": 0,
6283+
"width": 4,
6284+
"height": 3
6285+
}
62406286
}
62416287
]
62426288
}

0 commit comments

Comments
 (0)