)]}'
{"docs/monasca-log-api-spec.md":[{"author":{"_account_id":7874,"name":"Venkat Sundaram","email":"tsv@hp.com","username":"tsv"},"change_message_id":"0c892c0d9de8a3f829de48702585183fb489603e","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"### POST /v3.0/logs"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"#### Headers"},{"line_number":91,"context_line":"* X-Auth-Token (string, required) - Keystone auth token"},{"line_number":92,"context_line":"* Content-Type (string, required) - application/json"},{"line_number":93,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":1,"id":"7a5de9d1_81d210d1","line":90,"range":{"start_line":90,"start_character":5,"end_line":90,"end_character":12},"updated":"2016-01-28 22:08:26.000000000","message":"What happens to the X-Application-Type now ? I believe this is now expected to be part of the dimensions. If so, could you please specify that so folks switching from old api would know ?","commit_id":"a69de58851de0ea192123eecd3abd33d083efdea"},{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"aa4fbb061fde3febc21ee01c240476597ffcaf85","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"### POST /v3.0/logs"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"#### Headers"},{"line_number":91,"context_line":"* X-Auth-Token (string, required) - Keystone auth token"},{"line_number":92,"context_line":"* Content-Type (string, required) - application/json"},{"line_number":93,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":1,"id":"5a5ae5dd_1dcfa757","line":90,"range":{"start_line":90,"start_character":5,"end_line":90,"end_character":12},"in_reply_to":"7a5de9d1_81d210d1","updated":"2016-02-03 14:48:56.000000000","message":"I think application_type has to be the part of the log object. It is not necessarily the same for all the logs in the batch.","commit_id":"a69de58851de0ea192123eecd3abd33d083efdea"},{"author":{"_account_id":7874,"name":"Venkat Sundaram","email":"tsv@hp.com","username":"tsv"},"change_message_id":"0c892c0d9de8a3f829de48702585183fb489603e","unresolved":false,"context_lines":[{"line_number":95,"context_line":"None."},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"#### Query Parameters"},{"line_number":98,"context_line":"* tenant_id (string, optional, restricted) - Tenant ID to create log on behalf of. Usage of this query parameter requires the `monitoring-delegate` role."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"#### Request Body"},{"line_number":101,"context_line":"Consists of a JSON object which can have a maximum size of 5 MB. It consits of"}],"source_content_type":"text/x-markdown","patch_set":1,"id":"7a5de9d1_e1bae4bf","line":98,"range":{"start_line":98,"start_character":2,"end_line":98,"end_character":11},"updated":"2016-01-28 22:08:26.000000000","message":"tenant_id \u003d\u003e project_id, as Keystone uses that terminology since V3","commit_id":"a69de58851de0ea192123eecd3abd33d083efdea"},{"author":{"_account_id":16168,"name":"Tomasz Trębski","email":"kornicameister@gmail.com","username":"trebskit"},"change_message_id":"17157a96abe48ce170791c3d6822bb592087e08a","unresolved":false,"context_lines":[{"line_number":95,"context_line":"None."},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"#### Query Parameters"},{"line_number":98,"context_line":"* tenant_id (string, optional, restricted) - Tenant ID to create log on behalf of. Usage of this query parameter requires the `monitoring-delegate` role."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"#### Request Body"},{"line_number":101,"context_line":"Consists of a JSON object which can have a maximum size of 5 MB. It consits of"}],"source_content_type":"text/x-markdown","patch_set":1,"id":"7a5de9d1_b39e22b7","line":98,"range":{"start_line":98,"start_character":2,"end_line":98,"end_character":11},"in_reply_to":"7a5de9d1_e1bae4bf","updated":"2016-02-03 15:41:47.000000000","message":"I believe that\u0027s valid comment to go with project_id. \nIt was tenant_id in Keystone V2, right ?","commit_id":"a69de58851de0ea192123eecd3abd33d083efdea"},{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"9583213218d091d4169a499ea65ef370bb8318a7","unresolved":false,"context_lines":[{"line_number":95,"context_line":"None."},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"#### Query Parameters"},{"line_number":98,"context_line":"* tenant_id (string, optional, restricted) - Tenant ID to create log on behalf of. Usage of this query parameter requires the `monitoring-delegate` role."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"#### Request Body"},{"line_number":101,"context_line":"Consists of a JSON object which can have a maximum size of 5 MB. It consits of"}],"source_content_type":"text/x-markdown","patch_set":1,"id":"3a57f1b5_fece3a59","line":98,"range":{"start_line":98,"start_character":2,"end_line":98,"end_character":11},"in_reply_to":"7a5de9d1_e1bae4bf","updated":"2016-02-10 13:29:13.000000000","message":"We have agreed during the mid-cycle to stay with the old name \u0027tenant_id\u0027 to be compatible with the rest of Monasca components, right?","commit_id":"a69de58851de0ea192123eecd3abd33d083efdea"},{"author":{"_account_id":7052,"name":"Fabio Giannetti","email":"fgiannet@cisco.com","username":"fabgia"},"change_message_id":"d70ae47757315f7f06a1cfd2b8b5e5f2eb39f5fa","unresolved":false,"context_lines":[{"line_number":134,"context_line":""},{"line_number":135,"context_line":"### Response"},{"line_number":136,"context_line":"#### Status Code"},{"line_number":137,"context_line":"* 204 - No content"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"#### Response Body"},{"line_number":140,"context_line":"This request does not return a response body."}],"source_content_type":"text/x-markdown","patch_set":1,"id":"7a5de9d1_e13bc49a","line":137,"range":{"start_line":137,"start_character":11,"end_line":137,"end_character":18},"updated":"2016-01-28 21:52:28.000000000","message":"When we are consuming this back, would you get a URI per \"message\" entry or a single endpoint linked to the dimensions?\nI am asking this because returning 204 implies to me that you will have a location in the header that points to a single URI for the newly resource created.","commit_id":"a69de58851de0ea192123eecd3abd33d083efdea"},{"author":{"_account_id":2419,"name":"Roland Hochmuth","email":"roland.hochmuth@hpe.com","username":"roland-hochmuth-s"},"change_message_id":"095a7e083eacc737bc435777dc2b4cec02ee7f73","unresolved":false,"context_lines":[{"line_number":119,"context_line":"Cache-Control: no-cache"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"{"},{"line_number":122,"context_line":"    \"global_dims\":{"},{"line_number":123,"context_line":"        \"hostname\":\"mini-mon\","},{"line_number":124,"context_line":"        \"service\":\"monitoring\","},{"line_number":125,"context_line":"        \"component\":\"mysql\","}],"source_content_type":"text/x-markdown","patch_set":3,"id":"9aed3d3a_0f69dabe","line":122,"range":{"start_line":122,"start_character":5,"end_line":122,"end_character":16},"updated":"2016-02-26 13:21:24.000000000","message":"Looks good to me. I was just wondering if we wanted to just call this \"dimensions\"?","commit_id":"d81846eb381559ff46fdd867acacc3443dcdfb6f"},{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"f729c3f78dc4cb9f6c58fc4f427a516473636eb0","unresolved":false,"context_lines":[{"line_number":119,"context_line":"Cache-Control: no-cache"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"{"},{"line_number":122,"context_line":"    \"global_dims\":{"},{"line_number":123,"context_line":"        \"hostname\":\"mini-mon\","},{"line_number":124,"context_line":"        \"service\":\"monitoring\","},{"line_number":125,"context_line":"        \"component\":\"mysql\","}],"source_content_type":"text/x-markdown","patch_set":3,"id":"9aed3d3a_9d519bdb","line":122,"range":{"start_line":122,"start_character":5,"end_line":122,"end_character":16},"in_reply_to":"9aed3d3a_0f69dabe","updated":"2016-02-26 14:59:57.000000000","message":"We could change it, but wouldn\u0027t that be misleading?","commit_id":"d81846eb381559ff46fdd867acacc3443dcdfb6f"},{"author":{"_account_id":7052,"name":"Fabio Giannetti","email":"fgiannet@cisco.com","username":"fabgia"},"change_message_id":"2c5663cb0169369f3879a7637f78d5f41815ee0f","unresolved":false,"context_lines":[{"line_number":119,"context_line":"Cache-Control: no-cache"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"{"},{"line_number":122,"context_line":"    \"global_dims\":{"},{"line_number":123,"context_line":"        \"hostname\":\"mini-mon\","},{"line_number":124,"context_line":"        \"service\":\"monitoring\","},{"line_number":125,"context_line":"        \"component\":\"mysql\","}],"source_content_type":"text/x-markdown","patch_set":3,"id":"9aed3d3a_8347791c","line":122,"range":{"start_line":122,"start_character":5,"end_line":122,"end_character":16},"in_reply_to":"9aed3d3a_263fa0d7","updated":"2016-02-26 16:42:20.000000000","message":"I would actually not even bother to have a global dimensions and have the data replicated in all the messages. This is transient data anyway, at rest we are already making the optimization. If you have a log filter it will add the dimensions that are relevant to that log, but now you impose to scan the logs that you want to aggregate to identify the common dimensions and that could be an expensive operation with no real benefits in the long term beside a smaller payload to the post.","commit_id":"d81846eb381559ff46fdd867acacc3443dcdfb6f"},{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"c2115c13c87fcba597c619c8bbbfeed18f9bab83","unresolved":false,"context_lines":[{"line_number":119,"context_line":"Cache-Control: no-cache"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"{"},{"line_number":122,"context_line":"    \"global_dims\":{"},{"line_number":123,"context_line":"        \"hostname\":\"mini-mon\","},{"line_number":124,"context_line":"        \"service\":\"monitoring\","},{"line_number":125,"context_line":"        \"component\":\"mysql\","}],"source_content_type":"text/x-markdown","patch_set":3,"id":"9aed3d3a_81656c1f","line":122,"range":{"start_line":122,"start_character":5,"end_line":122,"end_character":16},"in_reply_to":"9aed3d3a_8347791c","updated":"2016-02-29 10:48:29.000000000","message":"I would also prefer to have only individual dimensions, but I can live with that solution. As Roland wrote, you will normally only send global or individual dims, not both at once.","commit_id":"d81846eb381559ff46fdd867acacc3443dcdfb6f"},{"author":{"_account_id":7874,"name":"Venkat Sundaram","email":"tsv@hp.com","username":"tsv"},"change_message_id":"2f60c9561b2ed4b82c289e6688ffc99b031ea64a","unresolved":false,"context_lines":[{"line_number":119,"context_line":"Cache-Control: no-cache"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"{"},{"line_number":122,"context_line":"    \"global_dims\":{"},{"line_number":123,"context_line":"        \"hostname\":\"mini-mon\","},{"line_number":124,"context_line":"        \"service\":\"monitoring\","},{"line_number":125,"context_line":"        \"component\":\"mysql\","}],"source_content_type":"text/x-markdown","patch_set":3,"id":"9aed3d3a_263fa0d7","line":122,"range":{"start_line":122,"start_character":5,"end_line":122,"end_character":16},"in_reply_to":"9aed3d3a_9d519bdb","updated":"2016-02-26 15:51:22.000000000","message":"Thanks for updating the spec. I vote to name this \"dimensions\" too, as it looks intuitive to me that the individual entries with same name would override it.","commit_id":"d81846eb381559ff46fdd867acacc3443dcdfb6f"},{"author":{"_account_id":7052,"name":"Fabio Giannetti","email":"fgiannet@cisco.com","username":"fabgia"},"change_message_id":"8a56f8218dc512f14ca55ae501e60b58f9f5c04e","unresolved":false,"context_lines":[{"line_number":100,"context_line":""},{"line_number":101,"context_line":"#### Request Body"},{"line_number":102,"context_line":"JSON object which can have a maximum size of 5 MB. It consists of global"},{"line_number":103,"context_line":"dimensions (optional) and array of logs."},{"line_number":104,"context_line":"Dimensions is a dictionary of key-value pairs and should be consistent with"},{"line_number":105,"context_line":"metric dimensions."},{"line_number":106,"context_line":"Logs is an array of JSON objects describing the log entries. Every log object"}],"source_content_type":"text/x-markdown","patch_set":4,"id":"9aed3d3a_c65da616","line":103,"range":{"start_line":103,"start_character":39,"end_line":103,"end_character":40},"updated":"2016-02-29 19:23:15.000000000","message":"is the dimensions in the local log compulsory?\nI can see 3 scenarios:\n1) global is defined and locals are OPTIONAL\n2) global is not defined and locals MUST be defined\n3) global is defined and locals are defined","commit_id":"d530efe465249120705cbe2bc3c3e1f7c46a58eb"},{"author":{"_account_id":16168,"name":"Tomasz Trębski","email":"kornicameister@gmail.com","username":"trebskit"},"change_message_id":"7bcac9e282e56b1982ed4101ea2caec13a12d2a5","unresolved":false,"context_lines":[{"line_number":100,"context_line":""},{"line_number":101,"context_line":"#### Request Body"},{"line_number":102,"context_line":"JSON object which can have a maximum size of 5 MB. It consists of global"},{"line_number":103,"context_line":"dimensions (optional) and array of logs."},{"line_number":104,"context_line":"Dimensions is a dictionary of key-value pairs and should be consistent with"},{"line_number":105,"context_line":"metric dimensions."},{"line_number":106,"context_line":"Logs is an array of JSON objects describing the log entries. Every log object"}],"source_content_type":"text/x-markdown","patch_set":4,"id":"5aef4532_1415eae3","line":103,"range":{"start_line":103,"start_character":39,"end_line":103,"end_character":40},"in_reply_to":"9aed3d3a_c65da616","updated":"2016-03-10 07:06:57.000000000","message":"I think the best approach is to consider both optional and if resulting dict is empty we can throw exception telling that no dimensions could be found in combination of local+global dimensions.","commit_id":"d530efe465249120705cbe2bc3c3e1f7c46a58eb"},{"author":{"_account_id":7874,"name":"Venkat Sundaram","email":"tsv@hp.com","username":"tsv"},"change_message_id":"66a3adc530ad4499da54adc9e3358eaa0dc28bad","unresolved":false,"context_lines":[{"line_number":119,"context_line":"Cache-Control: no-cache"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"{"},{"line_number":122,"context_line":"    \"dimensions\":{"},{"line_number":123,"context_line":"        \"hostname\":\"mini-mon\","},{"line_number":124,"context_line":"        \"service\":\"monitoring\","},{"line_number":125,"context_line":"        \"component\":\"mysql\","}],"source_content_type":"text/x-markdown","patch_set":4,"id":"7af24918_e9cba5a3","line":122,"range":{"start_line":122,"start_character":5,"end_line":122,"end_character":15},"updated":"2016-03-02 15:48:43.000000000","message":"Could we update the example to reflect the latest discussions on merging the dimensions ?\n\n* remove \"component\" and \"path\" from the global dimensions\n* remove \"hostname\" and \"service\" from the local log entries","commit_id":"d530efe465249120705cbe2bc3c3e1f7c46a58eb"},{"author":{"_account_id":16168,"name":"Tomasz Trębski","email":"kornicameister@gmail.com","username":"trebskit"},"change_message_id":"7bcac9e282e56b1982ed4101ea2caec13a12d2a5","unresolved":false,"context_lines":[{"line_number":119,"context_line":"Cache-Control: no-cache"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"{"},{"line_number":122,"context_line":"    \"dimensions\":{"},{"line_number":123,"context_line":"        \"hostname\":\"mini-mon\","},{"line_number":124,"context_line":"        \"service\":\"monitoring\","},{"line_number":125,"context_line":"        \"component\":\"mysql\","}],"source_content_type":"text/x-markdown","patch_set":4,"id":"5aef4532_3403c6b9","line":122,"range":{"start_line":122,"start_character":5,"end_line":122,"end_character":15},"in_reply_to":"7af24918_e9cba5a3","updated":"2016-03-10 07:06:57.000000000","message":"Done","commit_id":"d530efe465249120705cbe2bc3c3e1f7c46a58eb"}]}
