Commit Graph

60 Commits

Author SHA1 Message Date
Pedro Henrique fe84ac27c5 Add spec to add audit and ttl in the rating rules
Change-Id: I2048e999a7db7a4b5cc30ce07282c26320560295
2023-02-06 17:39:08 +00:00
Rafael Weingärtner d5261f48a3 Fix docs build error
This patch fixes docs build errors such as the ones seen in
https://review.opendev.org/c/openstack/cloudkitty-specs/+/866198

Change-Id: Ie965ad1621c984e6eaa9ae6c85fa0f637f078391
2023-01-30 08:47:13 -03:00
Rafael Weingärtner 3848c30c09 Propose reprocessing API
This specification proposes an API to enable reprocessing.

Change-Id: I22993261010e6e7f8b5c0605efad9d4c0ec92d6c
2022-01-10 15:28:40 +01:00
Zuul 2b1fbc5657 Merge "setup.cfg: Replace dashes with underscores" 2021-07-12 14:34:19 +00:00
Ghanshyam Mann 3e2aed7858 [ussuri][goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html

Story: #2007236
Task: #38517
Change-Id: Ifb5e71213dad0c6af717e9c043ee08c4c0b870b5
2021-05-17 14:26:54 +00:00
yangyawei 2f2ea5d4b1 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I2d4c19cf44897668697cbfd6efc6d56b3a38d83f
2021-05-16 20:51:06 +00:00
Pierre Riteau d1803c94ef Update tox config
Update dependencies to include upper-constraints.

Change-Id: I7d9844b6b89bc0294ad4ed339f1fa63970ef037c
2021-05-16 22:42:52 +02:00
Zuul 8748b631d7 Merge "Add "active" column to storage scope, and API to manage it" 2021-02-24 16:58:44 +00:00
Rafael Weingärtner 1a6ecebfe7 Add "active" column to storage scope, and API to manage it
This spec proposes an extension for the "scope state" endpoint.
This proposal goal is to add a new option called "active" in
the storage scope table, and an API that enables operators
to manage it.

Change-Id: Ib8b6eb8bdef202fb110852c4f2b680a6de77e8d6
2021-02-19 15:05:21 +01:00
Zuul e7f07732a3 Merge "Deprecate `state` field and propose `last_processed_at` field" 2021-02-08 17:27:18 +00:00
Rafael Weingärtner 95d9ab6a6a Deprecate `state` field and propose `last_processed_at` field
This spec proposes a name change for the `state` field in
`cloudkitty_storage_states` table. The goal is to use a more descriptive
and meaningful name. The proposed new column name is `last_processed_at`.

Change-Id: I13d29e5a91037aa0191e99499203eb1730c2dafd
2021-02-02 08:26:30 -03:00
zhangtongjian 1d8b40f11f remove unicode from code
Change-Id: Id874071065c4420236ae74567db3a949aea7904e
2021-01-05 17:21:36 +08:00
Andreas Jaeger 12d827062b Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Ie0575b318b044b750e86e1622cc3c470031f2cc6
2020-08-24 11:17:21 +02:00
Zuul 545c1c3e6c Merge "Cleanup py27 support and docs" 2020-08-24 09:13:23 +00:00
fuzihao 82c7083ac4 Fix pygments style
New theme of docs (Victoria+) respects pygments_style.
Since we starts using Victoria reqs while being on Ussuri,
this patch ensures proper rendering both in Ussuri and Victoria.

Change-Id: Ieeed99524a4de362392c90a872285a80c53c4b55
2020-05-20 14:54:58 +08:00
Andreas Jaeger a9c4ac0a69 Cleanup py27 support and docs
Make a few cleanups:
- Remove obsolete sections from setup.cfg
- Remove install_command from tox.ini, merge constraints
  into dependencies
- Enable warnings for doc build, fix all warnings
- Switch to sphinx-build
- Enable warnings for doc build, fix all warnings
- Remove git handling from conf.py, openstackdocstheme does this now

Change-Id: If7918689c7101da044a38cbb66c6d9d09f8cc53f
2020-04-09 21:36:29 +02:00
Zuul 9ce20edac5 Merge "Update and replace http with https for doc links" 2020-02-10 09:41:12 +00:00
Zuul 477561e0d2 Merge "Spec: Monasca fetcher" 2020-01-31 09:53:58 +00:00
Quentin Anglade fadfba941c Spec: Monasca fetcher
See monasca_fetcher.rst for details.

Change-Id: Iee69e7f5eecc7b017efeb98ee16f609f59ec8243
Story: 2006675
Task: 36950
2019-12-17 10:22:46 +01:00
Ghanshyam Mann e55dd78b26 [ussuri][goal] Drop python 2.7 support
OpenStack is dropping the py2.7 support in ussuri cycle.

specs repo has py2 specific requirement which is removed
or tox optimization.

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I4544d8d1192539d50bca836f6699261658ae38ed
2019-12-13 00:48:38 +00:00
Zuul 253c8b470b Merge "Spec: Add query functions to Prometheus" 2019-12-02 10:22:09 +00:00
aimbot31 004ebc2d4d Spec: Add query functions to Prometheus
See specs/ussuri/add_prometheus_query_functions_to_the_collector.rst

Story: 2006427
Task: 36329

Change-Id: I750911401caf5168cf0e57a701d2e006e69ddcfe
2019-11-29 16:40:02 +01:00
ShangXiao 5454b450e9 Fix typos in files
Change-Id: I007351039135bd7e46422ce743d694363b2aa6aa
2019-11-27 08:50:15 +00:00
Luka Peschke 2879fead75 Spec: Optimize driver loading in v2 API
See specs/ussuri/optimize_driver_loading_in_v2_api.rst for details.

Story: 2006654
Task 36904

Change-Id: I6d88b6c4bc674fb5dab145e05b6b512c443f5e56
2019-11-07 08:35:06 +00:00
Quentin Anglade 665029fd30 Spec: V1 API rating modules endpoints migration to V2 API
See migrate_v1_rating_modules_api_endpoints_to_v2.rst for details.

Change-Id: Ic52d0162b478ebcd353e2e3fbf224937222d816e
Story: 2006572
Task: 36679
2019-10-07 10:10:35 +02:00
Luka Peschke ce74be3933 Add support for PDF documentation
Change-Id: Ie70aaa076462c7a1f3e4f84a63af5f95f381dfde
Story: 2006075
Task: 34810
2019-09-17 10:00:02 +02:00
Luka Peschke ce72e01ffe Spec: Add an ElasticSearch v2 storage driver
See "specs/train/add_v2_storage_driver_elasticsearch.rst" for details.

Story: 2006332
Task: 36077
Change-Id: I5e746891121fdcee177007301815ca904a35f699
2019-09-12 14:42:37 +00:00
Justin Ferrieu 7b8906fb16 Spec: Add a v2 API endpoint to retrieve DataFrame objects
See specs/train/add_get_dataframes_api_endpoint.rst for details.

Change-Id: I186e7cd1de206f2117a5fb5655e9794469634d79
Story: 2005890
Task: 36383
2019-09-12 09:16:21 +00:00
zhouguowei a0e50d76d7 Update and replace http with https for doc links
Change-Id: Idc5447de3d2dd76dd1b073333df95e5619c1829a
2019-08-22 14:54:05 +08:00
Justin Ferrieu ccc71e4f5e Spec: Add a v2 API endpoint to push DataFrame objects
See specs/train/add_push_dataframes_api_endpoint.rst for details.

Depends-On: https://review.opendev.org/#/c/668669/
Change-Id: Ieb48eb72fcb6165d32c08b95ea61be5ffc7d0e92
Story: 2005890
Task: 35954
2019-08-21 09:48:14 +00:00
Luka Peschke 782a9cda08 Spec: Add DataFrame/DataPoint objects
See specs/train/add_dataframe_datapoint_object.rst for details.

Change-Id: Id5a3be3d42907ced12cd8ca90cd8366e49e80a95
Story: 2005890
Task: 33747
2019-07-04 10:24:45 +02:00
Luka Peschke 1600eee0e2 Spec: Making CloudKitty timezone-aware
See specs/train/timezone_aware.rst and the associated
story for more details.

Story: 2005319
Task: 30240
Change-Id: Iebf19852302ce2ae85418ccca07cec9632486b7d
2019-06-11 09:35:10 +00:00
Zuul c9fd2bbe8b Merge "Spec: Add a v2 API endpoint to reset the state of different scopes" 2019-06-07 14:07:34 +00:00
Luka Peschke 4dd31ac1e9 Spec: Add a "delete" method to the v2 storage interface
See "specs/train/add_delete_method_v2_storage.rst" for details.

Change-Id: I9b2531225895a4f8769112078f4fc4e443a31696
Story: 2005395
Task: 30791
2019-06-06 14:47:14 +02:00
Justin Ferrieu 7ae08f8749 Spec: Add a v2 API endpoint to reset the state of different scopes
See "specs/train/add_reset_scope_state_api_endpoint.rst" for details.

Change-Id: I8e184b89e76f9cfe81ae4e1e3c2781999cfe3d4a
Story: 2005395
Task: 30793
2019-05-22 10:08:10 +02:00
Luka Peschke ce5cc73278 Add a v2 reporting endpoint
See "specs/train/add_v2_reporting_endpoint.rst" for details.

Change-Id: I821a89572610d1d04369571d4d597ed96cc304cd
Story: 2005664
Task: 30957
2019-05-21 12:29:37 +00:00
Luka Peschke ea093e834d Spec: Add a v2 API endpoint to retrieve the state of different scopes
See "specs/train/add_get_scope_state_api_endpoint.rst" for details.

Change-Id: I748ee949a6890b52e2844a51e371a22e40ff18c1
Story: 2005395
Task: 30792
2019-05-17 13:15:34 +00:00
Luka Peschke df4d9cbd10 Spec: Allowing to get/reset the state of a scope
Change-Id: I88bf7453b370f383adc5bb3c7d8a44bb04c6eed2
2019-05-17 11:48:16 +02:00
OpenDev Sysadmins 5b214217bc OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:34:34 +00:00
Luka Peschke 7ca79b0ac0 Spec: Add some concurrency and parallelism to the processor
Change-Id: I5281573843b990bdd569a4cc07904363cd4d4646
2019-04-11 12:29:04 +00:00
Justin Ferrieu ad29ece1f9 Spec: Adding Prometheus Fetcher
This is a spec proposing to add a Prometheus fetcher.

See specs/train/adding_prometheus_fetcher.rst for more
details.

Story: 2005427
Change-Id: I458e2d5a7b06fba25a094ce04cb2050ad51554e8
2019-04-11 13:42:39 +02:00
Luka Peschke b834819bc0 Initializing the Train specs
This adds a "specs/train" directory along with a placeholder spec for that
release. This placeholder spec should be removed when the first spec for Train
is merged.

Change-Id: I80f8264d05959d03950f59544e00026963332400
2019-03-29 09:52:16 +01:00
Luka Peschke 05278f1f9c Remove yasfb dependency
Change-Id: I611aa57ac2bca1fe4705c473bd9a5a134f003e85
2019-03-28 17:18:44 +01:00
zhouxinyong f115fbeaf5 Avoid duplication in template.rst
This simplifies the phrasing in template.rst

Change-Id: I0b84dd4e2f3cc9e9fe688246623697f0eb42f64a
2019-03-21 11:03:11 +00:00
Justin Ferrieu cd0bfc925f Spec: Reworking Prometheus Collector
This is a spec proposing some rework on Prometheus collector.

See specs/stein/reworking_prometheus_collector.rst for more details.

Change-Id: I7740432c82cce2e613996e8b0de31c8389413a58
2019-02-15 09:58:55 +01:00
Luka Peschke 836c4ed418 Spec: Add some details to state management
CloudKitty is becoming more and more generic, at all levels. Now that scopes
can be anything, and can even be different when several collectors are running
with different configurations, some more details should be added ot the storage
state management.

Change-Id: If88fd4bbddba78b2dd36e234e25757dc028cb891
Story: 2004957
Task: 29388
2019-02-08 13:49:10 +01:00
Zuul a4aa44b695 Merge "Spec: Adding a v2 API" 2019-02-05 16:02:01 +00:00
Zuul 6e6d3b671e Merge "Update the repository" 2019-02-05 14:29:05 +00:00
Luka Peschke d44668df71 Update the repository
This updates some out-of-date aspects of the CloudKitty specs:

* The specs are now built using the OpenStack docs instead of the old
  RTD theme.

* Requirements have been updated.

Change-Id: I903e601a22938b3434e7d101921886319d888351
2019-02-05 11:20:37 +01:00
Luka Peschke eeec4c0930 Spec: Adding a v2 API
This is a spec proposing to add a v2 API to cloudkitty.

See specs/stein/implementing_cloudkittys_v2_api_root.rst for details.

Story: 2004208

Change-Id: Ie18af397247993ea51eabc025eb7931468ae66b2
2019-01-24 14:22:31 +01:00