217 Commits

Author SHA1 Message Date
Julien Danjou
43e07a393d polling: remove deprecated agents
We have deprecated the agents for a while now in favor of the
ceilometer-polling tool, let's update the doc for good and remove them.

Depends-On: I4a2a982d4153a31971a5f1a1b504b96ce29236f9
Change-Id: I7447ba4f408c95b0acf1b809504ce16fff1c6e21
2015-09-07 10:20:29 +02:00
Jenkins
69f1694247 Merge "missed entrypoint for nova_notifier removal" 2015-09-04 22:59:21 +00:00
gordon chung
879151a94b missed entrypoint for nova_notifier removal
i messed up. entrypoint was not removed so now it's throwing error
on startup.

Change-Id: I1ad1f2b61ce1f5275e9014ec4036270c5463c456
Closes-Bug: #1491603
2015-09-04 08:41:38 -04:00
Lianhao Lu
8b1ba63d29 Migrate the old snmp pollsters to new declarative pollster
Delete all the old snmp pollsters and to register the new declarative
snmp pollster to be used.

Change-Id: I8ebb2a53bca52eed77229d4cc56cf1f42aaa1a7b
Implements: blueprint declarative-snmp-metrics
2015-09-02 10:21:22 +08:00
Pradeep Kilambi
e8929f3e18 Move profiler meters to yaml
Partially-Implements: blueprint declarative-notifications

Change-Id: Ife5aabce76083b98494a64a4987b2e77718909b3
2015-08-27 16:00:40 -04:00
Pradeep Kilambi
e1168f2ecd Add cpu meters to yaml
Change-Id: I9cb4088f5a562d9593e701eb2dfb386abc8b4294
Implements: blueprint declarative-notifications
2015-08-26 07:55:24 +00:00
Pradeep Kilambi
4195a0c222 Convert instance, bandwidth and SwiftMiddleware meters
Partially Implements: blueprint declarative-notifications

Change-Id: Ia22123018f316c80f653579fb4764ec7090d969f
2015-08-12 13:37:09 -04:00
gordon chung
ab3812a0a2 support multiple-meter payloads
some payloads (ie. CADF) may contain multiple meters per payload.
we need to support ability to loop through meters and process them
individually.

this patch adds support for gathering a list of meters with
consistent schema. a multi attribute is added to denote which fields
are jsonpath and could return multiple values. currently, this
supports looping across multiple meters of the same resource only.

Implements: blueprint declarative-notifications
Change-Id: I94ff536e2563d4c740a8514f814316474dc58e87
2015-08-11 13:13:57 -04:00
Jenkins
d93568130b Merge "Revert "Revert "remove instance:<flavor> meter""" 2015-08-11 10:22:39 +00:00
Pradeep Kilambi
201b3ef522 Convert identity, sahara and volume to meters yaml
Change-Id: Ica102ab3a003f4a7d84ad435c00993d5d81db767
2015-08-07 08:30:33 +00:00
Pradeep Kilambi
94b3d40cea Enable entry points for new declarative meters
Include the new entry point for meters notifications
and deprecate the migrated ones. Also add the exchange
controls to the notification agent directly.

As a first step, this commit converts glance, magnetodb
and orchestration meters.

Partially Implements: blueprint declarative-notifications

Depends-On: I9de94c5ac6349c3b46adbacb77fc877b5201285c

Change-Id: I45ea9ab20bbed1ec12b91a20977e8adb52bf59da
2015-08-07 08:28:00 +00:00
gordon chung
23114ce5d6 Revert "Revert "remove instance:<flavor> meter""
This reverts commit 2fb046fb6682ceadc82acdbfd3d708ac23fe9fa2.

Change-Id: Ic16a39fb541d16ed944afcfb4a2209b81e3e82d4
2015-08-06 07:44:14 -04:00
Jenkins
501a6a0bd0 Merge "Move gnocchi resources definition in yaml file" 2015-07-24 22:23:44 +00:00
Jenkins
c01d1f523e Merge "Fix broken IPMI agent" 2015-07-23 08:28:03 +00:00
Edwin Zhai
287738ba5f Fix broken IPMI agent
Use right oslo_rootwrap config to generate ceilometer rootwrap
scripts.

