Commit Graph

23 Commits

Author SHA1 Message Date
Witek Bedyk 811acd76c9 Remove project content on master branch
This is step 2b of repository deprecation process as described in [1].
Project deprecation has been anounced here [2].

[1] https://docs.openstack.org/project-team-guide/repository.html#step-2b-remove-project-content
[2] http://lists.openstack.org/pipermail/openstack-discuss/2020-August/016814.html

Depends-On: https://review.opendev.org/751983
Change-Id: I83bb2821d64a4dddd569ff9939aa78d271834f08
2020-09-15 10:12:44 +02:00
OpenStack Proposal Bot 4527b820a7 Updated from global requirements
Includes a manual refresh of lower-constraints.txt.

Change-Id: I3fa06dae81ee3e1a90e8d2b4c9fc7adecf413dc2
2018-05-04 11:48:45 -07:00
OpenStack Proposal Bot 867a68fbb5 Updated from global requirements
Change-Id: Ia44784ba33601296daff4d583e4896f3c42c608e
2017-12-15 21:40:24 +00:00
OpenStack Proposal Bot 4de903facb Updated from global requirements
Change-Id: Ic0cbc01332aa67d04a542632e517d0f14585d899
2017-11-16 11:11:09 +00:00
OpenStack Proposal Bot 055107b9b8 Updated from global requirements
Change-Id: Ifa1669faf84270af6af58d68141a53e794c45c71
2017-09-16 23:14:59 +00:00
OpenStack Proposal Bot 3611c04d26 Updated from global requirements
Change-Id: I832bb6d8b32a5c360465ed26d52ad54700ecb21c
2017-08-26 11:35:05 +00:00
Jenkins 255dc84a27 Merge "Check periodically if host is leader" 2017-07-19 00:29:36 +00:00
Ashwin Agate 94510afed9 Check periodically if host is leader
Check periodically if host continues to be a
leader once elected. Failure to check
might lead to a situation where the host
has lost leadership but is not aware of the
situation.
If the host is no longer the leader then
stand down as a leader, stop any spark-submit
processes running on the node and reset state
in the transform thread.
Removed --supervise option when invoking
spark-submit to turn off built in driver
management.
Added some hardening to better catch exceptions
in main transform service thread and also
periodic leader check function so that the
threads don't die when they encounter
an unhandled exception.

Change-Id: If2e13e3ed6cb30b3d7fa5f1b440c4c39b87692be
2017-07-05 23:13:29 -07:00
OpenStack Proposal Bot a887d85db6 Updated from global requirements
Change-Id: I37b2d3f47abfabeddccf602fb0f120dc71f4a94e
2017-06-15 16:26:13 +00:00
OpenStack Proposal Bot 47235b4125 Updated from global requirements
Change-Id: I4768b62238b23e834d41cb540e25589a89b12c81
2017-04-13 20:35:35 +00:00
OpenStack Proposal Bot 8a77c4fe06 Updated from global requirements
Change-Id: Id032c0b25cdbe0bd4085b39634f91ae73c6b117f
2017-03-28 21:30:47 +00:00
OpenStack Proposal Bot 81b239cc21 Updated from global requirements
Change-Id: Iaaee5ebe873b6868e6503cc166a10637d04c33be
2017-03-17 15:59:01 -07:00
agatea 8aef98d2d2 Use to kafka_lib library in monasca common
kafka_python 0.9.5 was moved to monasca common
Upstream community wants to move to
newer version of kafka python which has number of
performance problems.
See https://review.openstack.org/#/c/420579/
and
https://review.openstack.org/#/c/424840/
Monasca transform
uses kafka python library to write aggregated
metrics to kafka as well as read offset information
in case of hourly aggregation. Since long term
plan is to move to pykafka in the future we will
have to investigate if that functionality
is available.

