cloudkitty/cloudkitty/tests/collectors
Rafael Weingärtner a37dda5013 Use correct metadata for metrics gathered from gnocchi
Gnocchi fixed its `aggregates` API with PR
https://github.com/gnocchixyz/gnocchi/pull/1059. Before that patch,
the `aggregates` API would only return the latest metadata for the
resource of the metric being handled. Therefore, for CloudKitty
processing and reprocessing, we would always have the possibility of
using the wrong attribute version to rate the computing resources.
With this patch we propose to always use the correct metadata for the
processing and reprocessing of CloudKitty. This means, we always use
the metadata for the timestamp that we are collecting at Gnocchi.

The patch was released under version 4.5.0 of Gnocchi.

Change-Id: I31bc2cdf620fb5c0f561dc9de8c10d7882895cce
2023-10-02 11:35:08 -03:00
..
__init__.py Added gnocchi collector 2016-03-25 18:10:12 +01:00
test_gnocchi.py Use correct metadata for metrics gathered from gnocchi 2023-10-02 11:35:08 -03:00
test_monasca.py Add a Monasca fetcher 2020-09-09 15:09:09 -03:00
test_prometheus.py Use unittest.mock instead of third party mock 2020-08-13 09:43:50 +00:00
test_validation.py Add MAP mutator 2022-08-12 11:46:03 +02:00