Project

General

Profile

Bug #51212

Updated by Patrick Seidensal almost 3 years ago

*OSD Capacity units Grafana widget has bad decimals* 

 Current: 

 !{width:25%}broken.jpg! 

 <pre> 
       "yAxis": { 
         "decimals": 2, 
 </pre> 
 !{width:25%}fixed.jpg! 

 *Health Status widget breaks if query returns two rows* 

 The health Status widget breaks if query returns two rows, which happens when a mgr instance fails (over). If a time frame in Grafana is selected in which that happened, the widget will not be able to return the health status correctly. 

 This is due to the widget type being used in combination with the Prometheus query: 

 <pre> 
 ceph_health_status{instance=~'$instance'} 
 </pre> 

 !{width:50%}health_status.jpg! 

 By summing up the results, and ignoring the instance label doing so, we can ensure to return a single result at all times, independent of the amount of metrics returned for a given time frame. 

 <pre> 
 sum without (instance) (ceph_health_status{instance=~'$instance'}) 
 </pre> 

Back