Change-Id: I831c9e259b3d7b92fb2834193034e15b62c80c37
2017-03-15 16:22:50 -07:00
OpenStack Proposal Bot 45a989ebd5 Updated from global requirements
Change-Id: Ic7478638a0b59cd331c576a307790a91de5da545
2017-01-18 16:55:02 +00:00
OpenStack Proposal Bot d725b41817 Updated from global requirements
Change-Id: Ia0e48712ea2f7e698c91637d1a42bbc3766b62a6
2017-01-03 14:47:47 +00:00
Tony Breeds 51001d206a Manual sync with openstack/requirements
In I530bd05641f39d94e5a543dcbb219a38f08a1460 it's been requested that the
requirements bot sync global requirements to monasca-transform.

This will fail as tox is listed in test-requirements.txt.  This change
remove tox from test-requirements as manually runs the bot against this
repo.  meaning that once the change merges requirements syncs will be
automatic and simpler

Change-Id: I1c5e5c288b86bd44c1346a26079bf8bd9b7b9167
Needed-By: I530bd05641f39d94e5a543dcbb219a38f08a1460
2016-11-28 19:44:00 +11:00
David C Kennedy d76af6a0f0 Corrected test environment
Moved what were called unit tests to the functional directory as there is
more work to be done to make them self supporting.
Added sphinx to the test-requirements along with testr deps.
Adjusted the tox.ini to suit.
Added doc source tree with the minimal set of files to allow sphinx
success.

Change-Id: Ic64c2ccd01778bb0d1142d12ca43b2346bdc7aa7
2016-11-22 10:24:07 +00:00
Ashwin Agate 1c65ca011b Validate metrics before publishing to kafka
Validate monasca metrics using monasca-common
validate library (requires monasca-common >= 1.1.0)

Change-Id: Iea784edbb3b57db57e6a90d1fc557b2c386c3713
2016-09-30 19:07:02 +00:00
darfed 3d9e1d97b6 Removed version from monasca-common dependency
The version can create issues with the build strategy used for monasca.
Removing the version brings this into line with other monasca projects.

Change-Id: I141e13ec1942e98f96f6f236aa6119205d86c7f1
2016-07-29 14:24:46 +01:00
Ashwin Agate 90b20bfd41 Change to monasca-common simport
Use monasca-common simport library

Closes-Bug: #1596331

Change-Id: I695d6db9c5c49c0120e73b76ea75f7a30222419d
2016-07-09 19:04:19 +00:00
darfed 82fe3b9199 Update kafka-python version to 0.9.5
Two stage aggregation refactored to use kafka-python 0.9.5
as this is the version we are limited to by openstack.

Change-Id: I20c4dc58727432c1336c5cfdb37768a24e578eb0
2016-07-06 21:38:30 +00:00
darfed 9c95206bac Corrected log file name
The log file was being duplicated at monasca-transform.log and
monasca_transform.log.  Fixed this to be set simply at
monasca-transform.log.

Change-Id: I6a63737c569b06a271e11b880675edadfbdcc250
2016-06-30 21:59:19 +01:00
Ashwin Agate 8f61dd95a9 monasca-transform initial commit
The monasca-transform is a new component in Monasca that
aggregates and transforms metrics.

monasca-transform is a Spark based data driven aggregation
engine which collects, groups and aggregates existing individual
Monasca metrics according to business requirements and publishes
new transformed (derived) metrics to the Monasca Kafka queue.

Since the new transformed metrics are published as any other
metric in Monasca, alarms can be set and triggered on the
transformed metric, just like any other metric.

Co-Authored-By: Flint Calvin <flint.calvin@hp.com>
Co-Authored-By: David Charles Kennedy <david.c.kennedy@hpe.com>
Co-Authored-By: Ashwin Agate <ashwin.agate@hp.com>

Implements: blueprint monasca-transform

Change-Id: I0e67ac7a4c9a5627ddaf698855df086d55a52d26
2016-05-26 00:10:37 +00:00