)]}'
{"docs/Plugins.md":[{"author":{"_account_id":7233,"name":"Matthew Oliver","email":"matt@oliver.net.au","username":"mattoliverau"},"change_message_id":"ab8d7a7aa357fc9c3b200717c8b84f335a278475","unresolved":false,"context_lines":[{"line_number":2707,"context_line":"| swift_recon.disk_usage.used | |"},{"line_number":2708,"context_line":"| swift_recon.disk_usage.avail | |"},{"line_number":2709,"context_line":"| swift_recon.quarantined | with policy and ring names as dimensions to drill down |"},{"line_number":2710,"context_line":"| swift_recon.drive_audit_errors | |"},{"line_number":2711,"context_line":""},{"line_number":2712,"context_line":"### Sample Config"},{"line_number":2713,"context_line":"See [the example configuration](https://github.com/openstack/monasca-agent/blob/master/conf.d/swift_recon.yaml.example)"}],"source_content_type":"text/x-markdown","patch_set":2,"id":"3fa7e38b_df360eb5","line":2710,"updated":"2019-10-09 02:21:07.000000000","message":"Having written all these out, I can see a bunch we would think about reducing name wise. However there might be benefit to the metric name matching their swift recon counterparts.","commit_id":"d26c9da057041c09fe20bb7cf41aca96c7e0bd6f"}],"monasca_agent/collector/checks_d/swift_recon.py":[{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"2f3aa20ed1a27dbad600da52345685629247dc7d","unresolved":false,"context_lines":[{"line_number":54,"context_line":"                self._build_base_url(instance), recon_type,"},{"line_number":55,"context_line":"                instance.get(\u0027timeout\u0027, 5))"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"            dimensions \u003d self._set_dimensions({}, instance)"},{"line_number":58,"context_line":"            return content, dimensions.copy()"},{"line_number":59,"context_line":"        except SwiftReconException as ex:"},{"line_number":60,"context_line":"            self.log.error(\u0027Error running {0}: ({1}) {2}\u0027.format("}],"source_content_type":"text/x-python","patch_set":1,"id":"5fc1f717_ae4a2e80","line":57,"range":{"start_line":57,"start_character":46,"end_line":57,"end_character":48},"updated":"2019-04-03 10:03:38.000000000","message":"Please add {\u0027service\u0027:\u0027swift\u0027}","commit_id":"19c5035148a83f91ee0dc24ea8415fdc1eb9fd25"},{"author":{"_account_id":7233,"name":"Matthew Oliver","email":"matt@oliver.net.au","username":"mattoliverau"},"change_message_id":"ab8d7a7aa357fc9c3b200717c8b84f335a278475","unresolved":false,"context_lines":[{"line_number":54,"context_line":"                self._build_base_url(instance), recon_type,"},{"line_number":55,"context_line":"                instance.get(\u0027timeout\u0027, 5))"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"            dimensions \u003d self._set_dimensions({}, instance)"},{"line_number":58,"context_line":"            return content, dimensions.copy()"},{"line_number":59,"context_line":"        except SwiftReconException as ex:"},{"line_number":60,"context_line":"            self.log.error(\u0027Error running {0}: ({1}) {2}\u0027.format("}],"source_content_type":"text/x-python","patch_set":1,"id":"3fa7e38b_df39433f","line":57,"range":{"start_line":57,"start_character":46,"end_line":57,"end_character":48},"in_reply_to":"5fc1f717_ae4a2e80","updated":"2019-10-09 02:21:07.000000000","message":"Done","commit_id":"19c5035148a83f91ee0dc24ea8415fdc1eb9fd25"},{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"2f3aa20ed1a27dbad600da52345685629247dc7d","unresolved":false,"context_lines":[{"line_number":82,"context_line":"                if item not in content[key] or content[key][item] is None:"},{"line_number":83,"context_line":"                    continue"},{"line_number":84,"context_line":"                self.gauge("},{"line_number":85,"context_line":"                    \u0027swift_recon.object.auditor.{0}.{1}\u0027.format(key, item),"},{"line_number":86,"context_line":"                    content[key][item], dimensions)"},{"line_number":87,"context_line":"            if \u0027start_time\u0027 in content[key] and content[key] is not None:"},{"line_number":88,"context_line":"                self.gauge("}],"source_content_type":"text/x-python","patch_set":1,"id":"5fc1f717_6e5a0684","line":85,"range":{"start_line":85,"start_character":20,"end_line":85,"end_character":74},"updated":"2019-04-03 10:03:38.000000000","message":"This results in a metric name `swift_recon.object.auditor.object_auditor_stats_ALL.audit_time`. We could shorten it to remove duplicated information.","commit_id":"19c5035148a83f91ee0dc24ea8415fdc1eb9fd25"},{"author":{"_account_id":7233,"name":"Matthew Oliver","email":"matt@oliver.net.au","username":"mattoliverau"},"change_message_id":"ab8d7a7aa357fc9c3b200717c8b84f335a278475","unresolved":false,"context_lines":[{"line_number":82,"context_line":"                if item not in content[key] or content[key][item] is None:"},{"line_number":83,"context_line":"                    continue"},{"line_number":84,"context_line":"                self.gauge("},{"line_number":85,"context_line":"                    \u0027swift_recon.object.auditor.{0}.{1}\u0027.format(key, item),"},{"line_number":86,"context_line":"                    content[key][item], dimensions)"},{"line_number":87,"context_line":"            if \u0027start_time\u0027 in content[key] and content[key] is not None:"},{"line_number":88,"context_line":"                self.gauge("}],"source_content_type":"text/x-python","patch_set":1,"id":"3fa7e38b_ff343f4c","line":85,"range":{"start_line":85,"start_character":20,"end_line":85,"end_character":74},"in_reply_to":"5fc1f717_6e5a0684","updated":"2019-10-09 02:21:07.000000000","message":"ALL and ZBF are a little confusing. The first is checking the actual data and the second is searching for zero byte objects (happen during XFS corruption). So are kinda reporting 2 different things. But yeah, it\u0027s a confusing topic. Maybe I should go and write some docs on it or something.","commit_id":"19c5035148a83f91ee0dc24ea8415fdc1eb9fd25"}]}
