[openstack-dev] [gnocchi] Running tests

2017-05-22 Thread Andres Alvarez
Hello everyone

I am having a hard time in understanding the correct way to run the tests
in Gnocchi. I have already read about tox and testr, but it seems I still
can't get to run the tests.

Would really appreciate if someone could explain the steps necessary to get
all tests running.
__
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-dev] [gnocchi] Running Gnocchi API in specific interface

2017-05-17 Thread Andres Alvarez
Hello folks

The gnocchi-api command allows running the API server usign a spefic port:

usage: gnocchi-api [-h] [--port PORT] -- [passed options]

positional arguments:
  -- [passed options]   '--' is the separator of the arguments used to start
the WSGI server and the arguments passed to the WSGI
application.

optional arguments:
  -h, --helpshow this help message and exit
  --port PORT, -p PORT  TCP port to listen on (default: 8000)

I was wondering if it's possible as well to use a specific interface? (In
my case, I am working on a cloud dev environment, so I need 0.0.0.0)?

If not, would this be a welcomed change for a pull request?

Thanks
__
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-dev] [telemetry][ceilometer] Devstack Telemetry development environment

2017-05-02 Thread Andres Alvarez
Hello all

I was wondering what is the correct way to setup a Devstack dev environment
with Ceilometer + Gnocchi setup?

Is the following the only thing needed to get started or is there something
else needed?:

enable_plugin ceilometer https://git.openstack.org/openstack/ceilometer


I noticed the "devstack/settings" file directory in the Ceilometer
repository. I am not sure if this should be copied and pasted into
local.conf

Would appeciate some help.

Cheers
__
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


Re: [openstack-dev] [telemetry] [ceilometer] Difference between publishers and dispatchers?

2017-04-18 Thread Andres Alvarez
Thanks for clearing that guys. Cheers!

On Tue, Apr 18, 2017 at 9:40 AM, Andres Alvarez 
wrote:

> Hi Julien
>
> Thanks for your response. So does this mean that dispatchers will also be
> deprecated (if not already deprecated) in favor of only using publishers?
>
> On Mon, Apr 17, 2017 at 5:49 PM, Julien Danjou  wrote:
>
>> On Mon, Apr 17 2017, Andres Alvarez wrote:
>>
>> Hi Andres,
>>
>> > I am a bit confused on what is the difference between dispatchers and
>> > publishers in Ceilometer. The documentation explains a bit about
>> publishers
>> > in the pipeline, but it does not mention much (if anything) about
>> > dispatchers.
>>
>> Publishers are configured into the pipeline to indicate where to push
>> samples data (e.g. to Gnocchi).
>> One of the publisher is notifier:// which sends the samples to the (now
>> deprecated) ceilometer-collector process.
>>
>> Ceilometer collector stores data into other system via a dispatcher
>> mechanism (e.g. to Gnocchi). It's now deprecated as it's just, with
>> current architecture, a unnecessary step: publishers can do the job
>> directly.
>>
>> --
>> Julien Danjou
>> # Free Software hacker
>> # https://julien.danjou.info
>>
>
>
__
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


Re: [openstack-dev] [telemetry] [ceilometer] Difference between publishers and dispatchers?

2017-04-17 Thread Andres Alvarez
Hi Julien

Thanks for your response. So does this mean that dispatchers will also be
deprecated (if not already deprecated) in favor of only using publishers?

On Mon, Apr 17, 2017 at 5:49 PM, Julien Danjou  wrote:

> On Mon, Apr 17 2017, Andres Alvarez wrote:
>
> Hi Andres,
>
> > I am a bit confused on what is the difference between dispatchers and
> > publishers in Ceilometer. The documentation explains a bit about
> publishers
> > in the pipeline, but it does not mention much (if anything) about
> > dispatchers.
>
> Publishers are configured into the pipeline to indicate where to push
> samples data (e.g. to Gnocchi).
> One of the publisher is notifier:// which sends the samples to the (now
> deprecated) ceilometer-collector process.
>
> Ceilometer collector stores data into other system via a dispatcher
> mechanism (e.g. to Gnocchi). It's now deprecated as it's just, with
> current architecture, a unnecessary step: publishers can do the job
> directly.
>
> --
> Julien Danjou
> # Free Software hacker
> # https://julien.danjou.info
>
__
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-dev] [telemetry] [ceilometer] Difference between publishers and dispatchers?

2017-04-17 Thread Andres Alvarez
Hi everyone

I am a bit confused on what is the difference between dispatchers and
publishers in Ceilometer. The documentation explains a bit about publishers
in the pipeline, but it does not mention much (if anything) about
dispatchers.

Would appreciate if someone can shed some light on this.

Thanks.
__
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-dev] [ceilometer]

2017-04-16 Thread Andres Alvarez
Hello everyone

I am trying to get acquainted with the Ceilometer code base. I was reading
through the Telemetry Admin Guide

regarding publishers and noticed that there are many deprecated publishers
such as *direct*, *kafka*, and *database*. Yet on the source code's master
branch

can still see some of these publishers there.

Is there a reason for this?

Sorry if it's a dumb question.

Wish you all a good day.
Andres
__
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