Go to file
Rafael Weingärtner cbdd3545b5 Fix processing of "rate:xxx" re-aggregation configuration
The aggregation API in Gnocchi does not return anything for Granularity
3600, when the time-range is just one hour for "rate:xxx"
re-aggregation methods. That behavior on Gnocchi side is correct. The
"rate:xxx" aggregation method needs at least two data points (we are
taking the diff, right?). Therefore, when configured to work with
"rate:xxx" CloudKitty needs to call the aggregation API with a two
hours interval (for granularity 3600), and not just one.

With this patch, when CloudKitty detects a "rate:xxx" configuration, it
will use the range as two times (*) the granularity we are using to
process data. Therefore, if the granularity is one hour, it uses a
two-hour time frame; on the other hand, if the granularity is
configured to 10 minutes, it would consider a 20 minutes timeframe. I
am doing that to retrieve two data points at a time in the aggregation
API; thus, we can compute the diffs between the data points.

Depends-On: https://review.opendev.org/#/c/704787/
Change-Id: I570db3db4c969042038a286829c8df2ee06fb5d7
2020-01-29 14:39:50 -03:00
2018-07-18 08:00:06 +07:00
2019-04-19 19:29:58 +00:00
2018-07-18 08:00:06 +07:00
2018-10-22 11:14:57 +02:00
2018-12-06 09:45:17 +01:00
2019-12-19 15:21:01 +08:00

Team and repository tags

image

CloudKitty

cloudkitty

Rating as a Service component

Goal

CloudKitty aims at filling the gap between metrics collection systems like ceilometer and a billing system.

Every metrics are collected, aggregated and processed through different rating modules. You can then query CloudKitty's storage to retrieve processed data and easily generate reports.

Most parts of CloudKitty are modular so you can easily extend the base code to address your particular use case.

You can find more information on its architecture in the documentation, architecture section.

Status

CloudKitty has been successfully deployed in production on different OpenStack systems.

You can find the latest documentation on readthedocs.

Contributing

We are welcoming new contributors, if you've got new ideas, suggestions or want to contribute contact us.

You can reach us thought IRC (#cloudkitty @freenode.net), or on the official OpenStack mailing list openstack-discuss@lists.openstack.org.

A storyboard is available if you need to report bugs.

Additional components

We're providing an OpenStack dashboard (Horizon) integration, you can find the files in the cloudkitty-dashboard repository.

A CLI is available too in the python-cloudkittyclient repository.

Trying it

CloudKitty can be deployed with devstack, more information can be found in the devstack section of the documentation.

Deploying it in production

CloudKitty can be deployed in production on OpenStack Kilo environments, for more information check the installation section of the documentation. Due to oslo libraries new namespace backward compatibility is not possible. If you want to install it on an older system, use a virtualenv.

Getting release notes

Release notes can be found in the release notes section of the documentation.

Description
Rating service for OpenStack
Readme 15 MiB
Languages
Python 96.6%
Shell 2%
PHP 0.5%
HTML 0.5%
Mako 0.4%