refresh_monasca_script.sh is useful for
development in a devstack environment.
Enhanced the script to
* start and stop monasca-transform process
running in a screen session
* added more hardening to catch for errors
and exit if any command fails.
* added debugging statements help track
down any errors when the script is run.
Change-Id: Idab02d555eed192d8242c870017955b935532c3d
Changing devstack environment vagrant box and
also rename the devstack VM to 'devstack'
from 'pg-tips'
Also fixing all the tests that were broken when
they were moved from tests/unit to tests/functional
with this review
https://review.openstack.org/#/c/400237/
Update devstack README with a section called
Development workflow for monasca-transform with
steps developers can take to develop and run
tests.
Change-Id: I11678148ba2bcb96eb3e2a522176683dc8bca30a
The devstack plugin carries usage of `sudo -u` which doesn't seem to
work in the ci environment. Replace it with sudo followed by
appropriate permissions changes.
Use ${DEST} instead of literal /opt/stack to fit with gate usage.
Enabled monasca-api plugin in the settings and the required monasca
services along with zookeeper.
Change-Id: I6effede4ac9a2faf1c44eff9cd96bbf9c924d703
The metric filter allows metrics to be filtered before aggregation,
for example to exclude metrics from certain environments or nodes
from being included where they are outside the scope of data
aggregation. This is a powerful feature but not appropriate for
all scenarios (e.g. devstack). So default the filter to empty.
Change-Id: Icb790a0ec41133bfac54244aae8782a5cc665186
By default devstack was cloning master when setting up devstack.
This change has the devstack plugin clone the local working branch so
that uncommitted changes can be tested.
Change-Id: If963ea1d703cd9d4d96665e75db08834cf473b33
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