)]}'
{"monascaclient/v2_0/metrics.py":[{"author":{"_account_id":2419,"name":"Roland Hochmuth","email":"roland.hochmuth@hpe.com","username":"roland-hochmuth-s"},"change_message_id":"8ff4d4c038ae02cb0ab4875af39087a8f56c75d6","unresolved":false,"context_lines":[{"line_number":34,"context_line":"        newheaders \u003d self.get_headers()"},{"line_number":35,"context_line":"        if \u0027cross_tenant_id\u0027 in kwargs:"},{"line_number":36,"context_line":"            url_str \u003d url_str + \u0027?tenant_id\u003d%s\u0027 % kwargs[\u0027cross_tenant_id\u0027]"},{"line_number":37,"context_line":"            del kwargs[\u0027cross_tenant_id\u0027]"},{"line_number":38,"context_line":"        if \u0027jsonbody\u0027 in kwargs:"},{"line_number":39,"context_line":"            resp, body \u003d self.client.json_request(\u0027POST\u0027, url_str,"},{"line_number":40,"context_line":"                                                  data\u003dkwargs[\u0027jsonbody\u0027],"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa98f980_5170a73f","line":37,"updated":"2014-09-05 14:56:27.000000000","message":"You\u0027ve added a tenant_id to the URL string. How does this work? The CROSS_TENANT_ID is a part of the http header it isn\u0027t a query parameter.","commit_id":"d1379c3369ceac1bdcb71f0a929b13a6dc7769f8"},{"author":{"_account_id":12133,"name":"Cindy O\u0027Neill","email":"cindy.o-neill@hpe.com","username":"oneilcin"},"change_message_id":"23e6d86d6dbda4dd69cb06f025cff553baf18bc0","unresolved":false,"context_lines":[{"line_number":34,"context_line":"        newheaders \u003d self.get_headers()"},{"line_number":35,"context_line":"        if \u0027cross_tenant_id\u0027 in kwargs:"},{"line_number":36,"context_line":"            url_str \u003d url_str + \u0027?tenant_id\u003d%s\u0027 % kwargs[\u0027cross_tenant_id\u0027]"},{"line_number":37,"context_line":"            del kwargs[\u0027cross_tenant_id\u0027]"},{"line_number":38,"context_line":"        if \u0027jsonbody\u0027 in kwargs:"},{"line_number":39,"context_line":"            resp, body \u003d self.client.json_request(\u0027POST\u0027, url_str,"},{"line_number":40,"context_line":"                                                  data\u003dkwargs[\u0027jsonbody\u0027],"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa98f980_622eb7fc","line":37,"in_reply_to":"fa98f980_5170a73f","updated":"2014-09-05 16:21:56.000000000","message":"This is the example that Jonathon gave me for usage in the api:\nhttp://192.168.10.4:8080/v2.0/metrics?tenant_id\u003dfoo\n\nThe tenant_id is an optional parameter (not in the body like the rest of the metric POST arguments).","commit_id":"d1379c3369ceac1bdcb71f0a929b13a6dc7769f8"}]}
