)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":32968,"name":"Juan Larriba","email":"jlarriba@redhat.com","username":"jlarriba"},"change_message_id":"1ba818fa8a6b2736a5abbcad910b4c0e28221597","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"9b4c7d67_722b85c4","updated":"2026-05-13 06:27:36.000000000","message":"Why add the force_granularity on image.size, but not on any other metric that does not have it?","commit_id":"43ecd5406fba946b2e839e72b7f8672b80ef4bdd"},{"author":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"change_message_id":"d5c6f5751adea0833cfd473279575e308bdc0d8f","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"232c57de_679a1284","in_reply_to":"697d1551_db16ad1b","updated":"2026-05-13 07:46:50.000000000","message":"By default, the metric \"image.size\" is defined to be sent to Gnocchi here: https://github.com/openstack/ceilometer/blob/c6e5dda3f9ae068f36673b114cbca6826c7d5778/ceilometer/publisher/data/gnocchi_resources.yaml#L167. As there is no explicit archive policy definition for the metric, Ceilometer will use the default defined in the same file with ``archive_policy_default: ceilometer-low``\n\nThe archive policy \"ceilometer-low\" is defined here: https://github.com/openstack/ceilometer/blob/c6e5dda3f9ae068f36673b114cbca6826c7d5778/ceilometer/publisher/data/gnocchi_resources.yaml#L6. By default it only has the aggregation of 5min. Therefore, that is why we need to force it to 5min, by default here in CloudKitty. Also, that is why we do not need to change it everywhere. It depends on how the metrics are configured. Also, in my opinion, it does not make much sense to use a metric in CloudKitty that does not have an aggregation of 3600 (hourly), as it is the default rating period in CloudKitty.\n\nI confess that I would not like to have any of these defaults in the systems such as we have, because this makes people to use the system in not optimized/useful ways sometimes.","commit_id":"43ecd5406fba946b2e839e72b7f8672b80ef4bdd"},{"author":{"_account_id":37632,"name":"Dmitriy Chubinidze","email":"dcu995@gmail.com","username":"chubinidzedr"},"change_message_id":"ea3f469527f82af973bace8f3d69270ffd425c57","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"697d1551_db16ad1b","in_reply_to":"9b4c7d67_722b85c4","updated":"2026-05-13 07:36:33.000000000","message":"@jlarriba@redhat.com\nHello, i\u0027m facing issues explicitly with image.size with gnocchi on default DevStack deployment with default metrics.yml:\n\ngnocchiclient.exceptions.BadRequest: {\u0027cause\u0027: \u0027Metrics cannot be aggregated\u0027, \u0027reason\u0027: \u0027Granularities are missing\u0027, \u0027detail\u0027: [[\u0027image.size\u0027, \u0027mean\u0027, 3600.0]]} (HTTP 400)\n\nI\u0027m not sure if we can fix it in another way.","commit_id":"43ecd5406fba946b2e839e72b7f8672b80ef4bdd"}]}
