)]}'
{"specs/juno/dispatcher-for-gnocchi-integration.rst":[{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"848eedc8ba009630d881627fbe929b112bd1363a","unresolved":false,"context_lines":[{"line_number":48,"context_line":"this mechanism effective and easy to implement and extend later the plan is"},{"line_number":49,"context_line":"to create stevedore extensions for the different resource types, which"},{"line_number":50,"context_line":"provides a pluggable solution for the future. The resource creation would"},{"line_number":51,"context_line":"happen using PATCH request."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"The next step after having a resource is to create entity for the given"},{"line_number":54,"context_line":"measurement, that is connected to the previously created resource. The entity"}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_6bb449d1","line":51,"updated":"2014-07-10 16:25:49.000000000","message":"You can\u0027t use PATCH to create, you need to PUT actually.\n\nPATCH is gonna be used to update the resource; if that fails (404), you just have to create it with PUT.","commit_id":"33cd288b72be8df04e4004702514066d86027ad4"},{"author":{"_account_id":9562,"name":"Ildiko Vancsa","email":"ildiko.vancsa@gmail.com","username":"ildikov"},"change_message_id":"f94757997af594072bf2c5d609ac5ae8571127be","unresolved":false,"context_lines":[{"line_number":48,"context_line":"this mechanism effective and easy to implement and extend later the plan is"},{"line_number":49,"context_line":"to create stevedore extensions for the different resource types, which"},{"line_number":50,"context_line":"provides a pluggable solution for the future. The resource creation would"},{"line_number":51,"context_line":"happen using PATCH request."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"The next step after having a resource is to create entity for the given"},{"line_number":54,"context_line":"measurement, that is connected to the previously created resource. The entity"}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_8b77ddd3","line":51,"in_reply_to":"baada198_6bb449d1","updated":"2014-07-10 16:33:03.000000000","message":"Yeap, thanks, it seems I created one not working step for these two...","commit_id":"33cd288b72be8df04e4004702514066d86027ad4"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"848eedc8ba009630d881627fbe929b112bd1363a","unresolved":false,"context_lines":[{"line_number":148,"context_line":"  ildikov"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Other contributors:"},{"line_number":151,"context_line":"  \u003claunchpad-id or None\u003e"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"Ongoing maintainer:"},{"line_number":154,"context_line":"  \u003claunchpad-id or None\u003e"}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_4bff8567","line":151,"updated":"2014-07-10 16:25:49.000000000","message":"Feel free to add me.","commit_id":"33cd288b72be8df04e4004702514066d86027ad4"},{"author":{"_account_id":9562,"name":"Ildiko Vancsa","email":"ildiko.vancsa@gmail.com","username":"ildikov"},"change_message_id":"f94757997af594072bf2c5d609ac5ae8571127be","unresolved":false,"context_lines":[{"line_number":148,"context_line":"  ildikov"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Other contributors:"},{"line_number":151,"context_line":"  \u003claunchpad-id or None\u003e"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"Ongoing maintainer:"},{"line_number":154,"context_line":"  \u003claunchpad-id or None\u003e"}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_8b5efd43","line":151,"in_reply_to":"baada198_4bff8567","updated":"2014-07-10 16:33:03.000000000","message":"Thanks much. :)","commit_id":"33cd288b72be8df04e4004702514066d86027ad4"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"42fb0468158d0973eb5b9e09ab5e14721381b674","unresolved":false,"context_lines":[{"line_number":52,"context_line":""},{"line_number":53,"context_line":"The next step after having a resource is to create entity for the given"},{"line_number":54,"context_line":"measurement, that is connected to the previously created resource. The entity"},{"line_number":55,"context_line":"creation should also happen automatically, without any human interaction."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"There is also a need for at least one archiving policy to be existed before"},{"line_number":58,"context_line":"storing any time series data. We can reuse the currently existing"}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_8d0b3523","line":55,"updated":"2014-07-11 23:07:25.000000000","message":"I think we need a little more detail on what triggers the entity creation.\n\nDo we check for example for each datapoint if an entity matching name the meter_name already exists for this resource, or can we optimize that out of the loop, e.g. via direct PUT/POST as we discussed at the mid-cycle:\n\n  POST /v1/resource/UUID/entity/{entity.name}/measures ...","commit_id":"1d852acf5be7072a38276b007a29dd25126c6a24"},{"author":{"_account_id":9562,"name":"Ildiko Vancsa","email":"ildiko.vancsa@gmail.com","username":"ildikov"},"change_message_id":"1fee4bee5167ec3145c77be3b1325d9f2ab345bd","unresolved":false,"context_lines":[{"line_number":52,"context_line":""},{"line_number":53,"context_line":"The next step after having a resource is to create entity for the given"},{"line_number":54,"context_line":"measurement, that is connected to the previously created resource. The entity"},{"line_number":55,"context_line":"creation should also happen automatically, without any human interaction."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"There is also a need for at least one archiving policy to be existed before"},{"line_number":58,"context_line":"storing any time series data. We can reuse the currently existing"}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_d05135da","line":55,"in_reply_to":"baada198_8d0b3523","updated":"2014-07-13 10:52:35.000000000","message":"IIUC, you mean here that we should handle the entity creation similar to the resource creation, so if we cannot POST new measures for an entity, then we need to create it first and then for instance in the next polling cycle it will work.\n\nI will add this to the next version, but I do not want to add any more implementation detail to this spec. I wanted to focus on the bit higher level aspects, like we do not want to introduce any new configuration parameters/options, etc.","commit_id":"1d852acf5be7072a38276b007a29dd25126c6a24"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"42fb0468158d0973eb5b9e09ab5e14721381b674","unresolved":false,"context_lines":[{"line_number":151,"context_line":"  jdanjou"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"Ongoing maintainer:"},{"line_number":154,"context_line":"  \u003claunchpad-id or None\u003e"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"Work Items"},{"line_number":157,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_2aef6f88","line":154,"updated":"2014-07-11 23:07:25.000000000","message":"Eeek! None? ;)","commit_id":"1d852acf5be7072a38276b007a29dd25126c6a24"},{"author":{"_account_id":9562,"name":"Ildiko Vancsa","email":"ildiko.vancsa@gmail.com","username":"ildikov"},"change_message_id":"1fee4bee5167ec3145c77be3b1325d9f2ab345bd","unresolved":false,"context_lines":[{"line_number":151,"context_line":"  jdanjou"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"Ongoing maintainer:"},{"line_number":154,"context_line":"  \u003claunchpad-id or None\u003e"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"Work Items"},{"line_number":157,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_10380d9f","line":154,"in_reply_to":"baada198_2aef6f88","updated":"2014-07-13 10:52:35.000000000","message":"Sorry! ;)\n\nWill be corrected in the next version.","commit_id":"1d852acf5be7072a38276b007a29dd25126c6a24"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"4338ca244e567ffdd21b2e06385586a19b9db953","unresolved":false,"context_lines":[{"line_number":52,"context_line":""},{"line_number":53,"context_line":"The next step after having a resource is to create entity for the given"},{"line_number":54,"context_line":"measurement, that is connected to the previously created resource. The entity"},{"line_number":55,"context_line":"creation should also happen automatically, without any human interaction. "},{"line_number":56,"context_line":"Meter name will be used to name each entity. To avoid the endless loops of"},{"line_number":57,"context_line":"checking whether the entity exists or not, we try to POST new measurements"},{"line_number":58,"context_line":"with using the following request::"}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_eea38efd","line":55,"updated":"2014-07-14 23:01:16.000000000","message":"Nitpick: trailing WS.","commit_id":"d3a822d08d366d40d562886c7da4a32125423530"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"4338ca244e567ffdd21b2e06385586a19b9db953","unresolved":false,"context_lines":[{"line_number":53,"context_line":"The next step after having a resource is to create entity for the given"},{"line_number":54,"context_line":"measurement, that is connected to the previously created resource. The entity"},{"line_number":55,"context_line":"creation should also happen automatically, without any human interaction. "},{"line_number":56,"context_line":"Meter name will be used to name each entity. To avoid the endless loops of"},{"line_number":57,"context_line":"checking whether the entity exists or not, we try to POST new measurements"},{"line_number":58,"context_line":"with using the following request::"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_6e493e5f","line":56,"updated":"2014-07-14 23:01:16.000000000","message":"\"Meter name will be used to name each entity\"\n\nSo does this statement need to be a little clearer, in terms of the identification of the entity?\n\nIIUC as the gnocchi API is currently described, the name just decorates the association of the entity with the resource, whereas the primary identifier of the entity is simply it\u0027s UUID.","commit_id":"d3a822d08d366d40d562886c7da4a32125423530"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"521676957229481a8dbd3c7b8bcbd58f5b151ade","unresolved":false,"context_lines":[{"line_number":53,"context_line":"The next step after having a resource is to create entity for the given"},{"line_number":54,"context_line":"measurement, that is connected to the previously created resource. The entity"},{"line_number":55,"context_line":"creation should also happen automatically, without any human interaction. "},{"line_number":56,"context_line":"Meter name will be used to name each entity. To avoid the endless loops of"},{"line_number":57,"context_line":"checking whether the entity exists or not, we try to POST new measurements"},{"line_number":58,"context_line":"with using the following request::"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_62330314","line":56,"in_reply_to":"baada198_29449645","updated":"2014-07-15 09:30:31.000000000","message":"Just chatted with Julien about this on IRC, here\u0027s the paste for posterity:\n\n \u003ceglynn\u003e ildikov: you wanted to chat about https://review.openstack.org/#/c/106088/3/specs/juno/dispatcher-for-gnocchi-integration.rst ?\n \u003ceglynn\u003e ildikov: ... so WRT the generation of the entity ID as an inferrable value such as meter_name-resource_uuid\n \u003ceglynn\u003e ... yeah I actually suggested that at summit so as to avoid the need for the two-step calls into the gnocchi API to push a single datapoint\n \u003ceglynn\u003e ... can\u0027t recall exactly why jd__ thought it was a bad idea, it may have been just that he didn\u0027t want to pre-suppose that all entities are associated with resources\n \u003ceglynn\u003e ... or maybe preferred a convenience API operation of form: POST /v1/resource/UUID/entity/{entity.name}/measures\n \u003cjd__\u003e yeah the main thing I think was that entities and resources are in N to N relationship\n \u003cjd__\u003e if we change that we can simplify the model\n \u003cjd__\u003e though having /v1/resource/UUID/entity/{entity.name}/measures is not tied to that\n \u003cjd__\u003e we can resolve it even with N-N\n \u003cjd__\u003e having the proper data model and having a easy way to query/manipulate it are 2 distincts things\n \u003cjd__\u003e -s\n \u003ceglynn\u003e jd__: cool, so in terms of how the dispatcher approach should proceed ...\n \u003ceglynn\u003e step #1: use the sub-optimal two-step GET resource, POST entity\n \u003ceglynn\u003e step #2: replace that with single call to convenience operation POST /v1/resource/UUID/entity/{entity.name}/measures\n \u003cjd__\u003e yep\n \u003cjd__\u003e I\u0027m adding /v1/resource/UUID/entity/{entity.name}/measures to my TODO\n \u003ceglynn\u003e jd__: cool, thank you sir!","commit_id":"d3a822d08d366d40d562886c7da4a32125423530"},{"author":{"_account_id":9562,"name":"Ildiko Vancsa","email":"ildiko.vancsa@gmail.com","username":"ildikov"},"change_message_id":"376f6b476bb4ad544004208370e742c73596faaf","unresolved":false,"context_lines":[{"line_number":53,"context_line":"The next step after having a resource is to create entity for the given"},{"line_number":54,"context_line":"measurement, that is connected to the previously created resource. The entity"},{"line_number":55,"context_line":"creation should also happen automatically, without any human interaction. "},{"line_number":56,"context_line":"Meter name will be used to name each entity. To avoid the endless loops of"},{"line_number":57,"context_line":"checking whether the entity exists or not, we try to POST new measurements"},{"line_number":58,"context_line":"with using the following request::"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_c155b4fa","line":56,"in_reply_to":"baada198_6e493e5f","updated":"2014-07-15 05:43:44.000000000","message":"It could be an implementation detail that we should not argue about here. But as we would like to hide Gnocchi from the user and provide a v# API in Ceilometer that supports this TSD approach, we need to be prepared for simple queries, like I would like to retrieve all the cpu_util samples. So I do not want to maintain a mapping of cpu_util to a list of UUIDs to fulfill this request. Of course the entity will be unique by using the UUID as identifier, naming only helps in several operations in the future, like the one I mentioned. But maybe my big picture is wrong. O rdid you mean to extend the BP with what I wrote here?","commit_id":"d3a822d08d366d40d562886c7da4a32125423530"},{"author":{"_account_id":9562,"name":"Ildiko Vancsa","email":"ildiko.vancsa@gmail.com","username":"ildikov"},"change_message_id":"bb8d119c1eb9642582dead1fab93e72872391092","unresolved":false,"context_lines":[{"line_number":53,"context_line":"The next step after having a resource is to create entity for the given"},{"line_number":54,"context_line":"measurement, that is connected to the previously created resource. The entity"},{"line_number":55,"context_line":"creation should also happen automatically, without any human interaction. "},{"line_number":56,"context_line":"Meter name will be used to name each entity. To avoid the endless loops of"},{"line_number":57,"context_line":"checking whether the entity exists or not, we try to POST new measurements"},{"line_number":58,"context_line":"with using the following request::"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_29449645","line":56,"in_reply_to":"baada198_76d58941","updated":"2014-07-15 07:38:06.000000000","message":"Sorry, TBH, I haven\u0027t checked this option, when you asked/suggested, my mistake. It wasn\u0027t clear to me that currently it does not exist. But as a wild idea, the uuid could be generated like meter_name-resource_uuid or smth like, so that we would have all the info that we need to identify the entity in one step. Otherwise my vote is on the two calls as a first step. I guess in long term we do not want to communicate via REST APIs inside Ceilo, so maybe we should not spend too much time on fine graining the Gnocchi API. But correct me if I\u0027m wrong here again.","commit_id":"d3a822d08d366d40d562886c7da4a32125423530"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"c7dbecd78602096cad7fcae7215e0275fedbdbaa","unresolved":false,"context_lines":[{"line_number":53,"context_line":"The next step after having a resource is to create entity for the given"},{"line_number":54,"context_line":"measurement, that is connected to the previously created resource. The entity"},{"line_number":55,"context_line":"creation should also happen automatically, without any human interaction. "},{"line_number":56,"context_line":"Meter name will be used to name each entity. To avoid the endless loops of"},{"line_number":57,"context_line":"checking whether the entity exists or not, we try to POST new measurements"},{"line_number":58,"context_line":"with using the following request::"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_76d58941","line":56,"in_reply_to":"baada198_c155b4fa","updated":"2014-07-15 07:03:46.000000000","message":"So basically I just wanted to tie down exactly how the dispatcher is going to interact with the gnocchi API when it sees a new sample.\n\nIt would be clear from the sample that the meter-name is \"cpu_util\" and the resource is \"resource-uuid\", say. But that\u0027s currently not enough information for the dispatcher to identify *which* entity it needs to POST to.\n\nSo currently IIUC it would have make at two calls into the API:\n\n* the first to retrieve the resource representation from the indexer, which will contain a map of entity-names to entity-uuids\n* the second to POST the value to the individual entity (identified by UUID in the POST /v1/entity/UUID/measure path)\n\nThe other option is add a new operation to the API that allows the entity-id lookup and datapoint submission to be done in a single call, e.g.:\n\n  POST /v1/resource/UUID/entity/{entity.name}/measures\n\nI guess the point is the existing approach is sub-optimal, but the alternative approach doesn\u0027t exist yet. Since this would involve an extension to the API and maybe some new assumptions about the interaction of the gnocchi indexer and storage layer, I think it goes beyond an implementation detail.","commit_id":"d3a822d08d366d40d562886c7da4a32125423530"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"4338ca244e567ffdd21b2e06385586a19b9db953","unresolved":false,"context_lines":[{"line_number":57,"context_line":"checking whether the entity exists or not, we try to POST new measurements"},{"line_number":58,"context_line":"with using the following request::"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":" POST /v1/resource/UUID/entity/{entity.name}/measures ..."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"If the request fails with missing entity error, then we create the entity"},{"line_number":63,"context_line":"with using a default archiving policy, as it is described below, and post the"}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_ae9d16be","line":60,"updated":"2014-07-14 23:01:16.000000000","message":"Should the BP make it clear that this combined operation to look up the entity in the resource and to POST some measurements to the entity if found, does not currently exist in the gnocchi API (though we talked about it at mid-cycle).\n\ni.e. does it need to made clear as a dependency?","commit_id":"d3a822d08d366d40d562886c7da4a32125423530"},{"author":{"_account_id":9562,"name":"Ildiko Vancsa","email":"ildiko.vancsa@gmail.com","username":"ildikov"},"change_message_id":"bb8d119c1eb9642582dead1fab93e72872391092","unresolved":false,"context_lines":[{"line_number":57,"context_line":"checking whether the entity exists or not, we try to POST new measurements"},{"line_number":58,"context_line":"with using the following request::"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":" POST /v1/resource/UUID/entity/{entity.name}/measures ..."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"If the request fails with missing entity error, then we create the entity"},{"line_number":63,"context_line":"with using a default archiving policy, as it is described below, and post the"}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_69ee8e23","line":60,"in_reply_to":"baada198_738d9b30","updated":"2014-07-15 07:38:06.000000000","message":"Sorry again, I did not get this dependency in the previous point, so in this sense it did not help me much that you kind of repeated it here... :S","commit_id":"d3a822d08d366d40d562886c7da4a32125423530"},{"author":{"_account_id":9562,"name":"Ildiko Vancsa","email":"ildiko.vancsa@gmail.com","username":"ildikov"},"change_message_id":"376f6b476bb4ad544004208370e742c73596faaf","unresolved":false,"context_lines":[{"line_number":57,"context_line":"checking whether the entity exists or not, we try to POST new measurements"},{"line_number":58,"context_line":"with using the following request::"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":" POST /v1/resource/UUID/entity/{entity.name}/measures ..."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"If the request fails with missing entity error, then we create the entity"},{"line_number":63,"context_line":"with using a default archiving policy, as it is described below, and post the"}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_c16cd4d2","line":60,"in_reply_to":"baada198_ae9d16be","updated":"2014-07-15 05:43:44.000000000","message":"What do you mean by dependency? I think it\u0027s now really an implementation detail that how I create an entity. So if I execute a DB query in each polling cycle, then feel free to -1 that patch and ask me, what lead me there to do a sooo badly performing solution? ;)","commit_id":"d3a822d08d366d40d562886c7da4a32125423530"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"c7dbecd78602096cad7fcae7215e0275fedbdbaa","unresolved":false,"context_lines":[{"line_number":57,"context_line":"checking whether the entity exists or not, we try to POST new measurements"},{"line_number":58,"context_line":"with using the following request::"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":" POST /v1/resource/UUID/entity/{entity.name}/measures ..."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"If the request fails with missing entity error, then we create the entity"},{"line_number":63,"context_line":"with using a default archiving policy, as it is described below, and post the"}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_738d9b30","line":60,"in_reply_to":"baada198_c16cd4d2","updated":"2014-07-15 07:03:46.000000000","message":"By a dependency I just meant something that needs to be implemented in advance elsewhere (in this case in the API layer) in order for the approach envisaged in the dispatcher to work.","commit_id":"d3a822d08d366d40d562886c7da4a32125423530"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"4338ca244e567ffdd21b2e06385586a19b9db953","unresolved":false,"context_lines":[{"line_number":161,"context_line":"  jdanjou"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"Ongoing maintainer:"},{"line_number":164,"context_line":"  None"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"Work Items"},{"line_number":167,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_0ea7e20b","line":164,"updated":"2014-07-14 23:01:16.000000000","message":"Eeek! None? ;)","commit_id":"d3a822d08d366d40d562886c7da4a32125423530"},{"author":{"_account_id":9562,"name":"Ildiko Vancsa","email":"ildiko.vancsa@gmail.com","username":"ildikov"},"change_message_id":"376f6b476bb4ad544004208370e742c73596faaf","unresolved":false,"context_lines":[{"line_number":161,"context_line":"  jdanjou"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"Ongoing maintainer:"},{"line_number":164,"context_line":"  None"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"Work Items"},{"line_number":167,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_61b2284a","line":164,"in_reply_to":"baada198_0ea7e20b","updated":"2014-07-15 05:43:44.000000000","message":"Well, I\u0027ve already put my name somewhere, where I shouldn\u0027t ever have, so I try not to make the same mistake again. ;)\n\nIf it will be a long term solution, then I could list the whole core team here. If it will not be a long term solution, then noone is needed for maintaining it. This solution is hidden from the user, so does not require any API change, it can be refactored later without any major issues. So if you don\u0027t like None here, then remove it from the list of accepted options. :)","commit_id":"d3a822d08d366d40d562886c7da4a32125423530"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"c7dbecd78602096cad7fcae7215e0275fedbdbaa","unresolved":false,"context_lines":[{"line_number":161,"context_line":"  jdanjou"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"Ongoing maintainer:"},{"line_number":164,"context_line":"  None"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"Work Items"},{"line_number":167,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_d64c9544","line":164,"in_reply_to":"baada198_61b2284a","updated":"2014-07-15 07:03:46.000000000","message":"Can you put \"entire core team\"? ... or just the subset of contributors currently involved in gnocchi?","commit_id":"d3a822d08d366d40d562886c7da4a32125423530"},{"author":{"_account_id":9562,"name":"Ildiko Vancsa","email":"ildiko.vancsa@gmail.com","username":"ildikov"},"change_message_id":"bb8d119c1eb9642582dead1fab93e72872391092","unresolved":false,"context_lines":[{"line_number":161,"context_line":"  jdanjou"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"Ongoing maintainer:"},{"line_number":164,"context_line":"  None"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"Work Items"},{"line_number":167,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_167fedab","line":164,"in_reply_to":"baada198_d64c9544","updated":"2014-07-15 07:38:06.000000000","message":"As you wish, I will add the list of current contributors.","commit_id":"d3a822d08d366d40d562886c7da4a32125423530"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"a0c3b47ed49b3e5b74831dc3866a6872edd19980","unresolved":false,"context_lines":[{"line_number":47,"context_line":"The resource creation has to happen before storing any datapoints. To make"},{"line_number":48,"context_line":"this mechanism effective and easy to implement and extend later the plan is"},{"line_number":49,"context_line":"to create stevedore extensions for the different resource types, which"},{"line_number":50,"context_line":"provides a pluggable solution for the future. The resource creation would"},{"line_number":51,"context_line":"happen using PUT request, if the given resource does not exist."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"The next step after having a resource is to create entity for the given"}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_b8846ad3","line":50,"updated":"2014-07-15 10:17:20.000000000","message":"Some further suggested verbiage ....\n\n... pluggable solution for the future. These resource creation extensions will each handle the creation of a strongly-typed resource of a single type, and be aware of the resource-specific attributes required in the Gnocchi representation. The loaded resource creation extensions will be managed by the dispatcher as a map keyed on meter-name (acting as a proxy for resource type). Resources of an unrecognized type will be modelled in Gnocchi as generic resources. The resource creation would happen ...","commit_id":"0197204d298f6ce9220553d276df3d1a65bd3918"},{"author":{"_account_id":9562,"name":"Ildiko Vancsa","email":"ildiko.vancsa@gmail.com","username":"ildikov"},"change_message_id":"8181d294a007d522703b94fe3f024b0c9624e051","unresolved":false,"context_lines":[{"line_number":47,"context_line":"The resource creation has to happen before storing any datapoints. To make"},{"line_number":48,"context_line":"this mechanism effective and easy to implement and extend later the plan is"},{"line_number":49,"context_line":"to create stevedore extensions for the different resource types, which"},{"line_number":50,"context_line":"provides a pluggable solution for the future. The resource creation would"},{"line_number":51,"context_line":"happen using PUT request, if the given resource does not exist."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"The next step after having a resource is to create entity for the given"}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_8d0a031e","line":50,"in_reply_to":"baada198_b8846ad3","updated":"2014-07-15 12:27:55.000000000","message":"Done","commit_id":"0197204d298f6ce9220553d276df3d1a65bd3918"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"a0c3b47ed49b3e5b74831dc3866a6872edd19980","unresolved":false,"context_lines":[{"line_number":58,"context_line":"whether the particular entity exists or not and in the latter case create"},{"line_number":59,"context_line":"the entity with a default archiving policy."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"Later on as a next step, to avoid the endless loops of checking whether the"},{"line_number":62,"context_line":"entity exists or not, we try to POST new measurements with using the"},{"line_number":63,"context_line":"following request::"},{"line_number":64,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_58a34eb1","line":61,"updated":"2014-07-15 10:17:20.000000000","message":"s/endless loops/additional overhead/","commit_id":"0197204d298f6ce9220553d276df3d1a65bd3918"},{"author":{"_account_id":9562,"name":"Ildiko Vancsa","email":"ildiko.vancsa@gmail.com","username":"ildikov"},"change_message_id":"8181d294a007d522703b94fe3f024b0c9624e051","unresolved":false,"context_lines":[{"line_number":58,"context_line":"whether the particular entity exists or not and in the latter case create"},{"line_number":59,"context_line":"the entity with a default archiving policy."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"Later on as a next step, to avoid the endless loops of checking whether the"},{"line_number":62,"context_line":"entity exists or not, we try to POST new measurements with using the"},{"line_number":63,"context_line":"following request::"},{"line_number":64,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_2d281785","line":61,"in_reply_to":"baada198_58a34eb1","updated":"2014-07-15 12:27:55.000000000","message":"Done","commit_id":"0197204d298f6ce9220553d276df3d1a65bd3918"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"a0c3b47ed49b3e5b74831dc3866a6872edd19980","unresolved":false,"context_lines":[{"line_number":65,"context_line":" POST /v1/resource/UUID/entity/{entity.name}/measures ..."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"If the request fails with missing entity error, then we create the entity"},{"line_number":68,"context_line":"with using a default archiving policy, as it is described below, and post the"},{"line_number":69,"context_line":"measurements again. In the next polling cycle or when the next notification"},{"line_number":70,"context_line":"is received for the given entity, the POST request will be successful. This"},{"line_number":71,"context_line":"option requires further improvement on the Gnocchi API, that is why it will"}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_f8918252","line":68,"updated":"2014-07-15 10:17:20.000000000","message":"... then we create the entity with using a default archiving policy, as it is described below, *associate the entity with the resource, and then* post the measurement again.","commit_id":"0197204d298f6ce9220553d276df3d1a65bd3918"},{"author":{"_account_id":9562,"name":"Ildiko Vancsa","email":"ildiko.vancsa@gmail.com","username":"ildikov"},"change_message_id":"8181d294a007d522703b94fe3f024b0c9624e051","unresolved":false,"context_lines":[{"line_number":65,"context_line":" POST /v1/resource/UUID/entity/{entity.name}/measures ..."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"If the request fails with missing entity error, then we create the entity"},{"line_number":68,"context_line":"with using a default archiving policy, as it is described below, and post the"},{"line_number":69,"context_line":"measurements again. In the next polling cycle or when the next notification"},{"line_number":70,"context_line":"is received for the given entity, the POST request will be successful. This"},{"line_number":71,"context_line":"option requires further improvement on the Gnocchi API, that is why it will"}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_cd0f9b2c","line":68,"in_reply_to":"baada198_f8918252","updated":"2014-07-15 12:27:55.000000000","message":"Done","commit_id":"0197204d298f6ce9220553d276df3d1a65bd3918"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"a0c3b47ed49b3e5b74831dc3866a6872edd19980","unresolved":false,"context_lines":[{"line_number":68,"context_line":"with using a default archiving policy, as it is described below, and post the"},{"line_number":69,"context_line":"measurements again. In the next polling cycle or when the next notification"},{"line_number":70,"context_line":"is received for the given entity, the POST request will be successful. This"},{"line_number":71,"context_line":"option requires further improvement on the Gnocchi API, that is why it will"},{"line_number":72,"context_line":"be a future improvement."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"There is also a need for at least one archiving policy to be existed before"}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_788d7230","line":71,"updated":"2014-07-15 10:17:20.000000000","message":"s/further improvement on the Gnocchi API/a new operation to be supported on the Gnocchi API/","commit_id":"0197204d298f6ce9220553d276df3d1a65bd3918"},{"author":{"_account_id":9562,"name":"Ildiko Vancsa","email":"ildiko.vancsa@gmail.com","username":"ildikov"},"change_message_id":"8181d294a007d522703b94fe3f024b0c9624e051","unresolved":false,"context_lines":[{"line_number":68,"context_line":"with using a default archiving policy, as it is described below, and post the"},{"line_number":69,"context_line":"measurements again. In the next polling cycle or when the next notification"},{"line_number":70,"context_line":"is received for the given entity, the POST request will be successful. This"},{"line_number":71,"context_line":"option requires further improvement on the Gnocchi API, that is why it will"},{"line_number":72,"context_line":"be a future improvement."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"There is also a need for at least one archiving policy to be existed before"}],"source_content_type":"text/x-rst","patch_set":4,"id":"baada198_ed1a9f6d","line":71,"in_reply_to":"baada198_788d7230","updated":"2014-07-15 12:27:55.000000000","message":"Done","commit_id":"0197204d298f6ce9220553d276df3d1a65bd3918"}]}
