)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"418f6918d5b8330ad5054c71319d03b4aa79ddec","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add ipmi inspector"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"With this extension it is possible to get data out of a IPMI interface. It collects temperature, fan\u0027s speed, voltage and system log information. It depends on blueprint \"bp/monitoring-physical-devices\" (Id259b95efdbf0b7d03b657586d588f9637d9a367)"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"blueprint bp/ipmi-inspector-for-monitoring-physical-devices"},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"AAAATH%2F%2FgC8%3D","line":9,"updated":"2013-10-15 11:44:58.000000000","message":"Please wrap the commit message.","commit_id":"2c31ad8ba7d0613d9e711102e9de340f188169b7"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"418f6918d5b8330ad5054c71319d03b4aa79ddec","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"With this extension it is possible to get data out of a IPMI interface. It collects temperature, fan\u0027s speed, voltage and system log information. It depends on blueprint \"bp/monitoring-physical-devices\" (Id259b95efdbf0b7d03b657586d588f9637d9a367)"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"blueprint bp/ipmi-inspector-for-monitoring-physical-devices"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I423466a777e782c29aa236aa7aa94692f472706f"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"AAAATH%2F%2FgCo%3D","line":11,"updated":"2013-10-15 11:44:58.000000000","message":"Please remove the \"bp /\" from this line so the link to the blueprint search works properly.","commit_id":"2c31ad8ba7d0613d9e711102e9de340f188169b7"}],"ceilometer/hardware/inspector/base.py":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"418f6918d5b8330ad5054c71319d03b4aa79ddec","unresolved":false,"context_lines":[{"line_number":90,"context_line":"# speed: current speed(RPM)"},{"line_number":91,"context_line":"# status: state of fan (ok)"},{"line_number":92,"context_line":"#"},{"line_number":93,"context_line":"RPMStats \u003d collections.namedtuple(\u0027RPMStats\u0027, [\u0027speed\u0027, \u0027status\u0027])"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"# Named tuple representing an voltage."}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2FgAY%3D","line":93,"updated":"2013-10-15 11:44:58.000000000","message":"Why is RPM separate from RPMStats? If RPM is just the name, why not include a name field in RPMStats? The same applies to the other classes below.","commit_id":"2c31ad8ba7d0613d9e711102e9de340f188169b7"}],"ceilometer/hardware/pollsters/degree.py":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"418f6918d5b8330ad5054c71319d03b4aa79ddec","unresolved":false,"context_lines":[{"line_number":59,"context_line":"                          host_url.hostname, err)"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"class DegreeTemperaturePollster(_Base):"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    @staticmethod"},{"line_number":65,"context_line":"    def _get_sample(host, degree, info):"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2FgAI%3D","line":62,"updated":"2013-10-15 11:44:58.000000000","message":"Could this just be TemperaturePollster?","commit_id":"2c31ad8ba7d0613d9e711102e9de340f188169b7"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"418f6918d5b8330ad5054c71319d03b4aa79ddec","unresolved":false,"context_lines":[{"line_number":64,"context_line":"    @staticmethod"},{"line_number":65,"context_line":"    def _get_sample(host, degree, info):"},{"line_number":66,"context_line":"        return util.make_sample_from_host(host,"},{"line_number":67,"context_line":"                                          name\u003d\u0027degree.temperature.current\u0027,"},{"line_number":68,"context_line":"                                          type\u003dsample.TYPE_GAUGE,"},{"line_number":69,"context_line":"                                          unit\u003d\u0027B\u0027,"},{"line_number":70,"context_line":"                                          volume\u003dinfo.temperature,"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2Ff%2FA%3D","line":67,"updated":"2013-10-15 11:44:58.000000000","message":"What does \"current\" here mean? Is that a temporal statement (\"the current temperature\") or does it have to do with electricity? If it\u0027s temporal, it\u0027s redundant because these measurements are going to be recorded over time and old ones will not be \"current.\" Maybe a better name would be \"hardware.temperature\".","commit_id":"2c31ad8ba7d0613d9e711102e9de340f188169b7"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"418f6918d5b8330ad5054c71319d03b4aa79ddec","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        return util.make_sample_from_host(host,"},{"line_number":67,"context_line":"                                          name\u003d\u0027degree.temperature.current\u0027,"},{"line_number":68,"context_line":"                                          type\u003dsample.TYPE_GAUGE,"},{"line_number":69,"context_line":"                                          unit\u003d\u0027B\u0027,"},{"line_number":70,"context_line":"                                          volume\u003dinfo.temperature,"},{"line_number":71,"context_line":"                                          res_metadata\u003ddegree,"},{"line_number":72,"context_line":"                                          )"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2Ff%2F0%3D","line":69,"updated":"2013-10-15 11:44:58.000000000","message":"The units should indicate which temperature measurement system is being used. I would expect C or F; is B a valid abbreviation for a system I\u0027m not familiar with?","commit_id":"2c31ad8ba7d0613d9e711102e9de340f188169b7"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"418f6918d5b8330ad5054c71319d03b4aa79ddec","unresolved":false,"context_lines":[{"line_number":72,"context_line":"                                          )"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"class DegreeStatusPollster(_Base):"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    @staticmethod"},{"line_number":78,"context_line":"    def _get_sample(host, degree, info):"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2FgAE%3D","line":75,"updated":"2013-10-15 11:44:58.000000000","message":"What is \"degree status\"? What measurement is that?","commit_id":"2c31ad8ba7d0613d9e711102e9de340f188169b7"}],"ceilometer/hardware/pollsters/rpm.py":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"418f6918d5b8330ad5054c71319d03b4aa79ddec","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    @staticmethod"},{"line_number":65,"context_line":"    def _get_sample(host, rpm, info):"},{"line_number":66,"context_line":"        return util.make_sample_from_host(host,"},{"line_number":67,"context_line":"                                          name\u003d\u0027rpm.speed.current\u0027,"},{"line_number":68,"context_line":"                                          type\u003dsample.TYPE_GAUGE,"},{"line_number":69,"context_line":"                                          unit\u003d\u0027B\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2Ff%2Bo%3D","line":66,"updated":"2013-10-15 11:44:58.000000000","message":"I assume hosts are allowed to have more than one fan. The resource id for the sample should be the fan\u0027s unique id, rather than the host, so the measurements for each fan can be kept separate in the database.","commit_id":"2c31ad8ba7d0613d9e711102e9de340f188169b7"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"418f6918d5b8330ad5054c71319d03b4aa79ddec","unresolved":false,"context_lines":[{"line_number":64,"context_line":"    @staticmethod"},{"line_number":65,"context_line":"    def _get_sample(host, rpm, info):"},{"line_number":66,"context_line":"        return util.make_sample_from_host(host,"},{"line_number":67,"context_line":"                                          name\u003d\u0027rpm.speed.current\u0027,"},{"line_number":68,"context_line":"                                          type\u003dsample.TYPE_GAUGE,"},{"line_number":69,"context_line":"                                          unit\u003d\u0027B\u0027,"},{"line_number":70,"context_line":"                                          volume\u003dinfo.speed,"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2Ff%2B8%3D","line":67,"updated":"2013-10-15 11:44:58.000000000","message":"hardware.fan.speed","commit_id":"2c31ad8ba7d0613d9e711102e9de340f188169b7"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"418f6918d5b8330ad5054c71319d03b4aa79ddec","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        return util.make_sample_from_host(host,"},{"line_number":67,"context_line":"                                          name\u003d\u0027rpm.speed.current\u0027,"},{"line_number":68,"context_line":"                                          type\u003dsample.TYPE_GAUGE,"},{"line_number":69,"context_line":"                                          unit\u003d\u0027B\u0027,"},{"line_number":70,"context_line":"                                          volume\u003dinfo.speed,"},{"line_number":71,"context_line":"                                          res_metadata\u003drpm,"},{"line_number":72,"context_line":"                                          )"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2Ff%2BY%3D","line":69,"updated":"2013-10-15 11:44:58.000000000","message":"Should the units be RPM?","commit_id":"2c31ad8ba7d0613d9e711102e9de340f188169b7"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"418f6918d5b8330ad5054c71319d03b4aa79ddec","unresolved":false,"context_lines":[{"line_number":68,"context_line":"                                          type\u003dsample.TYPE_GAUGE,"},{"line_number":69,"context_line":"                                          unit\u003d\u0027B\u0027,"},{"line_number":70,"context_line":"                                          volume\u003dinfo.speed,"},{"line_number":71,"context_line":"                                          res_metadata\u003drpm,"},{"line_number":72,"context_line":"                                          )"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2Ff%2Bk%3D","line":71,"updated":"2013-10-15 11:44:58.000000000","message":"Since the resource id is the fan\u0027s id, the metadata will need to include information to link it back to the parent host.","commit_id":"2c31ad8ba7d0613d9e711102e9de340f188169b7"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"418f6918d5b8330ad5054c71319d03b4aa79ddec","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    @staticmethod"},{"line_number":78,"context_line":"    def _get_sample(host, rpm, info):"},{"line_number":79,"context_line":"        return util.make_sample_from_host(host,"},{"line_number":80,"context_line":"                                          name\u003d\u0027rpm.status.current\u0027,"},{"line_number":81,"context_line":"                                          type\u003dsample.TYPE_GAUGE,"},{"line_number":82,"context_line":"                                          unit\u003d\u0027B\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2Ff%2Bg%3D","line":79,"updated":"2013-10-15 11:44:58.000000000","message":"The comments from above about metadata apply here, too.","commit_id":"2c31ad8ba7d0613d9e711102e9de340f188169b7"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"418f6918d5b8330ad5054c71319d03b4aa79ddec","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    @staticmethod"},{"line_number":78,"context_line":"    def _get_sample(host, rpm, info):"},{"line_number":79,"context_line":"        return util.make_sample_from_host(host,"},{"line_number":80,"context_line":"                                          name\u003d\u0027rpm.status.current\u0027,"},{"line_number":81,"context_line":"                                          type\u003dsample.TYPE_GAUGE,"},{"line_number":82,"context_line":"                                          unit\u003d\u0027B\u0027,"},{"line_number":83,"context_line":"                                          volume\u003dinfo.status,"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2Ff%2B4%3D","line":80,"updated":"2013-10-15 11:44:58.000000000","message":"hardware.fan.status","commit_id":"2c31ad8ba7d0613d9e711102e9de340f188169b7"}],"ceilometer/hardware/pollsters/syslog.py":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"418f6918d5b8330ad5054c71319d03b4aa79ddec","unresolved":false,"context_lines":[{"line_number":60,"context_line":"                          host_url.hostname, err)"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"class LogDatePollster(_Base):"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    @staticmethod"},{"line_number":66,"context_line":"    def _get_sample(host, log, info):"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2Ff9c%3D","line":63,"updated":"2013-10-15 11:44:58.000000000","message":"I think you really only want one pollster for syslog records. The metadata should include the entire log event, the volume should be 1, the units should be something like \"event\", and the name should just be \"hardware.log\". Collecting all of the values separately is going to make it more difficult to associate in a query later.","commit_id":"2c31ad8ba7d0613d9e711102e9de340f188169b7"}],"ceilometer/hardware/pollsters/volt.py":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"418f6918d5b8330ad5054c71319d03b4aa79ddec","unresolved":false,"context_lines":[{"line_number":64,"context_line":"    @staticmethod"},{"line_number":65,"context_line":"    def _get_sample(host, volt, info):"},{"line_number":66,"context_line":"        return util.make_sample_from_host(host,"},{"line_number":67,"context_line":"                                          name\u003d\u0027volt.voltage.current\u0027,"},{"line_number":68,"context_line":"                                          type\u003dsample.TYPE_GAUGE,"},{"line_number":69,"context_line":"                                          unit\u003d\u0027B\u0027,"},{"line_number":70,"context_line":"                                          volume\u003dinfo.voltage,"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2Ff9Y%3D","line":67,"updated":"2013-10-15 11:44:58.000000000","message":"hardware.voltage","commit_id":"2c31ad8ba7d0613d9e711102e9de340f188169b7"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"418f6918d5b8330ad5054c71319d03b4aa79ddec","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        return util.make_sample_from_host(host,"},{"line_number":67,"context_line":"                                          name\u003d\u0027volt.voltage.current\u0027,"},{"line_number":68,"context_line":"                                          type\u003dsample.TYPE_GAUGE,"},{"line_number":69,"context_line":"                                          unit\u003d\u0027B\u0027,"},{"line_number":70,"context_line":"                                          volume\u003dinfo.voltage,"},{"line_number":71,"context_line":"                                          res_metadata\u003dvolt,"},{"line_number":72,"context_line":"                                          )"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2Ff9Q%3D","line":69,"updated":"2013-10-15 11:44:58.000000000","message":"Units?","commit_id":"2c31ad8ba7d0613d9e711102e9de340f188169b7"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"418f6918d5b8330ad5054c71319d03b4aa79ddec","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    @staticmethod"},{"line_number":78,"context_line":"    def _get_sample(host, volt, info):"},{"line_number":79,"context_line":"        return util.make_sample_from_host(host,"},{"line_number":80,"context_line":"                                          name\u003d\u0027volt.status.current\u0027,"},{"line_number":81,"context_line":"                                          type\u003dsample.TYPE_GAUGE,"},{"line_number":82,"context_line":"                                          unit\u003d\u0027B\u0027,"},{"line_number":83,"context_line":"                                          volume\u003dinfo.status,"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2Ff9I%3D","line":80,"updated":"2013-10-15 11:44:58.000000000","message":"What is this?","commit_id":"2c31ad8ba7d0613d9e711102e9de340f188169b7"}]}
