)]}'
{"monasca_agent/collector/checks_d/prometheus.py":[{"author":{"_account_id":14517,"name":"Ryan Brandt","email":"ryan.brandt@hpe.com","username":"ryan-brandt"},"change_message_id":"6dc664a58baa98c75cfc0ad093e218a898f8e406","unresolved":false,"context_lines":[{"line_number":256,"context_line":"                if math.isnan(metric_value):"},{"line_number":257,"context_line":"                    self.log.debug(\u0027filtering out NaN value provided for metric %s{%s}\u0027, metric_name, metric_labels)"},{"line_number":258,"context_line":"                    continue"},{"line_number":259,"context_line":"                if endpoint_whitelist is not None and metric_name not in endpoint_whitelist:"},{"line_number":260,"context_line":"                    continue"},{"line_number":261,"context_line":"                # remove empty string dimensions from prometheus labels"},{"line_number":262,"context_line":"                for dim_key, dim_value in metric_labels.items():"}],"source_content_type":"text/x-python","patch_set":4,"id":"3f4b6375_6a04537f","line":259,"range":{"start_line":259,"start_character":45,"end_line":259,"end_character":49},"updated":"2017-10-27 16:43:48.000000000","message":"Is the endpoint_whitelist ever None? Seems like it is always set to {} by default","commit_id":"7474a09e1e94db329f3d11a89908576e8865aea8"},{"author":{"_account_id":15027,"name":"Michael Hoppal","email":"michael.jam.hoppal@hpe.com","username":"michael-hoppal"},"change_message_id":"37521e79bba91e2f2c0bdb8e15cf8eab898d5dc2","unresolved":false,"context_lines":[{"line_number":256,"context_line":"                if math.isnan(metric_value):"},{"line_number":257,"context_line":"                    self.log.debug(\u0027filtering out NaN value provided for metric %s{%s}\u0027, metric_name, metric_labels)"},{"line_number":258,"context_line":"                    continue"},{"line_number":259,"context_line":"                if endpoint_whitelist is not None and metric_name not in endpoint_whitelist:"},{"line_number":260,"context_line":"                    continue"},{"line_number":261,"context_line":"                # remove empty string dimensions from prometheus labels"},{"line_number":262,"context_line":"                for dim_key, dim_value in metric_labels.items():"}],"source_content_type":"text/x-python","patch_set":4,"id":"3f4b6375_0ad4bfbc","line":259,"range":{"start_line":259,"start_character":45,"end_line":259,"end_character":49},"in_reply_to":"3f4b6375_6a04537f","updated":"2017-10-27 16:50:00.000000000","message":"it will be we key into the endpoint_whitelist dictionary before passing it to this function (dup names probably causes confusion) but the values in that dictionary are going to None unless an annotation is found that is parsable -\u003e whitelist \u003d None on line 201","commit_id":"7474a09e1e94db329f3d11a89908576e8865aea8"}]}
