Atom feed of this document
  
 

 Verify the Telemetry installation

To test the Telemetry installation, download an image from the Image Service, and use the ceilometer command to display usage statistics.

  1. Use the ceilometer meter-list command to test the access to Telemetry:

    $ ceilometer meter-list
    +------------+-------+-------+--------------------------------------+---------+----------------------------------+
    | Name       | Type  | Unit  | Resource ID                          | User ID | Project ID                       |
    +------------+-------+-------+--------------------------------------+---------+----------------------------------+
    | image      | gauge | image | acafc7c0-40aa-4026-9673-b879898e1fc2 | None    | efa984b0a914450e9a47788ad330699d |
    | image.size | gauge | B     | acafc7c0-40aa-4026-9673-b879898e1fc2 | None    | efa984b0a914450e9a47788ad330699d |
    +------------+-------+-------+--------------------------------------+---------+----------------------------------+
  2. Download an image from the Image Service:

    $ glance image-download "cirros-0.3.2-x86_64" > cirros.img
  3. Call the ceilometer meter-list command again to validate that the download has been detected and stored by the Telemetry:

    $ ceilometer meter-list
    +----------------+-------+-------+--------------------------------------+---------+----------------------------------+
    | Name           | Type  | Unit  | Resource ID                          | User ID | Project ID                       |
    +----------------+-------+-------+--------------------------------------+---------+----------------------------------+
    | image          | gauge | image | acafc7c0-40aa-4026-9673-b879898e1fc2 | None    | efa984b0a914450e9a47788ad330699d |
    | image.download | delta | B     | acafc7c0-40aa-4026-9673-b879898e1fc2 | None    | efa984b0a914450e9a47788ad330699d |
    | image.serve    | delta | B     | acafc7c0-40aa-4026-9673-b879898e1fc2 | None    | efa984b0a914450e9a47788ad330699d |
    | image.size     | gauge | B     | acafc7c0-40aa-4026-9673-b879898e1fc2 | None    | efa984b0a914450e9a47788ad330699d |
    +----------------+-------+-------+--------------------------------------+---------+----------------------------------+
  4. You can now get usage statistics for the various meters:

    $ ceilometer statistics -m image.download -p 60
    +--------+---------------------+---------------------+-------+------------+------------+------------+------------+----------+----------------------------+----------------------------+
    | Period | Period Start        | Period End          | Count | Min        | Max        | Sum        | Avg        | Duration | Duration Start             | Duration End               |
    +--------+---------------------+---------------------+-------+------------+------------+------------+------------+----------+----------------------------+----------------------------+
    | 60     | 2013-11-18T18:08:50 | 2013-11-18T18:09:50 | 1     | 13167616.0 | 13167616.0 | 13167616.0 | 13167616.0 | 0.0      | 2013-11-18T18:09:05.334000 | 2013-11-18T18:09:05.334000 |
    +--------+---------------------+---------------------+-------+------------+------------+------------+------------+----------+----------------------------+----------------------------+
Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...