Wednesday, 2016-03-09

*** Nepoc has joined #openstack-telemetry00:02
*** thorst_ has joined #openstack-telemetry00:02
*** Qiming has quit IRC00:23
*** Nepoc has quit IRC00:25
*** Nepoc has joined #openstack-telemetry00:26
*** KrishR has joined #openstack-telemetry00:31
*** KrishR has quit IRC00:36
*** bapalm has quit IRC00:37
*** yuntongjin has joined #openstack-telemetry00:40
*** yuntongjin has quit IRC00:46
*** Nepoc has quit IRC00:49
*** Nepoc has joined #openstack-telemetry00:49
*** bapalm has joined #openstack-telemetry00:54
*** harlowja has quit IRC00:55
*** cheneydc has joined #openstack-telemetry01:00
*** jwcroppe has quit IRC01:04
*** Nepoc has quit IRC01:05
*** Nepoc has joined #openstack-telemetry01:05
*** Qiming has joined #openstack-telemetry01:19
*** Nepoc has quit IRC01:30
*** Nepoc has joined #openstack-telemetry01:30
*** caisan has joined #openstack-telemetry01:32
*** Eris72 has quit IRC01:47
*** Nepoc has quit IRC01:56
openstackgerritMerged openstack/ceilometer: Adjust log levels for InstanceShutOffException  https://review.openstack.org/28967701:57
*** Nepoc has joined #openstack-telemetry02:06
*** safchain has quit IRC02:13
*** liusheng has quit IRC02:30
*** liusheng has joined #openstack-telemetry02:32
openstackgerritRyota MIBU proposed openstack/ceilometer: tempest: migrate api and scnario tests from tempest  https://review.openstack.org/26805402:35
openstackgerritRyota MIBU proposed openstack/ceilometer: tempest: migrate api and scnario tests from tempest  https://review.openstack.org/26805402:38
r-mibuall, https://review.openstack.org/268054 is ready for your review :)02:42
openstackgerritliusheng proposed openstack/python-aodhclient: Fix the -q/--query in threshold alarm creation  https://review.openstack.org/28999102:45
liushengr-mibu: awsome, looking :)02:49
r-mibuliusheng: thanks!02:49
*** jwcroppe has joined #openstack-telemetry02:53
openstackgerritMerged openstack/aodh: tempest: migrate api tests from tempest tree  https://review.openstack.org/25518803:00
*** thorst_ has quit IRC03:05
*** thorst_ has joined #openstack-telemetry03:06
*** thorst_ has quit IRC03:14
openstackgerritMerged openstack/ceilometer: mitaka-3 release notes  https://review.openstack.org/28945503:16
*** _nadya_ has joined #openstack-telemetry03:30
*** _nadya_ has quit IRC03:35
openstackgerritliusheng proposed openstack/python-aodhclient: Fix the -q/--query in threshold alarm creation  https://review.openstack.org/28999103:39
*** jwcroppe has quit IRC03:51
*** links has joined #openstack-telemetry04:03
*** thorst_ has joined #openstack-telemetry04:12
*** thorst_ has quit IRC04:19
openstackgerritliusheng proposed openstack/python-aodhclient: Fix the -q/--query in threshold alarm creation  https://review.openstack.org/28999105:13
*** liusheng has quit IRC05:16
*** thorst_ has joined #openstack-telemetry05:17
*** liusheng has joined #openstack-telemetry05:18
*** yuntongjin has joined #openstack-telemetry05:23
*** thorst_ has quit IRC05:23
*** yuntongjin1 has joined #openstack-telemetry05:46
*** yuntongjin has quit IRC05:48
*** jwcroppe has joined #openstack-telemetry05:52
*** yuntongjin has joined #openstack-telemetry05:57
*** yuntongjin1 has quit IRC05:59
*** liusheng has quit IRC06:08
*** rcernin has joined #openstack-telemetry06:09
*** liusheng has joined #openstack-telemetry06:09
*** _nadya_ has joined #openstack-telemetry06:09
*** thorst_ has joined #openstack-telemetry06:21
openstackgerritLianhao Lu proposed openstack/aodh: Fixed tempest error due to upstream change  https://review.openstack.org/29029406:24
*** thorst_ has quit IRC06:28
*** _nadya_ has quit IRC06:45
*** vishwanathj has quit IRC06:49
*** vishwanathj has joined #openstack-telemetry06:51
*** chlong has quit IRC06:54
openstackgerritXia Linjuan proposed openstack/python-aodhclient: Fix aodh client fails when command with the arg --time-constraint  https://review.openstack.org/27294606:54
*** dave-mccowan has quit IRC07:02
*** chlong has joined #openstack-telemetry07:07
*** vishwana_ has joined #openstack-telemetry07:10
openstackgerritliusheng proposed openstack/python-aodhclient: Fix the -q/--query in threshold alarm creation  https://review.openstack.org/28999107:11
*** vishwanathj has quit IRC07:13
*** tomoiaga has joined #openstack-telemetry07:15
*** thorst_ has joined #openstack-telemetry07:26
*** ildikov has quit IRC07:28
*** thorst_ has quit IRC07:33
openstackgerritMerged openstack/aodh: Fixed tempest error due to upstream change  https://review.openstack.org/29029407:49
*** belmoreira has joined #openstack-telemetry07:56
*** yprokule has joined #openstack-telemetry07:57
openstackgerritXia Linjuan proposed openstack/python-aodhclient: Fix aodh client fails when command with the arg --time-constraint  https://review.openstack.org/27294608:00
*** safchain has joined #openstack-telemetry08:16
*** pece has joined #openstack-telemetry08:31
*** thorst_ has joined #openstack-telemetry08:31
*** jwcroppe has quit IRC08:32
*** jwcroppe has joined #openstack-telemetry08:32
*** yuntongjin has quit IRC08:38
*** thorst_ has quit IRC08:39
openstackgerritLianhao Lu proposed openstack/python-aodhclient: Fix aodh client fails when command with the arg --time-constraint  https://review.openstack.org/27294608:41
*** shardy has joined #openstack-telemetry08:47
*** openstackgerrit has quit IRC08:47
*** openstackgerrit has joined #openstack-telemetry08:48
*** links has quit IRC08:55
*** yuntongjin has joined #openstack-telemetry08:58
openstackgerritzhangguoqing proposed openstack/gnocchi: [doc] update configuration for WSGI pipeline  https://review.openstack.org/29033408:59
*** efoley has joined #openstack-telemetry09:08
*** efoley_ has joined #openstack-telemetry09:10
*** efoley has quit IRC09:13
*** bapalm has quit IRC09:14
*** idegtiarov_ has joined #openstack-telemetry09:16
*** ildikov has joined #openstack-telemetry09:19
*** liusheng has quit IRC09:27
*** yassine has joined #openstack-telemetry09:27
*** bapalm has joined #openstack-telemetry09:27
*** yuntongjin has quit IRC09:30
*** thorst_ has joined #openstack-telemetry09:36
*** thorst_ has quit IRC09:44
*** _nadya_ has joined #openstack-telemetry09:45
*** idegtiarov_ has quit IRC09:45
*** cheneydc has quit IRC10:00
*** idegtiarov_ has joined #openstack-telemetry10:14
*** gzhai-mobl has joined #openstack-telemetry10:16
*** gzhai-mobl has quit IRC10:24
*** Qiming has quit IRC10:32
*** thorst_ has joined #openstack-telemetry10:42
*** iberezovskiy has joined #openstack-telemetry10:48
*** thorst_ has quit IRC10:49
*** idegtiarov_ has quit IRC10:49
*** cdent has joined #openstack-telemetry10:54
*** idegtiarov_ has joined #openstack-telemetry11:05
*** efoley_ has quit IRC11:06
*** ildikov has quit IRC11:08
*** caisan_ has joined #openstack-telemetry11:14
openstackgerritMerged openstack/python-gnocchiclient: Corrected docstring for create metric  https://review.openstack.org/29001711:16
*** caisan has quit IRC11:17
*** efoley_ has joined #openstack-telemetry11:21
*** Qiming has joined #openstack-telemetry11:22
*** caisan_ has quit IRC11:22
*** nijaba has quit IRC11:24
*** nijaba has joined #openstack-telemetry11:25
*** nijaba has quit IRC11:25
*** nijaba has joined #openstack-telemetry11:25
*** chlong has quit IRC11:42
openstackgerritJulien Danjou proposed openstack/gnocchi: [doc] update configuration for WSGI pipeline  https://review.openstack.org/29033411:43
*** thorst_ has joined #openstack-telemetry11:47
*** links has joined #openstack-telemetry11:48
openstackgerritJulien Danjou proposed openstack/gnocchi: Enable CORS by default  https://review.openstack.org/29042911:49
*** thorst_ has quit IRC11:53
*** efoley__ has joined #openstack-telemetry11:53
openstackgerritIgor Degtiarov proposed openstack/ceilometer: [MongoDB] exchange compound index with single field indexes  https://review.openstack.org/27626211:54
openstackgerritIgor Degtiarov proposed openstack/ceilometer: [MongoDB] improve creation of ttl indexes  https://review.openstack.org/29043311:54
*** efoley_ has quit IRC11:57
*** ildikov has joined #openstack-telemetry12:04
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: gnocchi: batch measurements  https://review.openstack.org/28980712:11
*** chlong has joined #openstack-telemetry12:14
*** claudiub has joined #openstack-telemetry12:16
*** toddnni_ has joined #openstack-telemetry12:24
*** toddnni has quit IRC12:27
*** ryanpetrello has quit IRC12:27
*** alextricity25_ has quit IRC12:27
*** chlong has quit IRC12:27
*** toddnni_ is now known as toddnni12:27
*** bapalm has quit IRC12:27
*** bapalm has joined #openstack-telemetry12:27
*** alextricity25 has joined #openstack-telemetry12:31
*** ryanpetrello has joined #openstack-telemetry12:36
*** thorst_ has joined #openstack-telemetry12:39
*** chlong has joined #openstack-telemetry12:40
*** Gautam has joined #openstack-telemetry12:40
GautamHi, Does Ceilometer still has dependency on Flask. Or it was only used during the configuration of v1 app ?12:42
*** thumpba has joined #openstack-telemetry12:50
openstackgerritMerged openstack/gnocchi: [doc] update configuration for WSGI pipeline  https://review.openstack.org/29033412:56
*** gchung has joined #openstack-telemetry13:09
*** dave-mccowan has joined #openstack-telemetry13:22
*** _nadya_ has quit IRC13:25
*** _nadya_ has joined #openstack-telemetry13:30
*** links has quit IRC13:35
*** _nadya_ has quit IRC13:42
*** claudiub has quit IRC13:55
*** Gautam has quit IRC14:03
*** pradk has quit IRC14:08
*** jwcroppe has quit IRC14:10
*** _nadya_ has joined #openstack-telemetry14:24
*** peristeri has joined #openstack-telemetry14:27
*** jwcroppe has joined #openstack-telemetry14:32
*** nicodemus_ has joined #openstack-telemetry14:35
*** jwcroppe has quit IRC14:40
openstackgerritTrevor McCasland proposed openstack/gnocchi: Increase partitioning logic period  https://review.openstack.org/29054214:42
*** KrishR has joined #openstack-telemetry14:48
openstackgerritMerged openstack/gnocchi: carbonara: raises an error if timestamp before Epoch is sent  https://review.openstack.org/28939714:58
*** rbak has joined #openstack-telemetry14:58
*** BigWillie has joined #openstack-telemetry15:08
*** pradk has joined #openstack-telemetry15:09
openstackgerritMerged openstack/gnocchi: rest: make sure all timestamps are after Epoch  https://review.openstack.org/28939915:19
openstackgerritMerged openstack/gnocchi: rest: None is not a valid timestamp  https://review.openstack.org/28941815:19
*** tomoiaga has quit IRC15:26
gchungsileht: you ever see this before? http://logs.openstack.org/18/290118/2/gate/gate-telemetry-dsvm-integration-gnocchi/e4af116/logs/screen-ceilometer-collector.txt.gz?level=ERROR15:36
silehthttp://logs.openstack.org/18/290118/2/gate/gate-telemetry-dsvm-integration-gnocchi/e4af116/logs/rabbitmq/rabbit@devstack-trusty-ovh-bhs1-8648662.txt.gz show "heartbeat_timeout"15:38
silehtgchung, so something looks stuck and the oslo.messaging thread can send the heartbeat packet at time15:39
*** ildikov has quit IRC15:40
gchungsileht: is that a bad node issue? i assume because of that, we can't process any messsages from queue?15:40
silehtgchung, does it happend inl on ovh node ?15:41
silehtinl/only15:41
gchungsileht: hmm... i've never checked...15:41
* gchung just noticed my nick15:42
*** gchung is now known as gordc15:42
gordci'll keep an eye on it i guess. i just recheck blindly in past.15:43
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: gnocchi: batch measurements  https://review.openstack.org/28980715:46
*** yprokule has quit IRC15:46
openstackgerritMerged openstack/gnocchi: fix swift bulk-delete  https://review.openstack.org/29011815:46
openstackgerritMerged openstack/ceilometer: tempest: migrate api and scnario tests from tempest  https://review.openstack.org/26805415:47
*** Qiming has quit IRC15:53
*** thorst_ is now known as thorst_afk16:03
zigojd__: sileht: Tooz unit tests are failing in Python 3: http://paste.debian.net/413649/16:10
openstackgerritlitong01 proposed openstack/ceilometer: Add http publisher  https://review.openstack.org/29062416:14
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: Create default archive policies out of the box  https://review.openstack.org/29062616:14
silehtzigo, what is your voluptuous version ?16:15
*** jwcroppe has joined #openstack-telemetry16:15
zigosileht: I first tried with what was in Debian (ie: 0.8.2), but this failed in Py2, so I upgraded to the latest from PyPi (ie: 0.8.9), and then only Py3 was failing.16:16
zigosileht: It's been a long time there's this issue in py3 btw.16:16
zigosileht: Is Voluptuous only useful for unit testing, or is it used at runtime too?16:16
silehtzigo, I'm a bit surprise, we are gating on python 3.416:16
zigosileht: Sid has Python 3.5...16:17
silehtzigo, tooz needs voluptuous>=0.8.6 so 0.8.9 should be good16:17
openstackgerritlitong01 proposed openstack/ceilometer: Add http publisher  https://review.openstack.org/29062416:17
zigosileht: upper-constraints.txt has 0.8.8, I can try with that one if you want, but I don't think it will fix anything.16:18
zigosileht: The issue I have is that, because of this voluptuous thing, I can't upgrade Gnocchi (ie: it needs tooz >= 1.30, which needs a newer voluptuous).16:18
zigosileht: Is tooz >= 1.30 really mandatory for Gnocchi, or can I just ignore it?16:18
gordcjd__: so apparently swiftclient logs everything for some reason. it basically duplicates logs that should be on server. https://bugs.launchpad.net/python-swiftclient/+bug/121317916:19
openstackLaunchpad bug 1213179 in python-swiftclient "swiftclient logs all ClientException (404) at ERROR (with traceback)" [High,Confirmed]16:19
zigo(ie: is 1.29 fine...)16:19
jd__gordc: err :/16:19
jd__zigo: they work upstream with py34 afaik16:20
*** BigWillie has quit IRC16:20
silehtzigo, I'm checking if that a python3.5 issue or a voluptuous==0.8.9 issue16:20
zigocheers16:20
zigofyi gnocchi is the last component I need to upgrade for Mitaka! :)16:22
silehtgood news16:22
*** jwcroppe has quit IRC16:23
silehtzigo, tests pass with python3.5 and voluptuous==0.8.916:25
zigosileht: Well, it's broken for me in Experimental... And as much as I know, it's also broken for Ubuntu people, they said.16:26
silehtzigo, I can't exactly reproduce the environment, but I have checkout the tag 1.34 and run tox -epy35 and it pass16:27
zigosileht: So, you've switched your desktop to Fedora? :)16:27
silehtzigo, no really, I uses ton of VMs16:28
zigosileht: And no Sid VM ? :)16:28
silehtzigo, I have tested on a jessie machine with python3.5 from sid16:29
silehtzigo, so all python deps came from pypi16:29
zigosileht: git clone https://git.debian.org/git/openstack/python-tooz.git16:30
silehtzigo, the links doesn't work16:32
zigoHum...16:33
zigosileht: git clone https://anonscm.debian.org/git/openstack/python-tooz.git <--- Maybe this?16:33
silehtit's better16:33
zigoOtherwise, since you have an alioth account ssh://git.debian.org/git/openstack/python-tooz.git16:33
openstackgerritgordon chung proposed openstack/gnocchi: disable swift retry  https://review.openstack.org/29063816:41
silehtzigo, I don't really have times to create now, I will build it tomorrow16:41
zigosileht: Thanks.16:41
openstackgerritIgor Degtiarov proposed openstack/ceilometer: [MongoDB] improve creation of ttl indexes  https://review.openstack.org/29043316:42
openstackgerritIgor Degtiarov proposed openstack/ceilometer: [MongoDB] exchange compound index with single field indexes  https://review.openstack.org/27626216:42
openstackgerritOpenStack Proposal Bot proposed openstack/ceilometer: Updated from global requirements  https://review.openstack.org/29064316:45
gordc_nadya_: is this still relevant? https://bugs.launchpad.net/ceilometer/+bug/146426516:46
openstackLaunchpad bug 1464265 in Ceilometer "hbase backend not collecting all Swift metric" [Low,Triaged] - Assigned to Nadya Privalova (nprivalova)16:46
*** vishwana_ is now known as vishwanathj16:48
*** belmoreira has quit IRC16:52
*** wolsen has quit IRC16:52
*** wolsen has joined #openstack-telemetry16:52
*** slogan_r_ has joined #openstack-telemetry16:56
_nadya_gordc: I'll take a look16:59
slogan_r_I'm looking for someone who might be interested in working with me to add ceilometer support for underlay networking statistics published by Broadcom's broadview.17:00
gordc_nadya_: thanks17:00
gordcslogan_r_: add ability to poll it?17:01
slogan_r_well, we have a collector that is being pushed here: https://review.openstack.org/#/c/282365/17:01
slogan_r_it supports plugins for publishers like ceilometer - thinking it could post to OSLO and there might be a agent plugin that converts to ceilometer samples17:02
slogan_r_it being the plugin17:02
gordcslogan_r_: that seems like a good path, it's pretty easy to add metrics for ceilometer to process from queue17:03
slogan_r_we developed one plugin for monasca already, and a simple log file publisher plugin, thinking we could use some help from someone in ceilomter community to roll a ceilometer plugin17:03
slogan_r_We are in code review now for the initial commit: https://review.openstack.org/#/c/290548/17:04
gordcslogan_r_: i think it'd be good to just publish to queue rather than specific target like how notifications work in OpenStack in general17:05
gordcslogan_r_: if you start targetting specific systems, all the extra dependencies will cause a massive headache for you17:06
*** BigWillie has joined #openstack-telemetry17:06
slogan_r_so, 6 months ago I experimented with ceilometer. I published raw JSON data coming from broadview to OSLO, and had a ceilometer agent plugin that convert this to counters17:07
gordcright now if you publish to gnocchi, ceilometer, monasca, etc... you now need to know about all their data structures, how they all work optimally, etc...17:07
slogan_r_nod17:08
gordci think that's the right path, just publish to oslo queue. let the consumer figure out how to deal with your payload17:08
*** thorst_afk is now known as thorst_17:09
*** rcernin has quit IRC17:09
slogan_r_right, and then whatever wanted to consume from ceilometer DB could do so17:09
gordcslogan_r_: exactly.17:09
gordcslogan_r_: right now, it's pretty easy to get ceilometer to interpret specific messages from queue.17:10
gordcyou just need to add a definition to https://github.com/openstack/ceilometer/blob/master/ceilometer/meter/data/meters.yaml17:10
slogan_r_when you say queue, what do you specifically mean, data in the database?17:10
slogan_r_gordc: appreciate your help, thanks for taking the time17:11
gordcoh, by queue i mean RabbitMQ, zmq, kafka... whatever oslo.messaging supports17:11
gordcslogan_r_: np17:11
slogan_r_one thing I found difficult was representing the metadata around our stats - it's not really suited for counters17:12
gordcif you look at nova code right now, they have a periodic task that builds metrics on instances, it will then just publish it to the message queue (in some schema)17:12
slogan_r_monasca dimensions addressed this, I could basically give a value and associate with that value arbitrary metadata17:13
gordcdo you have examples of the metrics you're building?17:13
slogan_r_sure17:13
gordcultimately you just need 3 things: resource_id, metric_name, timestamp, value17:14
slogan_r_https://github.com/openstack/broadview-lib/blob/master/broadview_lib/bst/bst_parser.py#L36817:14
gordcerrr 4... (possibly more, because i'm over-simpifiying)17:14
slogan_r_what I did was explode that into named metrics, but the names of course could not really be searched on or filtered.17:15
slogan_r_so, one report might result in a large number of metrics with names that contained the metadata17:16
gordcis realm the metric name?17:16
slogan_r_realm is a part of it, yes17:17
gordc... the metric is built up over multiple levels?17:18
slogan_r_analogy might work here17:20
slogan_r_say you have a PC with 2 serial ports (ok, I know everything is USB, but I'm old school :-)17:20
slogan_r_each has 7 pins17:21
slogan_r_so, we would report something like serial-port-1-pin-3 up17:21
slogan_r_seria-port-2-pin-5 up17:21
slogan_r_etc.17:21
slogan_r_I might convert one of those into ceilometer where value is 1 or 0, and name if serial-port-2-pin-5-state as the counter name17:22
*** safchain has quit IRC17:23
gordcseems like that would be an update event rather than a metric since it's not measuring anything numerically17:24
gordcbut yeah, i get the idea.17:24
gordci would make the formatting a bit easier to understand (less nested) but that's personal opinion17:25
slogan_r_yeah, that's where I would expect someone more involved to ceilometer to be better at this than I :-)17:25
gordcbut if you publish that format on queue, it's relatively simple to get ceilometer to normalise it into events and metrics17:25
slogan_r_there are only counters, right?17:26
gordcceilometer builds to different data models. events and metrics17:26
slogan_r_from what I saw from nova cpu and networking, seemed like counters was what they are publishing to OSLO17:26
gordcso for example, nova publishes a message when it starts to create an instance, and when it finishes creating the instance17:27
gordcthose are events (nothing numerical is present, just status on the system)17:27
gordcit also publishes information about host like cputime and such... these are metrics (numerical stuff)17:28
slogan_r_well, my values are percents or raw buffer counts17:28
slogan_r_so is really a metric17:29
slogan_r_maybe the serial port analogy was a bad one17:29
gordcyeah, well ceilometer handles both regardless :)17:29
slogan_r_I'm reporting microburst activity in a data center network chip, where buffers might overflow - we report the buffer levels as raw or percentage values17:30
slogan_r_pretty useful in a cluster to know if packets are being dropped17:30
slogan_r_even better to have some visibility into why17:32
gordcright. i would suggest you publish it on the queue and not worry about consumers. ideally, it'd be in a format that's readable ie. this is the metric_name, for this resource, and it has this value at this time [and here's some useful metadata related to resource]17:32
gordcso for example, nova publishes: cputime, instance_id, <value>, <timestamp>, metadata: <host>, <flavour details>, etc...17:34
slogan_r_so the metadata has to be a part of the name of the statistic, or am I missing something?17:34
slogan_r_ah17:34
gordcjust attributes17:34
gordcyou can decide how to structure format.17:34
gordctrying to find an existing example17:35
slogan_r_k17:35
gordcslogan_r_: some rough examples17:36
gordcnova: https://github.com/openstack/ceilometer/blob/ec4848b9f0db227fdd03afd7e711d4c50d4af1fd/ceilometer/tests/unit/meter/test_notifications.py#L167-L20117:36
gordccadf: https://github.com/openstack/ceilometer/blob/ec4848b9f0db227fdd03afd7e711d4c50d4af1fd/ceilometer/tests/unit/meter/test_notifications.py#L93-L11017:36
gordcif you publish in a common pattern, it's easier for ceilometer to handle and you might not even have to write any code in ceilometer17:37
slogan_r_that would be ideal17:38
gordcbasically the more you normalise data on your own end, the less you need to worry about consumers17:38
slogan_r_when you say not right any code, we still have to register ourselves somewhere, no?17:40
slogan_r_like in a yaml file...?17:40
gordcslogan_r_: correct, you just need to map your format to ceilometer format17:41
slogan_r_the agent plugin should be the only thing that needs to be known to the world, of course17:41
*** datravis has joined #openstack-telemetry17:41
gordcso basically that last link i gave you, maps to https://github.com/openstack/ceilometer/blob/ec4848b9f0db227fdd03afd7e711d4c50d4af1fd/ceilometer/meter/data/meters.yaml#L82-L9017:41
gordcit just defines where the matching values are in the payload17:42
gordcyou'll also, need to tell ceilometer to listen to whatever topic you will publish to.17:42
gordcall the services by default publish to 'notifications' topic17:43
slogan_r_yep17:43
NepocDoes anyone have a postman collection for ceilometer api?17:43
*** datravis has left #openstack-telemetry17:45
slogan_r_okay, thanks gordc. I'll save off this conversation and look at it more detail later. I have a lot of other work in the queue, would be nice if I could find someone interested in working with me who might be able to contribute while I am occupied elsewhere.17:46
gordcslogan_r_: ack. if you need help with publish to oslo, let us know. that will make your life easier since you don't need to worry about consumers17:48
gordcNepoc: nope. sorry. we use gabbi for our api tests.17:49
gordcbbl, lunch17:49
slogan_r_gordc: thanks17:49
slogan_r_what's for lunch?17:49
* slogan_r_ runs17:49
gordcslogan_r_: whatever is not expired. :)17:49
slogan_r_in my case, whatever is least expired17:50
*** thumpba has quit IRC17:50
*** thumpba has joined #openstack-telemetry17:51
*** _nadya_ has quit IRC17:55
*** slogan_r_ has quit IRC17:59
*** shardy has quit IRC18:03
*** renatoarmani has joined #openstack-telemetry18:10
*** _nadya_ has joined #openstack-telemetry18:19
*** iberezovskiy has quit IRC18:24
*** ildikov has joined #openstack-telemetry18:33
*** renatoarmani has quit IRC18:34
*** renatoarmani has joined #openstack-telemetry18:39
*** pece has quit IRC18:42
*** KrishR has quit IRC18:43
*** jwcroppe has joined #openstack-telemetry18:59
*** cdent has quit IRC19:01
*** KrishR has joined #openstack-telemetry19:03
*** jdob has joined #openstack-telemetry19:05
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: Add some resource types tests  https://review.openstack.org/27041919:13
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: Implements resource attribute number  https://review.openstack.org/27009119:13
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: Implements resource attribute bool  https://review.openstack.org/27041819:13
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: Implements resource attribute uuid  https://review.openstack.org/27009019:13
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: Don't create Ceilometer resource types by default.  https://review.openstack.org/27032219:13
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: Move legacy Ceilometer resource into indexer.  https://review.openstack.org/27026619:13
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: Implements resource type CRUD.  https://review.openstack.org/26984419:14
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: Implements resource attribute string  https://review.openstack.org/26988819:14
*** boris-42 has quit IRC19:14
*** gordc has quit IRC19:22
nicodemus_hello19:25
*** renatoarmani has quit IRC19:26
nicodemus_If I were using an archive policy in which its first definition has 288 datapoints (http://paste.openstack.org/show/489894/)19:26
nicodemus_and wanted to multiply by 5 one specific metric from all instance-type resources19:27
nicodemus_could I do that manipulating the pipeline.yaml in ceilometer agents?19:28
*** thorst__ has joined #openstack-telemetry19:36
*** jwcroppe has quit IRC19:37
*** yassine has quit IRC19:40
*** thorst_ has quit IRC19:40
*** efoley__ has quit IRC19:42
*** BigWillie has quit IRC19:54
*** renatoarmani has joined #openstack-telemetry20:00
*** gordc has joined #openstack-telemetry20:02
*** renatoarmani has quit IRC20:04
nicodemus_hi gordc, do you have a moment?20:08
*** renatoarmani has joined #openstack-telemetry20:08
*** renatoarmani has quit IRC20:09
gordcnicodemus_: sure20:13
nicodemus_gordc, if I wanted to multiply by 5 one specific metric, could I do that manipulating the pipeline.yaml in ceilometer agents?20:14
gordcnicodemus_: yeah, you should be able to. there is an arithmetic transformer.20:15
gordclet me check20:15
nicodemus_the first definition in my archive policy has 288 datapoints, and would need the instance uptime metric to have 144020:15
nicodemus_gordc, great, thanks!20:15
gordcnicodemus_: err you want to multiply the value of the metric or you want the metric 5 times?20:17
*** jwcroppe has joined #openstack-telemetry20:19
nicodemus_gordc, multiply the value of the metric20:19
nicodemus_apologies if I didn't express clearly20:19
gordcok cool. when you said datapoints i thought you want to increase the number of datapoints stored. you just want to change the value of the datapoint20:20
gordcso there's a scaling transformer: https://github.com/openstack/ceilometer/blob/master/ceilometer/transformer/conversions.py#L11920:20
*** jwcroppe has quit IRC20:21
nicodemus_gordc, if I understand correctly the pipeline.yaml file... Should I create a "name" entry to match that specific metric? and then create a sink that applies the scaling transformer?20:23
nicodemus_I only want to modify the "instance" metric20:24
openstackgerritMerged openstack/ceilometer: Updated from global requirements  https://review.openstack.org/29064320:24
gordcnicodemus_:  kk, let me try building a sample pipeline20:24
gordcnicodemus_: something like this: http://paste.openstack.org/show/489906/20:29
nicodemus_gordc, fantastic! I'll give it a try20:29
nicodemus_Thanks!20:29
gordcnp. you can also remap to a new metric name if needed. different options as required20:31
*** idegtiarov_ has quit IRC20:46
nicodemus_gordc, the new pipeline.yaml did the trick. Thanks!!20:49
*** Ephur has joined #openstack-telemetry20:49
gordcnicodemus_: cool. np21:00
*** twm2016 has joined #openstack-telemetry21:11
*** _nadya_ has quit IRC21:11
*** thumpba has quit IRC21:13
*** thumpba has joined #openstack-telemetry21:14
twm2016I was looking at this bug: https://bugs.launchpad.net/python-ceilometerclient/+bug/1554727 and I was wondering would it be acceptable to limit events before it prints here: https://github.com/openstack/python-ceilometerclient/blob/master/ceilometerclient/v2/shell.py#L1131?21:14
openstackLaunchpad bug 1554727 in python-ceilometerclient "limit argument does not work on event-list query" [Medium,Triaged]21:14
*** waverider has joined #openstack-telemetry21:14
*** _nadya_ has joined #openstack-telemetry21:15
*** _nadya_ has quit IRC21:15
*** thumpba has quit IRC21:18
gordctwm2016: based on error, it might relate to ceilometer api and not just client (since it gets a HTTP 400 code)21:24
*** thorst__ is now known as thorst_21:30
*** nicodemus_ has quit IRC21:35
*** r-mibu has quit IRC21:47
*** r-mibu has joined #openstack-telemetry21:47
*** twm2016 has quit IRC21:52
*** jdob has quit IRC22:00
*** thorst_ has quit IRC22:02
*** thorst_ has joined #openstack-telemetry22:05
*** thorst_ has quit IRC22:09
*** waverider has quit IRC22:12
*** gordc has quit IRC22:16
*** david-lyle has quit IRC22:19
*** dave-mccowan has quit IRC22:20
*** david-lyle has joined #openstack-telemetry22:20
*** thorst_ has joined #openstack-telemetry22:24
*** peristeri has quit IRC22:30
*** dave-mccowan has joined #openstack-telemetry22:34
openstackgerritlitong01 proposed openstack/ceilometer: Add http publisher  https://review.openstack.org/29062422:47
*** KrishR has quit IRC22:47
*** thorst_ has quit IRC22:51
*** thorst_ has joined #openstack-telemetry22:52
*** thorst_ has quit IRC23:01

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!