Hi Tim

I've check your case on my devstack. And I've received new hs06 meter
in my meter list.

So something wrong with your local env.


Cheers,
Igor D.
Igor Degtiarov
Software Engineer
Mirantis Inc
www.mirantis.com


On Fri, Mar 20, 2015 at 5:40 PM, Tim Bell <tim.b...@cern.ch> wrote:
>
>
> I’m running Juno with ceilometer and trying to produce a new meter which is
> based on vcpus * F (where F is a constant that is different for each
> hypervisor).
>
>
>
> When I create a VM, I get a new sample for vcpus.
>
>
>
> However, it does not appear to fire the transformer.
>
>
>
> The same approach using “cpu” works OK but this one is polling on a regular
> interval rather than a one off notification when the VM is created.
>
>
>
> Any suggestions or alternative approaches for how to get a sample based the
> number of cores scaled by a fixed constant?
>
>
>
> Tim
>
>
>
> In my pipeline.yaml sources,
>
>
>
>     - name: vcpu_source
>
>       interval: 180
>
>       meters:
>
>           - "vcpus"
>
>       sinks:
>
>           - hs06_sink
>
>
>
> In my transformers, I have
>
>
>
>     - name: hs06_sink
>
>       transformers:
>
>           - name: "unit_conversion"
>
>             parameters:
>
>                 target:
>
>                     name: "hs06"
>
>                     unit: "HS06"
>
>                     type: "gauge"
>
>                     scale: "47.0"
>
>       publishers:
>
>           - notifier://
>
>
>
>
>
>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to