what meters are you looking for specifically? as Ganpat mentioned, we only derive a few meters from Nova notifications[1]. i don't understand your comment about being able to see events on kafka. by 'events' do you mean Ceilometer Events[2]?
[1] https://github.com/openstack/ceilometer/blob/master/ceilometer/meter/data/meters.yaml#L83-L127 [2] http://docs.openstack.org/developer/ceilometer/events.html On 31/10/16 04:27 AM, Raghunath D wrote: > Hi Ganpat, > > I want the samples related with these events. > > With Best Regards > Raghunath Dudyala > Tata Consultancy Services Limited > Mailto: raghunat...@tcs.com > Website: http://www.tcs.com > ____________________________________________ > Experience certainty. IT Services > Business Solutions > Consulting > ____________________________________________ > > > -----Ganpat Agarwal <gans.develo...@gmail.com> wrote: ----- > To: "OpenStack Development Mailing List (not for usage questions)" > <openstack-dev@lists.openstack.org> > From: Ganpat Agarwal <gans.develo...@gmail.com> > Date: 10/27/2016 12:02PM > Subject: Re: [openstack-dev] [Ceilometer]: Instance creation and > deletion metrics in ceilometer ! > > Hi Raghunath, > > I am not able to understand your use case for compute.instance.* events. > > You are trying to catch the instance start and end events OR you want > the samples related with these events? > > Regards, > Ganpat > > On Wed, Oct 26, 2016 at 6:00 PM, Raghunath D <raghunat...@tcs.com > <mailto:raghunat...@tcs.com>> wrote: > > Hi Ganpat/Gord, > > Callback for compute.instance.create.end events under > ceilometer.compute.notifications should be invoked for those > notification events on the nova exchange using the > notifications.info <http://notifications.info> topic. > But this is not happening,we can see events related to them and can > receive events over kafka. > > I can see from logs which print my debug print during the loading of > notification plugin. > "2016-10-26 03:46:32.010 34977 INFO > ceilometer.compute.notifications.instance > [req-1ad3d5c9-5eab-404d-9fbe-f1605e93691f - - - - -] Check > ComputeInstanceNotificationBase notification:" > > Do we need to change any thing in the configuration file of > ceilometer or nova to achive this. > It would be great help for me if this is fixed. > > With Best Regards > Raghunath Dudyala > Tata Consultancy Services Limited > Mailto: raghunat...@tcs.com <mailto:raghunat...@tcs.com> > Website: http://www.tcs.com > ____________________________________________ > Experience certainty. IT Services > Business Solutions > Consulting > ____________________________________________ > > > -----Ganpat Agarwal <gans.develo...@gmail.com > <mailto:gans.develo...@gmail.com>> wrote: ----- > To: "OpenStack Development Mailing List (not for usage questions)" > <openstack-dev@lists.openstack.org > <mailto:openstack-dev@lists.openstack.org>> > From: Ganpat Agarwal <gans.develo...@gmail.com > <mailto:gans.develo...@gmail.com>> > Date: 10/25/2016 09:32PM > > Subject: Re: [openstack-dev] [Ceilometer]: Instance creation and > deletion metrics in ceilometer ! > > Hi Raghunath, > > You can look at this file for details of meters related with > compute.instance.* > > ceilometer/meter/data/meters.yaml > > Additionally, you can look at this link for compute meters documentation > > http://docs.openstack.org/admin-guide/telemetry-measurements.html > <http://docs.openstack.org/admin-guide/telemetry-measurements.html> > > > Also, have a look at "Meters definitions" section on this link > > > http://docs.openstack.org/admin-guide/telemetry-data-collection.html#meter-definitions > > <http://docs.openstack.org/admin-guide/telemetry-data-collection.html#meter-definitions> > > Regards, > Ganpat > > > On Tue, Oct 25, 2016 at 5:45 PM, Raghunath D <raghunat...@tcs.com > <mailto:raghunat...@tcs.com>> wrote: > > Hi Ganpat, > > Are you able to see merers/samples related to > compute.instance.* in ceilometer meter-list or ceilometer > sample-list. > My application which will read info from ceilometer publisher > (pipeline.yaml) and I am looking for meters realted to > ceilometer.instance.* > > With Best Regards > Raghunath Dudyala > Tata Consultancy Services Limited > Mailto: raghunat...@tcs.com <mailto:raghunat...@tcs.com> > Website: http://www.tcs.com > ____________________________________________ > Experience certainty. IT Services > Business Solutions > Consulting > ____________________________________________ > > > -----Ganpat Agarwal <gans.develo...@gmail.com > <mailto:gans.develo...@gmail.com>> wrote: ----- > To: "OpenStack Development Mailing List (not for usage > questions)" <openstack-dev@lists.openstack.org > <mailto:openstack-dev@lists.openstack.org>> > From: Ganpat Agarwal <gans.develo...@gmail.com > <mailto:gans.develo...@gmail.com>> > Date: 10/25/2016 05:05PM > Subject: Re: [openstack-dev] [Ceilometer]: Instance creation and > deletion metrics in ceilometer ! > > > Hi, > > I am able to get event notifications on kafka by applying these > configurations: > > nova.conf > > instance_usage_audit = True > > instance_usage_audit_period = hour > > notify_on_state_change = vm_and_task_state > > notification_driver = messagingv2 > > > Restart nova compute service > > ceilometer.conf > > [event] > > drop_unmatched_notifications = False > > definitions_cfg_file = /etc/ceilometer/event_definitions.yaml > > > event_pipeline.yaml > > --- > > sources: > > - name: event_source > > events: > > - compute.instance.* > > sinks: > > - event_sink > > sinks: > > - name: event_sink > > transformers: > > triggers: > > publishers: > > #- notifier:// > > #- > file:///home/stack/test?max_bytes=10000000&backup_count=5 > > - kafka://kafka-broker:9092?topic=ceilometer > > > service ceilometer-api restart > > service ceilometer-agent-notification restart > > > Wait for couple of minutes and you should be getting the events > on your kafka consumer and in ceilometer notifications logs as well > > tail -f /var/log/ceilometer/ceilometer-agent-notification.log > > > Let me know if it helps. > > > Regards, > > Ganpat > > > > On Tue, Oct 25, 2016 at 3:02 PM, Raghunath D > <raghunat...@tcs.com <mailto:raghunat...@tcs.com>> wrote: > > Hi , > > Can some one please suggest how to instance notifications in > ceilometer. > > With Best Regards > Raghunath Dudyala > Tata Consultancy Services Limited > Mailto: raghunat...@tcs.com <mailto:raghunat...@tcs.com> > Website: http://www.tcs.com > ____________________________________________ > Experience certainty. IT Services > Business Solutions > Consulting > ____________________________________________ > > > -----Raghunath D/HYD/TCS wrote: ----- > To: openstack-dev@lists.openstack.org > <mailto:openstack-dev@lists.openstack.org> > From: Raghunath D/HYD/TCS > Date: 10/18/2016 08:01PM > Subject: [openstack-dev] [Ceilometer]: Instance creation and > deletion metrics in ceilometer ! > > > Hi , > > How can instance created and deleted information/sample can > be retrieved from ceilometer. > What entries should be there in pipeline.yaml to get > instance deleted information. > > I tried to have meters- "instance" in pipeline.yam but it > always gives active instance details, > and no details of deleted instances. > > With Best Regards > Raghunath Dudyala > Tata Consultancy Services Limited > Mailto: raghunat...@tcs.com <mailto:raghunat...@tcs.com> > Website: http://www.tcs.com > ____________________________________________ > Experience certainty. IT Services > Business Solutions > Consulting > ____________________________________________ > > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: > openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > <http://openstack-dev-requ...@lists.openstack.org?subject:unsubscribe> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > <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://openstack-dev-requ...@lists.openstack.org?subject:unsubscribe> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > <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://openstack-dev-requ...@lists.openstack.org?subject:unsubscribe> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > <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://openstack-dev-requ...@lists.openstack.org?subject:unsubscribe> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > <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://openstack-dev-requ...@lists.openstack.org?subject:unsubscribe> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > <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 > > > __________________________________________________________________________ > 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 > -- gord __________________________________________________________________________ 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