)]}'
{"id":"openstack%2Fcloudkitty~704857","triplet_id":"openstack%2Fcloudkitty~master~I570db3db4c969042038a286829c8df2ee06fb5d7","project":"openstack/cloudkitty","branch":"master","topic":"fixProcessingOfRateXXXReAggregationMetrics","hashtags":[],"change_id":"I570db3db4c969042038a286829c8df2ee06fb5d7","subject":"Fix processing of \"rate:xxx\" re-aggregation configuration","status":"MERGED","created":"2020-01-29 17:40:25.000000000","updated":"2020-01-31 10:47:39.000000000","submitted":"2020-01-31 10:45:48.000000000","submitter":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"704857-1580467548022-fa858c1e","meta_rev_id":"51b9361d4ff0fb509e9064116901f3e96f37aa24","_number":704857,"virtual_id_number":704857,"owner":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"tag":"autogenerated:zuul:gate","value":2,"date":"2020-01-31 10:45:47.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":0,"_account_id":29503,"name":"Justin Ferrieu","email":"jferrieu@objectif-libre.com","username":"jferrieu"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":29503,"name":"Justin Ferrieu","email":"jferrieu@objectif-libre.com","username":"jferrieu"},"all":[{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":2,"date":"2020-01-31 09:49:04.000000000","_account_id":29503,"name":"Justin Ferrieu","email":"jferrieu@objectif-libre.com","username":"jferrieu"}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":29503,"name":"Justin Ferrieu","email":"jferrieu@objectif-libre.com","username":"jferrieu"},"all":[{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":1,"date":"2020-01-31 09:49:04.000000000","_account_id":29503,"name":"Justin Ferrieu","email":"jferrieu@objectif-libre.com","username":"jferrieu"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":0,"_account_id":29503,"name":"Justin Ferrieu","email":"jferrieu@objectif-libre.com","username":"jferrieu"}],"values":{"-1":"Branch Freeze"," 0":"No Priority","+1":"Important Change","+2":"Gate Blocker Fix / Urgent Change"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":29503,"name":"Justin Ferrieu","email":"jferrieu@objectif-libre.com","username":"jferrieu"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2020-01-31 09:49:04.000000000","updated_by":{"_account_id":29503,"name":"Justin Ferrieu","email":"jferrieu@objectif-libre.com","username":"jferrieu"},"reviewer":{"_account_id":29503,"name":"Justin Ferrieu","email":"jferrieu@objectif-libre.com","username":"jferrieu"},"state":"REVIEWER"},{"updated":"2020-01-31 10:45:47.000000000","updated_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"reviewer":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"state":"REVIEWER"}],"messages":[{"id":"890d14e7444ec6908964250e9a6fc59a42677136","author":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"date":"2020-01-29 17:40:25.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"36a74f263bd52c4bc639b49ccffe8b816d08f7e3","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-01-29 18:28:58.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\n\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/4e9ff069d4a54b828c917acd2ecfb7b5 : SUCCESS in 4m 45s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/a5ff596722894c288d6acdc432bea91e : SUCCESS in 5m 36s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/349e9a1a980d4ae882800076626de851 : SUCCESS in 4m 42s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/018d8edc9fe14f409e1977e4a7290285 : SUCCESS in 6m 04s\n- openstack-tox-py37 https://zuul.opendev.org/t/openstack/build/a8a40fe0bef9486686a54415ff4a2118 : SUCCESS in 6m 35s\n- openstack-tox-py38 https://zuul.opendev.org/t/openstack/build/fa16b7336e8a4ef6a3ac20988247be91 : SUCCESS in 4m 26s (non-voting)\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/ee755b22d98648cba1441e51bca0d086 : SUCCESS in 10m 44s\n- cloudkitty-tempest-full-v2-storage-influxdb https://zuul.opendev.org/t/openstack/build/054a65c76dac4496a4ac5622421bdba2 : SUCCESS in 40m 27s\n- cloudkitty-tempest-full-v2-storage-elasticsearch https://zuul.opendev.org/t/openstack/build/b64450b432bc4cda927c098589a48710 : SUCCESS in 43m 03s (non-voting)\n- cloudkitty-tempest-full-v1-storage-sqlalchemy https://zuul.opendev.org/t/openstack/build/d1a5d2e3094c43a3a25aaa94b16fd116 : SUCCESS in 38m 08s\n- cloudkitty-tempest-full-ipv6-only https://zuul.opendev.org/t/openstack/build/c93b77d9fa344f15ab7b88f21646a181 : SUCCESS in 41m 55s\n- cloudkitty-tox-bandit https://zuul.opendev.org/t/openstack/build/6310c62278174289b1d3b3ea854d2df4 : SUCCESS in 4m 44s (non-voting)","accounts_in_message":[],"_revision_number":1},{"id":"e86ca2483269c4358bdd9322ca27437a04f2165c","author":{"_account_id":29503,"name":"Justin Ferrieu","email":"jferrieu@objectif-libre.com","username":"jferrieu"},"date":"2020-01-31 09:49:04.000000000","message":"Patch Set 1: Code-Review+2 Workflow+1\n\nHi Rafael,\n\nGood catch,\n\nLGTM.","accounts_in_message":[],"_revision_number":1},{"id":"9db30f3ae0b6882714a5c7217c91b371bac2097a","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-01-31 09:49:16.000000000","message":"Patch Set 1: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":1},{"id":"6c1134fcd09e23732060117ea0611222003cb4e8","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-01-31 10:45:47.000000000","message":"Patch Set 1: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- openstack-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/9f609daaf32f4e0ea87935000ac5d68d : SUCCESS in 4m 31s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/6b8f75d9ad5a4708a91ff593cd7491b7 : SUCCESS in 4m 04s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/36ea5243fbcf42a297a677bcd1995cdf : SUCCESS in 5m 09s\n- openstack-tox-py37 https://zuul.opendev.org/t/openstack/build/745c7ae104114102aed414fd0e3f0d66 : SUCCESS in 5m 41s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/7aa71aab54384ce9b9cad881c9389213 : SUCCESS in 6m 24s\n- cloudkitty-tempest-full-v2-storage-influxdb https://zuul.opendev.org/t/openstack/build/4eac0ae69037465dae7e5813f1f5186c : SUCCESS in 42m 55s\n- cloudkitty-tempest-full-v1-storage-sqlalchemy https://zuul.opendev.org/t/openstack/build/a556522bf8f247cf86dde79d46a0a5f3 : SUCCESS in 38m 01s\n- cloudkitty-tempest-full-ipv6-only https://zuul.opendev.org/t/openstack/build/036297a788404fe6aace1f70243902b5 : SUCCESS in 39m 18s","accounts_in_message":[],"_revision_number":1},{"id":"062c10fcba3c22289f2faf96c31d974c8935bc19","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-01-31 10:45:48.000000000","message":"Change has been successfully merged by Zuul","accounts_in_message":[],"_revision_number":1},{"id":"baaa9ce3151f3cb3877c6c09695e18825ae7cda8","tag":"autogenerated:zuul:promote","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-01-31 10:47:39.000000000","message":"Patch Set 1:\n\nBuild succeeded (promote pipeline).\n\n- promote-openstack-tox-docs https://zuul.opendev.org/t/openstack/build/881a9bea98bf45d18bba42097bd275a4 : SUCCESS in 1m 28s","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"cbdd3545b55586b00ddd9565caffefea58fe162c","revisions":{"cbdd3545b55586b00ddd9565caffefea58fe162c":{"kind":"REWORK","_number":1,"created":"2020-01-29 17:40:25.000000000","uploader":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"ref":"refs/changes/57/704857/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/cloudkitty","ref":"refs/changes/57/704857/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/cloudkitty refs/changes/57/704857/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/cloudkitty refs/changes/57/704857/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/cloudkitty refs/changes/57/704857/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/cloudkitty refs/changes/57/704857/1"}}},"commit":{"parents":[{"commit":"385d20520f7163c08d39d17d0dc87ffc80839ec9","subject":"Standardize aggregation methods and granularities for Gnocchi collector","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/cloudkitty/commit/385d20520f7163c08d39d17d0dc87ffc80839ec9"}]}],"author":{"name":"Rafael Weingärtner","email":"rafael@apache.org","date":"2020-01-29 17:39:50.000000000","tz":-180},"committer":{"name":"Rafael Weingärtner","email":"rafael@apache.org","date":"2020-01-29 17:39:50.000000000","tz":-180},"subject":"Fix processing of \"rate:xxx\" re-aggregation configuration","message":"Fix processing of \"rate:xxx\" re-aggregation configuration\n\nThe aggregation API in Gnocchi does not return anything for Granularity\n3600, when the time-range is just one hour for \"rate:xxx\"\nre-aggregation methods. That behavior on Gnocchi side is correct. The\n\"rate:xxx\" aggregation method needs at least two data points (we are\ntaking the diff, right?). Therefore, when configured to work with\n\"rate:xxx\" CloudKitty needs to call the aggregation API with a two\nhours interval (for granularity 3600), and not just one.\n\nWith this patch, when CloudKitty detects a \"rate:xxx\" configuration, it\nwill use the range as two times (*) the granularity we are using to\nprocess data. Therefore, if the granularity is one hour, it uses a\ntwo-hour time frame; on the other hand, if the granularity is\nconfigured to 10 minutes, it would consider a 20 minutes timeframe. I\nam doing that to retrieve two data points at a time in the aggregation\nAPI; thus, we can compute the diffs between the data points.\n\nDepends-On: https://review.opendev.org/#/c/704787/\nChange-Id: I570db3db4c969042038a286829c8df2ee06fb5d7\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/cloudkitty/commit/cbdd3545b55586b00ddd9565caffefea58fe162c"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/cloudkitty/commit/cbdd3545b55586b00ddd9565caffefea58fe162c"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
