[Bug 1494156] [NEW] duplicated pipeline support meter check when publish samples

Liusheng liusheng at huawei.com
Thu Sep 10 07:28:22 UTC 2015


Public bug reported:

see[1], when publishing sample with sample pipeline, it will check the
samples supported by the source definition of the pipeline or not,  but
the samples is always supported by this pipeline, because when setup
polling tasks, the pollster has been checked and matched corresponding
pipeline, see[2]. so the samples from the pollsters is always supported
by the pipeline.  this check has no affect of the publishing result, but
will cost cpu resources if we have a complex pipeline definition.

[1]
https://github.com/openstack/ceilometer/blob/stable/kilo/ceilometer/pipeline.py#L503

[2]
https://github.com/openstack/ceilometer/blob/stable/kilo/ceilometer/agent/base.py#L274-L283

** Affects: ceilometer
     Importance: Undecided
         Status: New

** Also affects: ceilometer (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: ceilometer (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceilometer in Ubuntu.
https://bugs.launchpad.net/bugs/1494156

Title:
  duplicated pipeline support meter check when publish samples

Status in Ceilometer:
  New

Bug description:
  see[1], when publishing sample with sample pipeline, it will check the
  samples supported by the source definition of the pipeline or not,
  but the samples is always supported by this pipeline, because when
  setup polling tasks, the pollster has been checked and matched
  corresponding pipeline, see[2]. so the samples from the pollsters is
  always supported by the pipeline.  this check has no affect of the
  publishing result, but will cost cpu resources if we have a complex
  pipeline definition.

  [1]
  https://github.com/openstack/ceilometer/blob/stable/kilo/ceilometer/pipeline.py#L503

  [2]
  https://github.com/openstack/ceilometer/blob/stable/kilo/ceilometer/agent/base.py#L274-L283

To manage notifications about this bug go to:
https://bugs.launchpad.net/ceilometer/+bug/1494156/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list