Expose vm's metadata to metrics

Bug #1412388 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
High
Ildiko Vancsa

Bug Description

https://review.openstack.org/134877
commit 568717ae53e676b8b947bf139a0e22e9ddfc094d
Author: lzhijun <email address hidden>
Date: Mon Nov 17 15:27:12 2014 +0800

    Expose vm's metadata to metrics

    We have customized ceilometer publisher to send metrics into openTSDB service.
    Hence, we need more user-friendly VM information (e.g. VM hostname, IP
    and project_cos) as metrics tags during populate metrics into openTSDB.

    So we expected samples can attach nova meta data at publisher.PublisherBase's
    publish_samples function. Then it's available for customized publisher
    to access metadata.

    However the current method add_reserved_user_metadata can't support various
    naming convention which didn't have one particular prefix. So we need to
    add one more config for metadata keys "reserved_metadata_keys" in
    ceilometer.conf, and user can define the key name they cared in
    instance.metadata.

    DocImpact

    Change-Id: I588aaf22a0e8593042dad4bbc37be27adc96c2b4
    Closes-bug: #1391778

Tags: ceilometer
Changed in openstack-manuals:
status: New → Triaged
importance: Undecided → High
Changed in openstack-manuals:
assignee: nobody → Ildiko Vancsa (ildiko-vancsa)
Revision history for this message
Ildiko Vancsa (ildiko-vancsa) wrote :

Bug resolved by this patch: https://review.openstack.org/#/c/149019/

Changed in openstack-manuals:
status: Triaged → Fix Released
Revision history for this message
binou (bintou-16) wrote :

Hi,
please help me
I am testing autoscaling with heat and ceilometer .For the ceilometer alarm I would like to use the outputs of a shell script( like a function which return a number and the scale up/scale down will depends on this number according to ceilometer)

So how can I manage the communication betwen my shell script and ceilometer?
In others words ,I have to call to the script or the ouputs of my script somewhere while creating my new measure.Must I do settings in the ceilometer configuration to includ my script file?

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.