[openstack-dev] [ceilometer][nova] extra Ceilometer Samples of the instance gauge

Qiming Teng tengqim at linux.vnet.ibm.com
Mon Aug 4 08:27:16 UTC 2014


Regarding the intevals, it can be configured in your pipeline.yaml file.
e.g.

sources:
    - name: meter_source
      interval: 600   <-- change this to a smaller one if you like
      meters:
          - "*"
      sinks:
          - meter_sink

Regards,
  - Qiming

On Wed, Jul 30, 2014 at 02:16:31PM -0400, Mike Spreitzer wrote:
> In a normal DevStack install, each Compute instance causes one Ceilometer 
> Sample every 10 minutes.  Except, there is an extra one every hour.  And a 
> lot of extra ones at the start.  What's going on here?
> 
> For example:
> 
> $ ceilometer sample-list -m instance -q 
> resource=9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab
> +--------------------------------------+----------+-------+--------+----------+----------------------------+
> | Resource ID                          | Name     | Type  | Volume | Unit  
>   | Timestamp                  |
> +--------------------------------------+----------+-------+--------+----------+----------------------------+
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T18:09:28        |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T18:00:54.009877 |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T17:59:28        |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T17:49:27        |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T17:39:27        |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T17:29:27        |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T17:19:27        |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T17:09:27        |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T17:00:07.002075 |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T16:59:27        |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T16:49:27        |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T16:39:27        |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T16:29:27        |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T16:19:27        |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T16:09:26        |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T16:00:20.172520 |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T15:59:27        |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T15:49:26        |
> ...
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T05:19:21        |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T05:09:21        |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T05:00:41.909634 |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T04:59:21        |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T04:49:21        |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T04:39:21        |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T04:32:55.049799 |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T04:32:54.834377 |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T04:32:51.905095 |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T04:32:40.962977 |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T04:32:40.201907 |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T04:32:40.091348 |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T04:32:39.858939 |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T04:32:39.693631 |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T04:32:39.523561 |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T04:32:39.421295 |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T04:32:39.411968 |
> | 9108b64e-0e30-45fa-9fdf-ccc2b9cf8dab | instance | gauge | 1.0    | 
> instance | 2014-07-30T04:32:38.916604 |
> +--------------------------------------+----------+-------+--------+----------+----------------------------+
> 
> Thanks,
> Mike




More information about the OpenStack-dev mailing list