5626
5626
"width" : 12 ,
5627
5627
"height" : 3
5628
5628
}
5629
+ },
5630
+ {
5631
+ "definition" : {
5632
+ "title" : " Image" ,
5633
+ "background_color" : " pink" ,
5634
+ "show_title" : true ,
5635
+ "type" : " group" ,
5636
+ "layout_type" : " ordered" ,
5637
+ "widgets" : [
5638
+ {
5639
+ "id" : 8937254505229470 ,
5640
+ "definition" : {
5641
+ "title" : " Image Status" ,
5642
+ "title_size" : " 16" ,
5643
+ "title_align" : " left" ,
5644
+ "type" : " query_table" ,
5645
+ "requests" : [
5646
+ {
5647
+ "queries" : [
5648
+ {
5649
+ "aggregator" : " last" ,
5650
+ "data_source" : " metrics" ,
5651
+ "name" : " query1" ,
5652
+ "query" : " sum:openstack.glance.image.up{$Keystone_Server_URL,$RegionId,$Domain,$Project} by {image_id}"
5653
+ },
5654
+ {
5655
+ "aggregator" : " last" ,
5656
+ "data_source" : " metrics" ,
5657
+ "name" : " query2" ,
5658
+ "query" : " sum:openstack.glance.image.size{$Keystone_Server_URL,$RegionId,$Domain,$Project} by {image_id}"
5659
+ }
5660
+ ],
5661
+ "response_format" : " scalar" ,
5662
+ "text_formats" : [],
5663
+ "formulas" : [
5664
+ {
5665
+ "cell_display_mode" : " number" ,
5666
+ "alias" : " is_up" ,
5667
+ "formula" : " exclude_null(query1)" ,
5668
+ "limit" : {
5669
+ "count" : 500 ,
5670
+ "order" : " desc"
5671
+ }
5672
+ },
5673
+ {
5674
+ "cell_display_mode" : " number" ,
5675
+ "alias" : " size" ,
5676
+ "formula" : " exclude_null(query2)"
5677
+ }
5678
+ ]
5679
+ }
5680
+ ],
5681
+ "has_search_bar" : " auto"
5682
+ },
5683
+ "layout" : {
5684
+ "x" : 0 ,
5685
+ "y" : 0 ,
5686
+ "width" : 7 ,
5687
+ "height" : 2
5688
+ }
5689
+ },
5690
+ {
5691
+ "id" : 8363428068576700 ,
5692
+ "definition" : {
5693
+ "title" : " Member Count" ,
5694
+ "title_size" : " 16" ,
5695
+ "title_align" : " left" ,
5696
+ "type" : " query_table" ,
5697
+ "requests" : [
5698
+ {
5699
+ "queries" : [
5700
+ {
5701
+ "aggregator" : " last" ,
5702
+ "data_source" : " metrics" ,
5703
+ "name" : " query1" ,
5704
+ "query" : " sum:openstack.glance.image.member.count{$Keystone_Server_URL,$RegionId,$Domain,$Project} by {image_id}"
5705
+ }
5706
+ ],
5707
+ "response_format" : " scalar" ,
5708
+ "text_formats" : [],
5709
+ "formulas" : [
5710
+ {
5711
+ "cell_display_mode" : " number" ,
5712
+ "alias" : " count" ,
5713
+ "formula" : " exclude_null(query1)" ,
5714
+ "limit" : {
5715
+ "count" : 500 ,
5716
+ "order" : " desc"
5717
+ }
5718
+ }
5719
+ ]
5720
+ }
5721
+ ],
5722
+ "has_search_bar" : " auto"
5723
+ },
5724
+ "layout" : {
5725
+ "x" : 7 ,
5726
+ "y" : 0 ,
5727
+ "width" : 5 ,
5728
+ "height" : 2
5729
+ }
5730
+ }
5731
+ ]
5732
+ },
5733
+ "id" : 5947627096590494 ,
5734
+ "layout" : {
5735
+ "x" : 0 ,
5736
+ "y" : 27 ,
5737
+ "width" : 12 ,
5738
+ "height" : 3
5739
+ }
5629
5740
}
5630
5741
]
5631
5742
}
0 commit comments