Rating service for OpenStack
Go to file
Pierre Riteau bac1960330 Custom query Gnocchi collector
This patch proposes a method for operators to customize the aggregation
query executed against Gnocchi. By default, we use the following query:

(aggregate RE_AGGREGATION_METHOD (metric METRIC_NAME AGGREGATION_METHOD))

Therefore, this option enables operators to take full advantage of
operations available in Gnocchi, such as any arithmetic operations,
logical operations and many others. When using a custom aggregation
query, one can use the placeholders `RE_AGGREGATION_METHOD`,
`AGGREGATION_METHOD`, and `METRIC_NAME`: they will be replaced at
runtime by values from the metric configuration.

Different use cases can be addressed with the use of custom queries such
as handling RadosGW usage data trimming, which causes a decrease in the
usage data values; Libvirt attach/detach of disks, migration of VMs,
start/stop of VMs, which will zero the usage data that are gathered by
Ceilometer compute, and many other use cases where one might desire a
more complex operation to be executed on the data before CloudKitty
rates it.

Change-Id: I3419075d6df165409cb1375ad11a5b3f7faa7471
2021-07-26 15:11:58 +02:00
cloudkitty Custom query Gnocchi collector 2021-07-26 15:11:58 +02:00
contrib Update hacking for Python3 2020-08-18 22:27:09 -03:00
devstack Merge "Replace deprecated devstack authtoken function" 2019-09-24 14:17:50 +00:00
doc Custom query Gnocchi collector 2021-07-26 15:11:58 +02:00
etc Add a /healthcheck URL 2020-09-09 13:40:05 +00:00
releasenotes Custom query Gnocchi collector 2021-07-26 15:11:58 +02:00
.gitignore Switch to stestr 2018-07-18 08:00:06 +07:00
.gitreview OpenDev Migration Patch 2019-04-19 19:29:58 +00:00
.stestr.conf Switch to stestr 2018-07-18 08:00:06 +07:00
.zuul.yaml Add Python3 xena unit tests 2021-03-22 09:13:00 +00:00
CONTRIBUTING.rst [ussuri][goal] Update contributor documentation 2021-05-18 10:03:01 +02:00
HACKING.rst Remove six 2021-01-12 09:02:22 +08:00
LICENSE Set copyright/license information in .py files 2014-06-07 09:14:06 +02:00
lower-constraints.txt Fix tests cases broken by flask >=2.0.1 2021-06-07 18:19:32 +02:00
README.rst docs: Update Freenode to OFTC 2021-05-31 10:55:43 +02:00
requirements.txt Fix tests cases broken by flask >=2.0.1 2021-06-07 18:19:32 +02:00
rtd-requirements.txt Remove six 2021-01-12 09:02:22 +08:00
setup.cfg setup.cfg: Replace dashes with underscores 2021-06-07 20:30:35 +00:00
setup.py [ussuri][goal] Cleanup drop python 2.7 support 2020-02-24 20:16:56 +01:00
test-requirements.txt Add doc/requirements 2021-01-05 14:00:00 +01:00
tox.ini Changed minversion in tox to 3.18.0 2021-06-29 09:04:15 +00: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 @ oftc.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.