)]}'
{"cloudkitty/collector/ceilometer.py":[{"author":{"_account_id":7042,"name":"Stéphane Albert","email":"sheeprine@nullplace.com","username":"sheeprine"},"change_message_id":"a0ededf0ef0b13878ad5136102a3e42c37271df0","unresolved":false,"context_lines":[{"line_number":87,"context_line":"            CONF,"},{"line_number":88,"context_line":"            CEILOMETER_COLLECTOR_OPTS,"},{"line_number":89,"context_line":"            auth\u003dself.auth)"},{"line_number":90,"context_line":"        auth_token \u003d self.auth.get_token(self.session)"},{"line_number":91,"context_line":"        endpoint \u003d self.auth.get_endpoint(self.session,"},{"line_number":92,"context_line":"                                          service_type\u003d\"metering\","},{"line_number":93,"context_line":"                                          endpoint_type\u003d\"admin\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_9a102daa","line":90,"updated":"2015-11-10 10:59:23.000000000","message":"Getting the token from the session is a bad idea. As soon as the token will expire you metering session will die. Whereas the session ensures the validity.","commit_id":"246bf65671c3fe47c250898df65cceafe6630299"},{"author":{"_account_id":7042,"name":"Stéphane Albert","email":"sheeprine@nullplace.com","username":"sheeprine"},"change_message_id":"a0ededf0ef0b13878ad5136102a3e42c37271df0","unresolved":false,"context_lines":[{"line_number":94,"context_line":"        self._conn \u003d cclient.get_client("},{"line_number":95,"context_line":"            \u00272\u0027,"},{"line_number":96,"context_line":"            token\u003dauth_token,"},{"line_number":97,"context_line":"            os_endpoint\u003dendpoint)"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"    def gen_filter(self, op\u003d\u0027eq\u0027, **kwargs):"},{"line_number":100,"context_line":"        \"\"\"Generate ceilometer filter from kwargs.\"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_9a390d44","line":97,"updated":"2015-11-10 10:59:23.000000000","message":"It looks strange to feed the metering endpoint to ceilometer as it should be aware of its service type.","commit_id":"246bf65671c3fe47c250898df65cceafe6630299"}]}
