List alarms by tenant id

Bug #1500754 reported by Emrecan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Monasca
Confirmed
Medium
Unassigned

Bug Description

According to monasca-api documentation and my test work results, I couldn’t find a way to list alarms by tenant id parameter.

I am writing a monitoring application and connecting to openstack environment by a single admin user account. When the user on my monitoring application side chooses a tenant to display latest status, I want to list alarms of this tenant over monasca-api functions. But when it comes to list alarms of a specific tenant, list alarms function on monasca-api does not give me a tenant_id parameter to fulfill.

I can list the metric measurements by passing a tenant_id parameter to /v2.0/metrics/measurements method (if the user has monasca-admin role). https://github.com/stackforge/monasca-api/blob/master/docs/monasca-api-spec.md#get-v20metricsmeasurements document section explains the idea. It will be very useful if the same behaviour is supported with list alarms method.

Reference: https://github.com/stackforge/monasca-api/blob/master/docs/monasca-api-spec.md#get-v20alarms

Revision history for this message
Allan G (greental) wrote :

sounds like a good enhancement request, any takers ?

Changed in monasca:
status: New → Invalid
Tung Doan (tungdoan)
Changed in monasca:
status: Invalid → Confirmed
Ryan (ryan-brandt)
Changed in monasca:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.