Commit Graph

24 Commits

Author SHA1 Message Date
OpenStack Release Bot 1e67714731 Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.

Sem-Ver: feature
Change-Id: I4eecc65645e64053b0988922c121d2cde76bf241
2022-03-10 17:08:16 +00:00
OpenStack Release Bot 397c093919 Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.

Sem-Ver: feature
Change-Id: I0c296b06bf46422d47531c8972a692582a8ccc36
2021-09-16 07:55:04 +00:00
OpenStack Release Bot 5d256226da Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.

Sem-Ver: feature
Change-Id: Ib38bb5625953354bd0afe4ab5fea0ce94a69dce4
2021-03-26 11:13:55 +00:00
OpenStack Release Bot 9805a4ad6f Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.

Change-Id: Ia49d466231fc0a56ccd4eed5a95bb749936e9950
Sem-Ver: feature
2020-09-28 15:49:09 +00:00
Witek Bedyk 709318c3bb Set legacy_kafka_client_enabled = False on default
We change the default value of kafka_common.legacy_kafka_client_enabled
from True to False. The use of new Confluent Kafka client is
recommended.

Change-Id: I300958e1e945e5236b01f4e50cb01c18468cc524
Story: 2007924
Task: 40340
2020-07-14 15:51:31 +02:00
Andreas Jaeger d2fef4b60b Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

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: I002235658290ffd494f4507dc0a6c78f94794b19
2020-05-31 19:48:11 +02:00
OpenStack Release Bot 9a8c93ead9 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: I7eb05c908ab664e53b3074a3d405bc8aabcbaec8
Sem-Ver: feature
2020-04-23 21:34:51 +00:00
Andreas Jaeger b306576d27 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Update local hacking checks for new flake8.

Remove hacking and friends from lower-constraints, it's not needed
there.

Change-Id: Iadf750a1e6d3181b645ceccdf75cf910bc23adfd
2020-04-21 19:27:10 +02:00
Witek Bedyk 0696cf54ee Add configuration option influxdb.batch_size
The new configuration option is used to control the maximum size of
batches written to InfluxDB and optimizes performance for high loads.
The default value is set to 10 000 data points per batch.

Change-Id: I82c3e4e64984a996e41fe2657ce36b032b40d3fd
Story: 2007191
Task: 38319
2020-01-21 11:07:22 +01:00
Zuul 6b5c24f34d Merge "[ussuri][goal] Drop python 2.7 support and testing" 2019-11-26 09:32:38 +00:00
Zuul 9c736d3579 Merge "Support default_retention_hours for influxdb" 2019-11-15 18:03:38 +00:00
Ghanshyam Mann 29c6c96d09 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

monasca-persister is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

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

Depends-On: https://review.opendev.org/#/c/693631/
Change-Id: I628603dadcaabbe24d4d166dfb47d4413c9dbaac
2019-11-15 16:12:10 +00:00
Zuul b930cc87f1 Merge "Support automatic db creation for InfluxDB" 2019-11-15 14:42:08 +00:00
Bharat Kunwar 97aab2f004 Support default_retention_hours for influxdb
At the moment, all data is retained infinitely. This change allows users
to specify a default_retention_hours (defaults to 0 meaning unlimited
retention) in the influxdb section of monasca persister configuration so
that new projects are automatically assigned this retention policy when
the given hour is greater than 0 to preserve original behaviour.

Story: 2006331
Task: 37234

Change-Id: I4136df1d43954eb026a104f3f85b3a58197f5435
2019-11-15 13:47:47 +00:00
Bharat Kunwar df12bd8628 Support automatic db creation for InfluxDB
At the moment, monasca persister assumes that an InfluxDB database
already exists. With this change, a new database is created when it does
not exist.

Story: 2006331
Task: 37327

Change-Id: I3d88eb8b2cdbd81f9c84fe1703b2ee2d1b09e1ab
2019-10-31 23:12:00 +00:00
pengyuesheng 3b6e17c0b6 Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

Change-Id: I56c61bfda9fa68c6068ec008f81a8d04f28b2bbb
2019-10-11 16:59:22 +08:00
OpenStack Release Bot 9354132284 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: Ib6318da71d263bf9ec6c58b8b49aaa3a511a013d
Sem-Ver: feature
2019-09-27 18:16:45 +00:00
Bharat Kunwar 774e981f87 Implement separate db per tenancy
At present, all time series are accumulated in the same database in
InfluxDB. This makes queries slow for tenants that have less data. This
patch enables the option to use separate database per tenancy.

This task implements the changes on monasca-persister which handles
write requests to InfluxDB database.

Change-Id: I7de6e0faf069b889d3953583b29a876c3d82c62c
Story: 2006331
Task: 36072
2019-09-27 08:31:07 +00:00
Witek Bedyk b88084003f Use Confluent Kafka client
The change introduces the possibility to run the persister with
the new confluent-kafka client. It has to be enabled in the
configuration file.

Story: 2003705
Task: 30117

Depends-On: https://review.opendev.org/675297
Change-Id: I05428b8ae9e0ba9af5b81d3b103434ebd5657108
2019-08-15 14:47:51 +02:00
Isaac Prior 96b916bed1 Adds release note warning of InfluxDB recommended version change
Default/recommended version changed in monasca-api DevStack plugin.

Change-Id: I7049504937ebeec5caf14393c4bcd0e06acd0e89
2019-06-29 22:04:47 +02:00
OpenStack Release Bot 4ec934518e Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: I1f2691134ec582cec8cae21427aa4f9797f1f2f5
Sem-Ver: feature
2019-04-01 12:53:24 +00:00
zhangjianweibj 0ab568481f some points unable to parse
some metrics get from kafka,may not a standard point that
influxdb can parse.in this case,points should be dropped.

Task: 29641
Story: 2005069

Change-Id: Ib907a280ced26ef2c228efe14b57440f894d8aad
2019-03-19 10:58:14 +01:00
Thomas Bechtold fe88e8f796 Add job for releasenotes
With changeset [1], releasenotes are added to monasca-persister. To
make the release notes available, the notes can be build now with
tox ("tox -e releasenotes") and the standard zuul
job (release-notes-jobs-python3) was added to build and publish the
notes.
Also adjust elasticsearch requirement to "<3.0.0" to be inline with
the global-requirements list. This fixes:

  Requirement for package elasticsearch excludes a version not excluded
  in the global list.

[1] Ida11c326b3e6771b5ccf994205c55874db05bc5c

Change-Id: I16268797151a6b997610c8fbded4c9eeb9265597
2019-02-19 10:46:25 +00:00
Thomas Bechtold a59f436e69 Replace persister.conf with monasca-persister.conf
persister.conf is the deprecated path for the configuration file.
The new path is /etc/monasca/monasca-persister.conf . This is inline
with other OpenStack projects.
Also fix the log setup and set the product name to 'monasca-persister'
which is inline with other OpenStack and Monasca projects.

Change-Id: Ida11c326b3e6771b5ccf994205c55874db05bc5c
Story: 2004867
Task: 29112
2019-02-08 11:03:31 +00:00