Bug 1262065 - [RFE] Collect IOPS data to generate alerts for users
Summary: [RFE] Collect IOPS data to generate alerts for users
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ceilometer
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 10.0 (Newton)
Assignee: Eoghan Glynn
QA Contact: Yurii Prokulevych
URL:
Whiteboard:
Depends On:
Blocks: 1392311
TreeView+ depends on / blocked
 
Reported: 2015-09-10 18:35 UTC by Neil Levine
Modified: 2023-09-14 03:05 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-22 13:10:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Neil Levine 2015-09-10 18:35:32 UTC
If a tenant starts goes above a certain threshold of IOPS, flag this up to the admin within a short period of time so they can take action.

Comment 5 Amit Ugol 2016-05-02 08:41:50 UTC
Release version is 9 ?

Comment 8 Julien Danjou 2016-05-17 13:21:39 UTC
Re-reading the question and my comment, I actually think this is possible with this:

$ aodh alarm create --type gnocchi_aggregation_by_resources_threshold --name iops-test-1 --metric disk.read.requests.rate --threshold 42000 --aggregation-method sum --resource-type instance --query '{"=": {"project_id": "cdf80e24-0644-4869-aab2-189d444ea906"}}'
+---------------------------+---------------------------------------------------------------+
| Field                     | Value                                                         |
+---------------------------+---------------------------------------------------------------+
| aggregation_method        | sum                                                           |
| alarm_actions             | []                                                            |
| alarm_id                  | 687f44e3-8db7-4181-8f51-80267ca6492c                          |
| comparison_operator       | eq                                                            |
| description               | gnocchi_aggregation_by_resources_threshold alarm rule         |
| enabled                   | True                                                          |
| evaluation_periods        | 1                                                             |
| granularity               | 60                                                            |
| insufficient_data_actions | []                                                            |
| metric                    | disk.read.requests.rate                                       |
| name                      | iops-test-1                                                   |
| ok_actions                | []                                                            |
| project_id                | admin                                                         |
| query                     | {"=": {"project_id": "cdf80e24-0644-4869-aab2-189d444ea906"}} |
| repeat_actions            | False                                                         |
| resource_type             | instance                                                      |
| severity                  | low                                                           |
| state                     | insufficient data                                             |
| state_timestamp           | 2016-05-17T13:07:47.691720                                    |
| threshold                 | 42000.0                                                       |
| time_constraints          | []                                                            |
| timestamp                 | 2016-05-17T13:07:47.691720                                    |
| type                      | gnocchi_aggregation_by_resources_threshold                    |
| user_id                   | admin                                                         |
+---------------------------+---------------------------------------------------------------+


This will create a new alarm that will analyse the sum() of all read requests for all instance of a particular tenant (the query can be restrained even more with the --query parameter). That should cover the initial request.

Comment 9 Julien Danjou 2016-07-22 13:10:53 UTC
Since I did not get any update on this bug for a while and the features should be already there, I'm closing it. Feel free to reopen or get in touch if you need more info!

Comment 10 Red Hat Bugzilla 2023-09-14 03:05:10 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.