venkatamahesh
e947a28c01
Change repositories from stackforge to openstack
...
Change-Id: I9b0afa3c48fcc29335f5c7d4305b768dc2084614
2015-10-19 09:25:20 +05:30
Jeremy Stanley
3150f92ab0
Update .gitreview for new namespace
...
Change-Id: I15a451e835696265365a6b5213d297bf55366724
2015-10-17 22:30:59 +00:00
Jenkins
aeae3262bf
Merge "Reconcile example and mini-mon configs"
2015-10-16 02:32:50 +00:00
Jenkins
d9436392e9
Merge "Store {} when value_meta is empty"
2015-10-14 16:01:45 +00:00
Deklan Dieterly
f88f71c51f
Store {} when value_meta is empty
...
Always store {} when value_meta is empty for Influxdb.
Needed because the Java Influxdb driver is
capable of storing an empty string, but the
Python Influxdb driver is not.
Change-Id: Id6b7b795454afc1a4ab2e6230c6a9d3bd94790f7
2015-10-13 17:06:11 -06:00
Deklan Dieterly
9b1f5b60cc
Change camelCase to snake_case in JSON
...
The Java Persister converts camelCase to snake_case for
the alarm state transition sub_alarms JSON element.
The python persister needs to do the same.
The following element names in the alarm state transition
sub_alarm element need to be converted to snake_case:
subAlarmExpression -> sub_alarm_expression
metricDefinition -> metric_definition
alarmState -> alarm_state
These elements originate from the Monasca Threshold Engine.
Ideally, the Threshold Engine should be modified to send
the JSON in snake_case.
Change-Id: I33c779e4741c797fbeeaf179441a65504444b0bd
2015-10-13 14:30:11 -06:00
Deklan Dieterly
075002df2f
Fix problem where value_meta is null in JSON
...
Change-Id: Ie6d88227a9c2618e909e5ff5ead15fe997824215
2015-10-08 14:05:03 -06:00
Deklan Dieterly
de991dca97
Fix problems with oslo.config
...
Fix import error. No module named cfg.
Change-Id: Iab601d335fd4b357931c3ce80c70b516923319b6
2015-10-07 16:41:43 -06:00
Ben Motz
cb99a66ee1
Reconcile example and mini-mon configs
...
Bring contents of the example config and the mini-mon config into
line, add a note on log formatting, and a note in the README about
the sample configurations.
Change-Id: I47794b600d44a87f58825d1e11099c272f06d7aa
2015-10-01 17:23:20 +01:00
Jenkins
de1d44e63d
Merge "Upgrade influxdb python from 2.6.0 to 2.8.0"
2015-08-31 18:35:36 +00:00
Deklan Dieterly
b53166a567
Add virtenv dir and contents to .gitignore
...
Allow developers to use 'virtenv' for virtual environments.
Change-Id: I4c6fc44633f99044e8257a890168e10eede82608
2015-08-31 08:32:11 -06:00
Deklan Dieterly
69fd7be2d5
Upgrade influxdb python from 2.6.0 to 2.8.0
...
Change-Id: I3ba7e13b32b28944f9079c2db7bd16526481692c
2015-08-28 09:25:19 -06:00
Craig Bryant
5a2f4ff7e3
target link was being created incorrectly
...
If the target symbolic link already existed, an invalid link in target
was created to java/target. Fixed by checking if the link exists before
creating it
Change-Id: I3ebcdcf0de1412838d78a2d2e647e265c41502e8
2015-08-20 10:53:50 -06:00
Deklan Dieterly
452c020f63
Enhance fail fast on error functionality
...
Make persister fail faster on errors.
Use one executor service for all perister threads.
Shutdown all threads in thread executor service on any error.
Catch java.lang.Throwable to catch java.lang.Error as well as java.lang.Exception.
Change-Id: I0dc421cf6bb4ab3f52c47e97b7f396483283b561
2015-08-19 08:37:34 -06:00
Jenkins
53fd650296
Merge "Fix java file licenses"
2015-07-28 19:18:36 +00:00
Craig Bryant
cc2e5ccdb0
Fix java file licenses
...
Add it to the one file without a license
Use a consistent license for the other files
Change-Id: I68910584684158bbc400cbbfd843493f0607cce5
2015-07-26 22:14:47 -06:00
Deklan Dieterly
e4b5c69e7c
Trivial change to get Zuul to push a new jar
...
2 changes happened too close in time and one resulting jar overwrote the other.
Change-Id: Ie317e29ae3c990dc231c778321ddd79e26820a2c
2015-07-06 15:36:53 -06:00
Jenkins
d155a68aaa
Merge "Reenable changes from https://review.openstack.org/#/c/193590/ "
2015-07-06 14:28:07 +00:00
Jenkins
1f05ba47dd
Merge "Convert nulls to empty strings or empty JSON"
2015-07-06 14:26:12 +00:00
Deklan Dieterly
fefff77a07
Convert empty string to empty JSON for sub alarms
...
Change 'name' to 'measurement' for alarm state transition.
Store empty JSON for reason data.
Change-Id: I66b0c05618734a978d2f8ef9c8123815ec7b1d85
2015-06-25 14:57:53 -06:00
Deklan Dieterly
509039787e
Convert nulls to empty strings or empty JSON
...
Check all fields that could be null and convert them to empty strings or empty JSON.
Drop events that have null tenant ids or null regions.
Change-Id: I1a0113d9dc1cd9a2662c0dd3e11ce9187c59ab4e
2015-06-25 10:52:56 -06:00
Tim Kuhlman
1921bdd7b7
Reenable changes from https://review.openstack.org/#/c/193590/
...
Change-Id: Iab74d7906db4a51f4423606641c52af02f312677
2015-06-22 14:47:09 -06:00
Tim Kuhlman
1c2c8bcb7a
Reverted influxdb 0.9.0 changes as the Ansible is not yet ready
...
The original changes are at https://review.openstack.org/#/c/193590/
Change-Id: I032423e7ca65b8bb280b53e4b254e6660b5dd69b
2015-06-22 09:26:06 -06:00
Jenkins
15acc0fa10
Merge "Fixes for Influxdb 0.9 latest stable"
2015-06-20 13:39:02 +00:00
Deklan Dieterly
906dee94b1
Fixes for Influxd 0.9 latest
...
change 'name' to 'measurement'.
change 'timestamp' to 'time'.
store value_meta as "" instead of "\"\"" when empty.
Change-Id: I391ab269897e6575abd9027b6b4252083a015536
2015-06-19 14:03:34 -06:00
Deklan Dieterly
e759423572
Fixes for Influxdb 0.9 latest stable
...
change 'name' to 'measurement'.
Accept 200 or 204 return on writes.
change 'timestamp' to 'time'.
add precision.
Change-Id: I4f485b6b2b88db75a86b3822fd46eeea04e5e028
2015-06-19 13:18:07 -06:00
Deklan Dieterly
31bb8ba21d
Always store value_meta
...
If value_meta is null or blank, store an empty string.
Change-Id: I6286d9b2f30b6ee6f8839c80c690721af09c5e75
2015-06-02 07:24:18 -06:00
Deklan Dieterly
38c00a3abd
Fix jah-1654
...
Write sub_alarms and metrics JSON in snake case instead of camel case.
Change-Id: I57985fd76052c34cdde8f779aca887ccafa7ae47
2015-05-29 13:53:26 -06:00
Deklan Dieterly
417feb37f5
Include dimensions in measurement tags
...
Change-Id: I0073790397957dec9424a88b4dccdbbb1fbfe68e
2015-05-15 14:25:46 -06:00
Deklan Dieterly
77abfc4168
Migrate to Influxdb 0.9.0
...
Change-Id: I0119301dfd9544b68358eb04576b040f1f40ffb2
2015-05-13 10:34:46 -06:00
Deklan Dieterly
244f3ab8dc
Exclude all .pyc files from git
...
Change-Id: I8f07b7af95df91c93081d48aba84636c6540db10
2015-05-12 10:52:54 -06:00
Deklan Dieterly
5c3b5f100b
Use vertica's merge function
...
Speed up inserts using vertica's merge function
Change-Id: I46f3703782265df106526d349d81da8ee21be4ea
2015-05-07 16:01:07 -06:00
Deklan Dieterly
b829a972ce
Fail fast
...
Change-Id: I9e3fb53de7e28fa083d91afd2bf62ed4e39238b4
2015-04-30 07:57:55 -06:00
Jenkins
3f5597c9d3
Merge "Bump the version to 1.1.0"
2015-04-29 03:40:25 +00:00
Craig Bryant
fe9e26869c
Bump the version to 1.1.0
...
Change-Id: I4740f5b95b38aa1bcd81677b3fe8095a35a16808
2015-04-28 21:29:40 -06:00
Jenkins
bfab669407
Merge "Update vertica code"
2015-04-28 21:53:03 +00:00
Deklan Dieterly
5f090f9238
Update vertica code
...
Change-Id: I308f12d3cc1f73c48d08d424e8ed5dada5ae9965
2015-04-28 15:22:49 -06:00
Jenkins
aa396cffcd
Merge "Bump to version 1.1"
2015-04-28 19:29:47 +00:00
Tim Kuhlman
bd39f6d1e8
Bump to version 1.1
...
Change-Id: If65e2f0d99c74c3723b11b9bfd7bd418a654b371
2015-04-27 13:33:29 -06:00
Deklan Dieterly
cc67023c13
Improve exception handling
...
Make exception handling more precise.
Change-Id: Ib7fb3eed5945c12c92a5d871d7d3f6eb72275a76
2015-04-27 09:35:40 -06:00
Deklan Dieterly
1969fb74be
Fix flush time calculation
...
Capture system time in local var.
Add blank lines for consistency.
Change-Id: I703843c9d45ac9d6be6a9e981eeaf9877b036109
2015-04-24 15:38:15 -06:00
Deklan Dieterly
4c4c1d3464
Fix mark read functionality
...
perculate exception all the way up so that mark read is not called.
flush on shutdown.
Change-Id: Ie8c1b14765a61c0ed68fc83b23e52ef7bd60f4ab
2015-04-24 11:29:18 -06:00
Deklan Dieterly
515e4f65d8
Minor cleanup
...
Make methods protected.
Extract methods.
Clean up mixed-case in logging.
Remove unnecessary try-catch block.
Remove extra classes.
Consolidate methods in abstract class.
Change-Id: I6a8064998a2a474c9c51e4ea641387c69142fdd7
2015-04-22 20:04:44 -06:00
Jenkins
c819c4153c
Merge "Cleanup"
2015-04-21 05:22:50 +00:00
Deklan Dieterly
7f634a5dc8
Cleanup
...
Remove 4 classes.
Standardize logging.
Add threadId to logging.
Remove need for casting.
Change-Id: I7aeff8a0ed9d7ec7afdf0a09863e3b514e5f9d1e
2015-04-20 23:12:35 -06:00
Jenkins
671a2700f1
Merge "Only the jar and sample config in the deb"
2015-04-20 17:33:24 +00:00
Craig Bryant
d898cf874a
Only the jar and sample config in the deb
...
Remove control scripts from deb
Update sample config file to be more current
Change-Id: If97d25c0b8e01eb002aadf642dfc5c7912b92c99
2015-04-19 20:51:48 -06:00
Deklan Dieterly
213fc06707
Remove Influxdb 8
...
Change-Id: I9d2e4460ff1858335a1857969b18f2303e9470b6
2015-04-17 14:06:47 -06:00
Deklan Dieterly
4f138c3d44
Cleanup dependency injection
...
Change-Id: I2fef7d2059ed1e86782016a4e11d7273e29cb3a0
2015-04-17 09:44:44 -06:00
Deklan Dieterly
1fc3589d8a
Allow unicode
...
Change-Id: Id2fd0e92047389f1b75bc03c2fb910ae07894562
2015-04-17 08:23:51 -06:00