Change-Id: I9ba9cfab94d1c6f3d7e708c4460c286b209b128a
Closes-Bug:#1477115
2015-07-23 12:18:50 +08:00
Mehdi Abaakouk
2f3d9a8c55 Move gnocchi resources definition in yaml file
Transformation of samples to gnocchi resources/metrics is
just json2json think, so do it in a declarative ways like we do
for event and declarative notification.

Implements blueprint gnocchi-declarative-resources

Change-Id: I5a202c30614d06821063e243d4e2330736aba5fd
2015-07-21 16:05:44 +02:00
Rohit Jaiswal
c2c3273c2d Handles dns.domain.exists event in Ceilometer
Ceilometer handles Designate CRUD notifications
as events, but not the exists notification.

This fix handles the exists notification as
event and sample for measurable audit interval.

Change-Id: I53d63cc4c8bcc6924afb0560bd8482d94e564895
Closes-Bug: 1474608
2015-07-20 17:23:01 +00:00
Rohit Jaiswal
014ee79698 add Trove(DBaaS) events
this patch adds support for Trove crud notifications
as events in ceilometer, and a notification plugin to
emit sample for the trove exists event.

Change-Id: I932941c88e7c8e9f059c97ec41ac098263e38803
Partially-Implements: blueprint track-dbaas-notifications
2015-07-16 05:35:14 +00:00
Mehdi Abaakouk
388cf641dc gnocchi dispatcher: fix typo in stevedore endpoint
This change fixes a typo in the stevedore endpoint of
the gnocchi dispatcher.

Change-Id: I6c7ca2750031fc917880c99a39a9773958ba9ed0
2015-07-10 11:18:55 +02:00
Jenkins
9e63086fa8 Merge "Switch to using pbr's autodoc capability" 2015-07-06 12:37:55 +00:00
liu-sheng
98581c243a Add handler of sample creation notification
This change add a notification handler of sample.create event, which is
emitted when posting samples via /v2/meters API. The sample's info is
include in the payload of notification.

Partially implements: blueprint api-no-pipeline

Change-Id: I3941b851249c0f70f864bae32da154819b3e5dd7
2015-06-24 17:11:59 +08:00
Jenkins
45f10f7f7c Merge "Update version for Liberty" 2015-06-22 18:38:35 +00:00
Doug Hellmann
8327f3e8c5 Update version for Liberty
Update the version for Liberty, switching from date-based versioning
to pre-versioning using SemVer. See
http://lists.openstack.org/pipermail/openstack-dev/2015-May/065211.html
and
http://lists.openstack.org/pipermail/openstack-dev/2015-June/067082.html
for details.

Change-Id: I6a35fa0dda798fad93b804d00a46af80f08d475c
2015-06-17 22:22:08 +00:00
Pradeep Kilambi
a61b6dfa80 Gnocchi Dispatcher support in Ceilometer
Moving dispatcher code from gnocchi to ceilometer.

Change-Id: Iaa9c31a4330b1bf40617afbab8be152a4103fca0
2015-06-17 10:04:33 -04:00
Julien Danjou
191f7bf9cc Remove deprecated Swift middleware
Change-Id: Ifd1861e3df46fad0e44ff9b5cbd58711bbc87c97
2015-06-09 18:05:19 +02:00
Julien Danjou
e312b24193 Switch to using pbr's autodoc capability
Change-Id: I1cc51cf60a1493ad3a964b3fff50d9a681fdc858
2015-06-09 11:17:11 +02:00
Chris Dent
d75a418ae9 Move eventlet using commands into own directory
The api server does not need and should not use eventlet since it is
now using a multi-process capable web server from Werkzeug so is
kept above the eventlet directory where eventlet overriding
happens.

