15 Commits

Author SHA1 Message Date
Craig Bryant
731029c0e1 Fix some misspellings in the README
Change-Id: Ifca8868f7187da1be6ada34889bcaa3f11445acc
2016-01-08 12:56:55 -07:00
venkatamahesh
8892699305 Change repositories from stackforge to openstack
Change-Id: I1579ccd3803a1d2ca6173ce517cfc28350e15d05
2015-10-19 09:15:07 +05:30
Craig Bryant
46f2f5f3df Improve performance of Alarm Creation
The AlarmCreationBolt now caches AlarmDefinitions and Alarms for
quicker evaluation of incoming metrics. Incoming metrics end up in one
of these buckets:

1. Fits into an existing Alarm
2. Causes a new Alarm to be created
3. Already exists in an existing Alarm

All of these require the analysis of existing Alarms. I tried writing SQL
to do this analysis but it just wasn't fast enough so instead I added
the caching of the Alarm Definitions and Alarms.

The AlarmCreationBolt now needs to process Alarm deletion message so
that stream from the EventProcessingBolt had to be hooked up to the
AlarmCreationBolt.

The AlarmCreationBolt used to incorrectly handle
Alarm Definition Updated events.

Improved the queries in AlarmDAOImpl to be more efficient by using
fewer queries intsead of multiple queries per Alarm. However the
AlarmDAOImplTest now requires a real mysql instance since the h2
emulator doesn't understand "group_concat". Mark that test as
only run for target integration-test

Turn on tests for target integration-test

Previous code was not reusing Metrics from existing Alarms
all times it should have. Added test for this case

Changed info messages to debug to lessen normal logging.

Added more tests of existing and new functionality

Added some timing code for debug

Removed unused code

Added more debug logging code

Added reference to API doc for Alarm Definitions in README

Change-Id: Ied9841ecde7608b9eb1eb9c110b73b079ede71bc
2015-01-09 12:35:56 -07:00
Craig Bryant
ff975db6f3 Update the README and arch diagram for Alarmed Metrics
Change-Id: I79b5fdac18598a4d082285057d7045c3f88c7a9a
2014-12-11 15:59:41 -07:00
Craig Bryant
e9da888ac5 Update README with details of StackForge build
Change-Id: Ic657b8bf80934f2445f1544f9f3e007cc2eba93d
2014-07-25 17:43:43 -06:00
Craig Bryant
cdea9bdcb2 Get initial build to work.
Modified build to work with maven 2

Modified so it will download monasca-common jars
from tarballs.openstack.org if the user is jenkins, otherwise the
user is told to build and install monasca-common

Had to move the source code to the new thresh directory so that a
separate module could do the download before dependencies would
be checked by maven

Had to explicitly set the project name in the control file, not sure
why

Change-Id: Ic4d02478b078aad7c1f0eebda2ea2def8d9edf1a
2014-07-24 15:28:13 -06:00
Craig Bryant
4d6311ab68 Changes so it will build without access to any HP resources
Update README.md with dependency on mon-common
2014-05-30 10:24:03 -06:00
Deklan Dieterly
6d360092a0 Update README.md 2014-05-09 13:11:37 -06:00
Jonathan Halterman
9017a73f2b Some README formatting
Change-Id: I1b5421474a14cfdf443d5af8a8a85ffa273f9d4e
2014-05-09 11:12:33 -07:00
Craig Bryant
d3719437f3 Update README.md 2014-05-08 14:50:22 -06:00
Craig Bryant
872e81b4ce Update README.md 2014-05-08 14:49:12 -06:00
hochmuth
aa94ee643c Update README.md 2014-05-08 14:31:08 -06:00
hochmuth
0cae888aa2 Update README.md 2014-05-01 10:11:02 -06:00
Roland Hochmuth
f2ee9f878f Added architecture diagram. 2014-05-01 10:09:20 -06:00
hochmuth
c6799e940f Create README.md 2014-05-01 09:57:23 -06:00