query-samples should print sample id

Bug #1506745 reported by ZhiQiang Fan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-ceilometerclient
Fix Released
Medium
ZhiQiang Fan

Bug Description

provide sample id can make it possible for end user query particular sample by its id

current:

+------------------+----------+-------+--------+------+---------------------+
| Resource ID | Meter | Type | Volume | Unit | Timestamp |
+------------------+----------+-------+--------+------+---------------------+
| demo-early1-end | instance | gauge | 10.0 | None | 2012-08-31T23:50:00 |
+------------------+----------+-------+--------+------+---------------------+

expected:

+--------------------------------------+------------------+----------+-------+--------+------+---------------------+
| ID | Resource ID | Meter | Type | Volume | Unit | Timestamp |
+--------------------------------------+------------------+----------+-------+--------+------+---------------------+
| d72753ca-7383-11e5-94e8-000c29f92b3a | demo-early1-end | instance | gauge | 10.0 | None | 2012-08-31T23:50:00 |
+--------------------------------------+------------------+----------+-------+--------+------+---------------------+

ZhiQiang Fan (aji-zqfan)
Changed in python-ceilometerclient:
assignee: nobody → ZhiQiang Fan (aji-zqfan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-ceilometerclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/235755

Changed in python-ceilometerclient:
status: New → In Progress
gordon chung (chungg)
Changed in python-ceilometerclient:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-ceilometerclient (master)

Reviewed: https://review.openstack.org/235755
Committed: https://git.openstack.org/cgit/openstack/python-ceilometerclient/commit/?id=e68e56684c3450cbc5e2ecfa655da6556e4d5d73
Submitter: Jenkins
Branch: master

commit e68e56684c3450cbc5e2ecfa655da6556e4d5d73
Author: ZhiQiang Fan <email address hidden>
Date: Thu Oct 15 23:54:43 2015 -0700

    print sample id for query-samples

    Provide sample id can make it possible for end user to query particular
    sample by its id, this is needed because we don't show everything in
    the list.

    Change-Id: I06bfc2de1a4e9a24892b2e36b6d2137e1b38cb27
    Closes-Bug: #1506745

Changed in python-ceilometerclient:
status: In Progress → Fix Committed
Changed in python-ceilometerclient:
milestone: none → 2.0.0
status: Fix Committed → Fix Released
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.