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
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
The new default configuration file name has changed to
monasca-persister.conf. This change updates documentation to use the new
default.
Change-Id: Ic271221f19cdc86e8297ed88cdcf4a86df4374b8
Story: 2004867
Task: 29534
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
Currently the default for [kafka]num_processors is 0. This can lead to
the situation where monasca-persister starts but nothing happens
because no processes are started.
This can happen very easy in the default configuration where the
"num_processors" value in the different
sections ([kafka_alarm_history], [kafka_events], [kafka_metrics]) is
set to:
num_processors = $kafka.num_processors
which means that in the default case, 0 processes are started.
This is fixed now because the default for [kafka]num_processors is now
1.
Change-Id: I2c8ed56bbe91648543044201d7b6320f88a724c7
Ignore AUTHORS, ChangeLog and dist/* .
These files are autogenerated when creating a sdist tarbar (via eg.
"python setup.py sdist")
Change-Id: I90cf0d2067ac019e624b2daed78ce02673e5e4bd
The LICENSE file is already in the root directory of the git project
so there is no need to have an identical file in the
monasac_persister/ subdir.
Change-Id: I2f3b54418192406cdb633cc43cdd6eab3a7683ed
Using "python setup.py check -r -s" method of checking the package has
been deprecated with the new recommendation to build the sdist and
wheel, then running "twine check" against the output.
Luckily, there is already a job that covers this that only runs when the
README, setup.py, or setup.cfg files change, making running this in the
pep8 job redundant. This covered by the test-release-openstack-python3
that is defined in the publish-to-pypi-python3 template.
More details can be found in this mailing list post:
http://lists.openstack.org/pipermail/openstack-dev/2018-October/136136.html
Change-Id: Ie86513569c5a25c2de5eca94e0479f03806a45fb
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This is a workaround for Maven build failures due to bugs in openjdk-8
and surefire plugin until these packages are fixed.
Change-Id: I9115a3567cc1ca7fc59d05e3b74171c031460065
Story: 2004256
Task: 27809
- Change the default index prefix name for events.
Story: 2003955
Task: 26880
Depends-On: https://review.openstack.org/#/c/600030/
Change-Id: Idb6913229d3ac4e391eda0d6129eb2590bc7a678
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')
Change-Id: I5cf12e8db1bbf6215ad67524b80ad52e8b9eff4d
All the configurations for logging were set to DEBUG, which
creates a large amount of output to the console (especially from
monasca_common.kafka_lib) which in turn was captured by the
devstack screen session for the python tempest gate tests and
causing trouble with logstash indexing.
Turn the default devstack logging to a more reasonable INFO.
Change-Id: I480e75f6254735f3221fcc02f96086b037256c85
Story: 2003911
Use openstack-tox-cover template, this runs the cover job
in the check queue only.
Use openstack-lower-constraints-jobs template.
Remove jobs that are part of the templates.
Change-Id: I276ef74f5ca9f2be7b0f03f19dca897390cbe105