Commit Graph

20 Commits

Author SHA1 Message Date
Xiao Tan b536e94286 Ceilometer Meter Query and Aggregation Implemented
Implemented Meter Query Utility that supports operations such as
eq, ne, gt, lt, gte, lte. The implementation also supports multiple
filters.

Implemented Meter Statistics Aggregation where client can specify
which aggregation function to return.

Change-Id: I5b19faa4a0d46befbe6e84c975af084cdc0d9d12
2016-05-13 14:22:13 +00:00
Jenkins 18ad81cb4b Merge "Sample Get and Get-by-id implemented" 2016-05-13 14:21:24 +00:00
Xiao Tan 91e54b3388 Sample Get and Get-by-id implemented
Ceilometer API Sample Get and Get_by_id implemented and unit tested.

Change-Id: I1d9d7298cced643f528a6af8a5ea513343159a36
2016-05-12 21:54:42 +00:00
Samir Borle 42c9103eb3 Implemented middleware to augment POSTed metrics with keystone metadata
Change-Id: I4bcb351141200eb113d1b6e990a5ef257aaa4748
2016-05-05 20:04:07 +00:00
Tong Li fbfa441d1f make the setup_metrics configurable
setup_metrics always try to send messages in batch. this patch set
will allow the program sending messages either in batch or singles

Change-Id: I0d15eb3172b1ba7307a02e13a1a69b7d77dac052
2016-05-02 16:19:17 +00:00
Xiao Tan 2e0a2a5e1a Meter Get Statistics by name implemented
Ceilometer API: Get Meter Statistics by name implemented and
unit tested.

Change-Id: I9869daaccb8a8e656e6ae283708883a97818b7ec
2016-04-30 02:06:43 +00:00
Xiao Tan f3dada5dd2 Meter Get_Meter_Byname implemented
Ceilometer API, Meter get_meter_byname implemented and tested.

Change-Id: I4f038213797c8be7eb8e66822941afda3921a7dd
2016-04-28 15:07:03 +00:00
xiaotan2 7c0766d455 Meters GET request implemented.
Meters GET request implemented and its unit test added.

Added ceilometer API file.

Copy the Meter POST request code from metrics. Ceilometer specific
feature not implemented yet.

Added meter validator to validate Ceilometer meter format for POST.

Change-Id: I4e095348729f32e63c478559a9bc5a90a29663a5
2016-04-27 16:37:38 +00:00
Tong Li 771e4b5a28 Restructure the vagrant scripts and fix a dependency error
The vagrant scripts buried so deep. Move it up a bit.
The python-kafka client 1.0 release breaks a lot of things plus
it peeks the CPU as soon as it starts. Have to make sure we use
the python-kafka version less than 1.0.0

Change-Id: Ib271dde51dcb0c5705dffbd277ba70f25cd4403b
2016-03-30 14:45:33 -04:00
Tong Li b540bbb550 Reformat the readme.MD file and update the listOpt in kafka_conn.py
Change-Id: I6c2bb593308e096cee76b59bfd01f47875a29aea
2016-03-23 18:16:40 -04:00
Tong Li a731b9f649 Make sure that the index field mapping is correct
This patch set added initialization code to make sure that before
an index gets created, index template is added to ElasticSearch so
field such as timestamp will be correctly indexed as date. This
patch set also updated the dependency.

Change-Id: I8a5a77674fb172ad5c1b73a940477fa6acd30059
2016-03-07 09:21:50 -05:00
Tong Li d8f3f770e4 ES now returns timestamp as milliseconds vs seconds
Change-Id: I54e3abb2d2547b97423fe512221d32f0ec74a8ff
2016-02-12 14:44:52 -05:00
Tong Li b93ded41ed enable bulk message post on persister
Change-Id: Ifbf2c5e1517c0e7a042b241657725640e8cdebec
2016-02-12 00:10:24 -05:00
Tong Li 4eae981b79 bulk insert can not be done implicitly
Change-Id: Idc029b6ba2171f2182cecb2124f4a44922eb5910
2016-02-10 23:25:18 -05:00
Tong Li 15d8569019 fix the partitions data type error
the newer version of kafka client assumes that the partitions are
a list of integers. This was not the case in earlier kafka client

Change-Id: Icb706dd58816e60a047adc079cef425ac5696d6a
2016-02-10 16:51:51 -05:00
Jiaming Lin 9accbeecd0 unit test passed for py27
Change-Id: Ia139fe0b0e1c498224e5d80541ea74e65eca000f
2015-12-29 15:47:56 +08:00
Tong Li fb786600f4 Make the server more flexible with configuration files
The server can only find files in /etc/kiloeyes directory. This
patch set will allow a configuration file to be specified at
the command line

Change-Id: Ie8128048f5ea958595c49a375ff56825c89efe0c
2015-09-22 18:54:17 -04:00
Tong Li 207c762df6 remove old openstack incubator project reference
the project was using the incubator oslo project. this patch set
will remove all these incubator project and use dependencies in
requirements.txt to indicate oslo requirements.

Change-Id: Ic8975f4ad37351e68ab0276db9781ac36f8ee645
2015-08-08 22:13:32 -04:00
Tong Li 62a45027b8 remove old oslo.config and use new oslo_config
Change-Id: Ic955ab24843c2c1c58748fdefde75356e0bb47df
2015-08-08 09:59:04 -04:00
Tong Li 163c121232 seeding the project
Change-Id: I4235f6e837c85a062fda3fad188cd9339f15243d
2015-08-06 21:01:35 -04:00