Partially-Implements: blueprint remove-web-eventlet
Change-Id: I377a105a5e53c3c548354877cac477609bf06b63
2015-06-02 16:35:48 +01:00
Julien Danjou
d22044ae4e Remove oslo.messaging compat from Havana
Change-Id: I0922836a353eba3975a2311000792a7d4278b3e4
2015-05-25 07:27:45 +02:00
Gangyi Luo
99211307c5 Add hardware memory buffer and cache metrics
This patch aims to add two metrics to gather memory buffer and
memory cache information of a physical machine through SNMP
inspector.

Change-Id: Id9b953820a1e38c0f832405359a25015b6f20017
Implements: blueprint hardware-memory-buffer-and-cache-metrics
2015-05-06 01:13:19 +00:00
Jenkins
6474033a8a Merge "Drop use of 'oslo' namespace package." 2015-04-28 21:30:19 +00:00
Doug Hellmann
e41b259a1e Drop use of 'oslo' namespace package.
The Oslo libraries have moved all of their code out of the 'oslo'
namespace package into per-library packages. The namespace package was
retained during kilo for backwards compatibility, but will be removed by
the liberty-2 milestone. This change removes the use of the namespace
package, replacing it with the new package names.

The patches in the libraries will be put on hold until application
patches have landed, or L2, whichever comes first. At that point, new
versions of the libraries without namespace packages will be released as
a major version update.

Please merge this patch, or an equivalent, before L2 to avoid problems
with those library releases.

Blueprint: remove-namespace-packages
https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages

Change-Id: I2eeef93ee2e61a721c69f62add819f93f62f077d
2015-04-28 16:22:05 +00:00
Chris Dent
96c6e42bc8 Move ceilometer/cli.py to ceilometer/cmd/sample.py
This puts it in line with the other command line tools.

Change-Id: I5a9817af680ae66c1a705692f8d0570783b176c6
2015-04-22 16:06:26 +00:00
gordon chung
a8fe0dcbe7 remove deprecated partitioned alarm service
in Juno we deprecated the non-tooz based partitioned alarm service.
this patch removes this code so partitioning is handled solely by
tooz.

DocImpact
Change-Id: Ie1f1f6593e058167fd1aa1587cfe19f2b867d5e1
2015-04-21 10:27:16 -04:00
Thierry Carrez
d2311b2bd6 Open Liberty development
Bump pre-version in setup.cfg to formally open Liberty development.
Kilo release branch will be cut from the previous commit.

Change-Id: I7b6574c8a2a4fa847570bb608352af2f3a7225ad
2015-04-09 14:27:52 +01:00
Jenkins
ce4957801e Merge "Use old name of 'hardware.ipmi.node.temperature'" 2015-04-07 14:12:04 +00:00
Ildiko Vancsa
75a80ca0b5 Use old name of 'hardware.ipmi.node.temperature'
Use old name of the 'hardware.ipmi.node.temperature' as currently there
is no proper deprecation process for meters.

DocImpact

Partially Closes-Bug: #1439766

Change-Id: Ic71bcda4008f1b4090e0d9c8908201440abb02a4
2015-04-03 12:04:39 +02:00
Ildiko Vancsa
2fb046fb66 Revert "remove instance:<flavor> meter"
This reverts commit 88dcdb5d70c806b18aeb604040ee85e1ac8e7c51.
Partially Closes-Bug: #1439766

DocImpact

Change-Id: I59938b9129b23d140a443cf055ea73b3568f00d4
2015-04-03 09:52:51 +02:00
gordon chung
88dcdb5d70 remove instance:<flavor> meter
the groupby functionality allows you to group by instance_type which
allows for the equivalent functionality of this meter. we should
drop it so we avoid duplicating data.

see: I568b5ca3d84371c4fd3bbdfed7b3e801164dbc5e

DocImpact
Change-Id: Ia380a0b87999f32fd339bb3b596ec8e18fdff0fe
Closes-Bug: #1208365
2015-03-28 10:11:57 -04:00
Mehdi Abaakouk
58da530504 alarm: Use new gnocchi aggregation API
Since https://review.openstack.org/#/c/163462/ and
https://review.openstack.org/#/c/162649/4 in gnocchi, all kind of aggregations
have been moved in the same URI namespace (/v1/aggregation/...)
and we can use complex query to make aggregation across multiples metrics.

