)]}'
{"prometheus/values.yaml":[{"author":{"_account_id":17591,"name":"Steve Wilkerson","email":"wilkers.steve@gmail.com","username":"srwilkers"},"change_message_id":"b97fb6d4c9983b687f53e53c6d4dc5dd4deb9bbe","unresolved":false,"context_lines":[{"line_number":1794,"context_line":"              description: \u0027ceph placement group degradation is more than 80 percent\u0027"},{"line_number":1795,"context_line":"              summary: \u0027ceph placement groups degraded\u0027"},{"line_number":1796,"context_line":"          - alert: ceph_osd_down_pct_high"},{"line_number":1797,"context_line":"            expr:  100 * count(ceph_osd_up\u003d\u003d0)/count(ceph_osd_numpg) \u003e 80"},{"line_number":1798,"context_line":"            for: 5m"},{"line_number":1799,"context_line":"            labels:"},{"line_number":1800,"context_line":"              severity: critical"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f79a3b5_9ca8108c","line":1797,"range":{"start_line":1797,"start_character":19,"end_line":1797,"end_character":68},"updated":"2018-10-31 13:48:48.000000000","message":"This expression doesn\u0027t accurately capture the intent of the alert here. The number of placement groups shouldn\u0027t be considered","commit_id":"6e9cb768ddcb018546331322cefca6b12c11b775"},{"author":{"_account_id":29106,"name":"kranthi kiran guttikonda","email":"kranthi.guttikonda@att.com","username":"kranthikirang"},"change_message_id":"e809dd0eb1ebed5025fc05937675bd382ad86785","unresolved":false,"context_lines":[{"line_number":1794,"context_line":"              description: \u0027ceph placement group degradation is more than 80 percent\u0027"},{"line_number":1795,"context_line":"              summary: \u0027ceph placement groups degraded\u0027"},{"line_number":1796,"context_line":"          - alert: ceph_osd_down_pct_high"},{"line_number":1797,"context_line":"            expr:  100 * count(ceph_osd_up\u003d\u003d0)/count(ceph_osd_numpg) \u003e 80"},{"line_number":1798,"context_line":"            for: 5m"},{"line_number":1799,"context_line":"            labels:"},{"line_number":1800,"context_line":"              severity: critical"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f79a3b5_bcb62c8c","line":1797,"range":{"start_line":1797,"start_character":19,"end_line":1797,"end_character":68},"in_reply_to":"3f79a3b5_9ca8108c","updated":"2018-10-31 13:59:12.000000000","message":"Steve, count(ceph_osd_up\u003d\u003d0) provides the number of OSD down, count(ceph_osd_numpg) provides the total number of OSD. There is no metric to gather OSD total and OSD down. While the sum(ceph_osd_numpg) gives total pg count. I am using count here to calculate the total OSD. I have tested this. Please let me know","commit_id":"6e9cb768ddcb018546331322cefca6b12c11b775"},{"author":{"_account_id":29106,"name":"kranthi kiran guttikonda","email":"kranthi.guttikonda@att.com","username":"kranthikirang"},"change_message_id":"a7889b06af3e9cb71156aeca088cc2ca0efa9521","unresolved":false,"context_lines":[{"line_number":1794,"context_line":"              description: \u0027ceph placement group degradation is more than 80 percent\u0027"},{"line_number":1795,"context_line":"              summary: \u0027ceph placement groups degraded\u0027"},{"line_number":1796,"context_line":"          - alert: ceph_osd_down_pct_high"},{"line_number":1797,"context_line":"            expr:  100 * count(ceph_osd_up\u003d\u003d0)/count(ceph_osd_numpg) \u003e 80"},{"line_number":1798,"context_line":"            for: 5m"},{"line_number":1799,"context_line":"            labels:"},{"line_number":1800,"context_line":"              severity: critical"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f79a3b5_f7783dc3","line":1797,"range":{"start_line":1797,"start_character":19,"end_line":1797,"end_character":68},"in_reply_to":"3f79a3b5_b77c0575","updated":"2018-10-31 14:25:28.000000000","message":"Updated with grafana metric count(ceph_osd_metadata). Technically both are same. Committed the changes. Please review now","commit_id":"6e9cb768ddcb018546331322cefca6b12c11b775"},{"author":{"_account_id":17591,"name":"Steve Wilkerson","email":"wilkers.steve@gmail.com","username":"srwilkers"},"change_message_id":"b59f4dc29b5fb139bf07cbd2771a74ccbc9e20e0","unresolved":false,"context_lines":[{"line_number":1794,"context_line":"              description: \u0027ceph placement group degradation is more than 80 percent\u0027"},{"line_number":1795,"context_line":"              summary: \u0027ceph placement groups degraded\u0027"},{"line_number":1796,"context_line":"          - alert: ceph_osd_down_pct_high"},{"line_number":1797,"context_line":"            expr:  100 * count(ceph_osd_up\u003d\u003d0)/count(ceph_osd_numpg) \u003e 80"},{"line_number":1798,"context_line":"            for: 5m"},{"line_number":1799,"context_line":"            labels:"},{"line_number":1800,"context_line":"              severity: critical"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f79a3b5_b77c0575","line":1797,"range":{"start_line":1797,"start_character":19,"end_line":1797,"end_character":68},"in_reply_to":"3f79a3b5_bcb62c8c","updated":"2018-10-31 14:08:10.000000000","message":"Can you not use the expression we use for this metric in the Grafana dashboards?  EG: https://github.com/openstack/openstack-helm-infra/blob/master/grafana/values.yaml#L3848","commit_id":"6e9cb768ddcb018546331322cefca6b12c11b775"}]}
