6116
6116
}
6117
6117
},
6118
6118
{
6119
- "id" : 1234539355810956 ,
6119
+ "id" : 76561407326878 ,
6120
6120
"definition" : {
6121
- "title" : " Heat and Swift" ,
6122
- "background_color" : " orange " ,
6121
+ "title" : " Object Store ( Swift) " ,
6122
+ "background_color" : " blue " ,
6123
6123
"show_title" : true ,
6124
6124
"type" : " group" ,
6125
6125
"layout_type" : " ordered" ,
6126
6126
"widgets" : [
6127
6127
{
6128
- "id" : 5691134749980884 ,
6128
+ "id" : 8697010273840392 ,
6129
6129
"definition" : {
6130
- "title" : " Heat Stack Count" ,
6130
+ "title" : " Swift Container Count" ,
6131
6131
"title_size" : " 16" ,
6132
6132
"title_align" : " left" ,
6133
- "time" : {},
6134
- "type" : " query_table" ,
6133
+ "type" : " query_value" ,
6135
6134
"requests" : [
6136
6135
{
6136
+ "formulas" : [
6137
+ {
6138
+ "formula" : " exclude_null(query1)"
6139
+ }
6140
+ ],
6137
6141
"queries" : [
6138
6142
{
6139
6143
"aggregator" : " avg" ,
6140
6144
"data_source" : " metrics" ,
6141
6145
"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}"
6143
6147
}
6144
6148
],
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"
6163
6150
}
6164
6151
],
6165
- "has_search_bar" : " auto"
6152
+ "autoscale" : true ,
6153
+ "precision" : 2 ,
6154
+ "timeseries_background" : {
6155
+ "type" : " area"
6156
+ }
6166
6157
},
6167
6158
"layout" : {
6168
6159
"x" : 0 ,
6169
6160
"y" : 0 ,
6170
- "width" : 6 ,
6161
+ "width" : 3 ,
6171
6162
"height" : 2
6172
6163
}
6173
6164
},
6174
6165
{
6175
- "id" : 8697010273840392 ,
6166
+ "id" : 5230591956606796 ,
6176
6167
"definition" : {
6177
- "title" : " Swift Container and Byte Count " ,
6168
+ "title" : " Swift Containers " ,
6178
6169
"title_size" : " 16" ,
6179
6170
"title_align" : " left" ,
6180
- "time" : {},
6181
6171
"type" : " query_table" ,
6182
6172
"requests" : [
6183
6173
{
6223
6213
"has_search_bar" : " auto"
6224
6214
},
6225
6215
"layout" : {
6226
- "x" : 6 ,
6216
+ "x" : 3 ,
6227
6217
"y" : 0 ,
6228
- "width" : 6 ,
6218
+ "width" : 9 ,
6229
6219
"height" : 2
6230
6220
}
6231
6221
}
6237
6227
"width" : 12 ,
6238
6228
"height" : 3
6239
6229
}
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
+ }
6240
6286
}
6241
6287
]
6242
6288
}
0 commit comments