This change sync the ceilometer alarm API and Rules to match these
changes.

Change-Id: I015af585595e6880b527161fe5c8b34eeb7bfe29
2015-03-26 08:28:45 +01:00
vivek.nandavanam
a2c650b478 Add memory.resident libvirt meter for Ceilometer
The 'memory.resident' metric will expose the
physical hosts view of the amount of host memory that is actually used to
run the VM process

DocImpact: https://review.openstack.org/#/c/164724

Change-Id: I9f2ad784479f234679e1145efd96d9d707dd19d0
Implements: blueprint memory-resident
2015-03-13 16:29:07 -07:00
Komei Shimamura
1618ccd38f Add a Kafka publisher as a Ceilometer publisher
kafka publisher to support requeuing metering and event data to kafka MQ
for external consumption

Implements: blueprint kafka-publisher

Change-Id: I7f8727ef5a85627a5a605079b6acdcd0619f978c
2015-03-11 11:51:22 +00:00
Jenkins
df10a87ea7 Merge "alarming: add gnocchi alarm rules" 2015-03-10 12:03:54 +00:00
Edwin Zhai
8f78d80b5b Add more power and thermal data
Add airflow and CPU/Mem/IO utilization metric, which are critical to
show node usage statistics.

DocImpact

Change-Id: I92cf297b0fc2436c3530536e0c76fd69058369b0
Implements: blueprint power-thermal-data
2015-03-10 00:59:54 +00:00
Jenkins
8ee2f739bf Merge "api: move alarm rules into they directory" 2015-03-02 19:38:17 +00:00
gordon chung
29b2709256 add missing objectstore entry points
the ceilometermiddleware notifications are missing entry points. this
patch adds them. it also breaks the endpoint in two: one to build
real meters and one to build the request event meter.

Change-Id: I75ba73c150c0d9fa282d0388fb7178e351511097
Closes-Bug: #1425303
2015-02-24 18:24:01 -05:00
Swami Reddy
98005590ef Add ceph object storage meters
Implemented pollster classes to get the basic meters from ceph
object storage (i.e radosgw) and added corresponding unittests.

DocImpact

Co-Authored-By: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>

Change-Id: Ib90b1d5bbaa36760a2563a044ab256c045772e20
Implements: blueprint ceph-ceilometer-integration
2015-02-24 17:25:47 +05:30
Mehdi Abaakouk
4eedba6e80 alarming: add gnocchi alarm rules
Testing the API part of Gnocchi alarms within the Gnocchi tree is
a pain and doesn't really have senses.

So, this change moves the gnocchi alarms rules and evaluator that live
in Gnocchi tree to Ceilometer tree.

This also permits to add these new alarm rules into the documentation.

And add some tests that cannot be done on the gnocchi side.

DocImpact

Change-Id: I1bbc9f904d55b51cd1b3c51dcdfaf58f01bd9075
2015-02-23 16:57:43 +01:00
gordon chung
f02f7fd541 Revert "Add ceph object storage meters"
This reverts commit 9518c8f0c75673ea5ada7ab34af5325cbd0dabd1.

temporarily unblock gate: https://bugs.launchpad.net/ceilometer/+bug/1424657

Change-Id: I57bf5a969a2633c6cc68be9406e7008ab3b0cba9
2015-02-23 15:10:31 +00:00
Mehdi Abaakouk
0fdada1a10 api: move alarm rules into they directory
Change-Id: I5afee1010549a5da39eaff6ae813334db2cb4bde
2015-02-23 09:45:31 +01:00
Swami Reddy
9518c8f0c7 Add ceph object storage meters
Implemented pollster classes to get the basic meters from ceph
object storage (i.e radosgw) and added corresponding unittests.

DocImpact

Co-Authored-By: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>

Implements: blueprint ceph-ceilometer-integration

Change-Id: I0c71b88621e503863f153912b9c70371b194ed2c
2015-02-19 20:33:57 +05:30