Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-11-03 Thread Adrian Turjak
On 04/11/16 01:16, Julien Danjou wrote: > On Thu, Nov 03 2016, Adrian Turjak wrote: > >> I'd need to double check exactly what query it is, but it effectively >> amounts to: >> "List all instance metric samples where project_id is and timestamp >> is in time range -" >> >> The time range is an

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-11-03 Thread gordon chung
On 02/11/16 08:10 PM, Adrian Turjak wrote: > > On 03/11/16 03:01, gordon chung wrote: >> gnocchi captures the state of a resource and it's history. this is >> accessible by looking at resource history. i'm not entirely sure if that >> handles your case, may you could provide the queries you use

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-11-03 Thread Julien Danjou
On Thu, Nov 03 2016, Maxime Belanger wrote: Hi Maxime, > We had this project of our own for a couple years and it was not meant to > replace Ceilometer at all. For our billing use case, yes it did replace > Ceilometer because scaling issues. We just wanted to propose it to the > community as a

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-11-03 Thread Julien Danjou
On Thu, Nov 03 2016, Adrian Turjak wrote: > I'd need to double check exactly what query it is, but it effectively > amounts to: > "List all instance metric samples where project_id is and timestamp > is in time range -" > > The time range is an hour + leadin from last hour to catch the last >

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-11-03 Thread Maxime Belanger
te solution than CloudKitty + Gnocchi but > suites our needs for now. > > Maxime > > > From: Raghunath D <raghunat...@tcs.com> > Sent: October 25, 2016 5:32:13 AM > To: openstack-dev@lists.openstack.org > Subject: Re: [openstack-

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-11-02 Thread Adrian Turjak
On 03/11/16 03:01, gordon chung wrote: > gnocchi captures the state of a resource and it's history. this is > accessible by looking at resource history. i'm not entirely sure if that > handles your case, may you could provide the queries you use and we > could figure out equivalent gnocchi

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-11-02 Thread Emilien Macchi
udKitty + Gnocchi but > suites our needs for now. > > Maxime > > > From: Raghunath D <raghunat...@tcs.com> > Sent: October 25, 2016 5:32:13 AM > To: openstack-dev@lists.openstack.org > Subject: Re: [openstack-dev] [Ceilometer]: Instance

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-11-02 Thread Maxime Belanger
a less complete solution than CloudKitty + Gnocchi but suites our needs for now. Maxime From: Raghunath D <raghunat...@tcs.com> Sent: October 25, 2016 5:32:13 AM To: openstack-dev@lists.openstack.org Subject: Re: [openstack-dev] [Ceilometer]: Instance cr

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-11-02 Thread gordon chung
On 02/11/16 01:39 AM, Adrian Turjak wrote: > Been vaguely following this thread and I have a question. > > Just to confirm, as I haven't touched ceilometer code in ages, the > instance metric still exists? Or at least something like it? it sort of exists currently. we don't build it from

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-11-01 Thread Adrian Turjak
Been vaguely following this thread and I have a question. Just to confirm, as I haven't touched ceilometer code in ages, the instance metric still exists? Or at least something like it? We're currently using ceilometer as the data collection for our billing, and the instance metric is our

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-11-01 Thread Ganpat Agarwal
That's correct. We can have meters only for those things which we can measure like cpu, memory etc. If we want to keep a count of instance creation and deletion, you will need to monitor the events and look for specific event types like compute.instance.create.end or compute.instance.delete.end.

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-11-01 Thread gordon chung
On 01/11/16 05:30 AM, Raghunath D wrote: > My requirement is to get sample/counter with "instance" name ,with > event_type *compute.instance.** we don't build instance meter anymore because it's not a meter as it's not measuring anything. -- gord

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-11-01 Thread Raghunath D
> > > -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>

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-10-31 Thread gordon chung
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] [Ce

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-10-31 Thread Raghunath D
t 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 star

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-10-27 Thread Ganpat Agarwal
evelo...@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/25/2016 09:32PM > > Subject: Re: [opens

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-10-26 Thread Raghunath D
t for usage questions)" <openstack-dev@lists.openstack.org> From: Ganpat Agarwal <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 t

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-10-25 Thread Ganpat Agarwal
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/25/2016 05:05PM > Subject: Re: [ope

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-10-25 Thread Raghunath D
-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/25/2016 05:05PM Subject: Re:

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-10-25 Thread Ganpat Agarwal
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]

Re: [openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

2016-10-25 Thread Raghunath D
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 Website: http://www.tcs.com Experience certainty. IT Services