/volume API endpoint(s) need to determine the meter "type" and perform the correct calculation

Bug #1057463 reported by Doug Hellmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Won't Fix
Wishlist
Unassigned

Bug Description

Each meter event includes information about whether the meter is a delta or absolute value. The purpose of that field in the meter was to let the API figure out the right way to respond to a question about the volume for a meter in a query. We are adding explicit query endpoints for /duration, /volume/max, and /volume/sum, but have left the automatic detection logic for the /volume endpoint for later.

To implement this we will need to add a method to the DB API to get metadata for a meter by name, which means tracking that required metadata somehow. That will also make it easier to implement the REST API endpoints for querying the known meters.

Changed in ceilometer:
importance: Undecided → Wishlist
Changed in ceilometer:
status: New → Triaged
Revision history for this message
Doug Hellmann (doug-hellmann) wrote :

I believe we agreed to abandon this idea, didn't we?

Revision history for this message
Julien Danjou (jdanjou) wrote :

This was for APIv1 anyway, so I think we can't put in under the carpet.

Changed in ceilometer:
status: Triaged → Won't Fix
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.