Friday, 2017-09-15

*** Tom_ has joined #openstack-monasca00:18
*** tovin07_ has joined #openstack-monasca00:56
*** Tom_ has quit IRC01:06
*** Tom_ has joined #openstack-monasca02:27
*** Tom__ has joined #openstack-monasca02:29
*** Tom_ has quit IRC02:31
*** bobh has joined #openstack-monasca02:37
*** bobh has quit IRC02:41
*** Tom__ has quit IRC03:44
*** Tom has joined #openstack-monasca03:46
*** Tom has quit IRC04:06
*** Tom has joined #openstack-monasca05:13
*** Tom_ has joined #openstack-monasca05:58
*** Tom has quit IRC06:00
*** pcaruana has joined #openstack-monasca06:45
*** tobiajo has joined #openstack-monasca06:51
*** jgu_ has quit IRC06:52
*** Tom_ has quit IRC07:01
*** Tom_ has joined #openstack-monasca07:04
openstackgerritWitold Bedyk proposed openstack/monasca-specs master: Define repository structure  https://review.openstack.org/50410807:37
openstackgerritWitold Bedyk proposed openstack/monasca-specs master: Define repository structure  https://review.openstack.org/50410807:40
*** Tom_ has quit IRC08:07
*** efoley has joined #openstack-monasca08:15
openstackgerritWitold Bedyk proposed openstack/monasca-specs master: Define repository structure  https://review.openstack.org/50410808:28
*** tobiajo has quit IRC09:31
*** tobiajo has joined #openstack-monasca09:42
*** tovin07_ has quit IRC10:14
*** Tom_ has joined #openstack-monasca11:09
*** Tom_ has quit IRC11:13
*** bobh has joined #openstack-monasca12:26
*** Dobroslaw has quit IRC12:29
openstackgerritJohannes Grassler proposed openstack/monasca-log-api master: Fix WSGI application  https://review.openstack.org/50440012:29
*** bobh has quit IRC12:34
*** Tom has joined #openstack-monasca13:25
*** Tom has quit IRC13:30
*** efoley_ has joined #openstack-monasca13:34
*** efoley has quit IRC13:34
openstackgerritMerged openstack/monasca-common master: Updated from global requirements  https://review.openstack.org/50267313:53
openstackgerritMerged openstack/monasca-statsd master: Updated from global requirements  https://review.openstack.org/50267613:54
openstackgerritMerged openstack/monasca-ui master: Updated from global requirements  https://review.openstack.org/50278113:55
openstackgerritMerged openstack/monasca-persister master: Updated from global requirements  https://review.openstack.org/50267513:55
*** efoley_ has quit IRC14:07
*** efoley_ has joined #openstack-monasca14:08
*** rbrndt has joined #openstack-monasca14:24
openstackgerritMerged openstack/monasca-log-api master: Updated from global requirements  https://review.openstack.org/50267414:34
*** jgu_ has joined #openstack-monasca14:36
iurygregoryHello people, i have monasca-agent monitoring instances in my hosts, sometimes it happens that the agent doesent collect any metrics for some instances, im using the libvirt agent to monitor. Anyone know the possible problem? I saw in logs sometimes "negative value"  there is any way to avoid this?14:42
*** vishwana_ has quit IRC14:54
*** tobiajo has quit IRC14:59
rbrndtiurygregory, if you have some logs, you might want to post a bug/story about that in storyboard. I've never seen it before.15:14
openstackgerritRyan Brandt proposed openstack/monasca-agent master: Add some new metrics and update some old ones  https://review.openstack.org/49748815:19
*** pcaruana has quit IRC15:24
jgu_rbrndt : influxdb python and Java Mon api have different behavior in the merge metrics option . Python api delegates the limti to influxdb which returns limit # of data points for every time series (i.e., metric). So you get limit * # of matching unique metrics measurements back. in the Java api, it gets all the measurements for all found metrics then filter by offset and limti in the Java api as you mentioned. But it is just15:59
jgu_picking the first limit number of measurements when looping through the time series one by one. That is not by order of time stamps among all measurements in all series. It will depletes one time series first before go to next time series. I am not sure either one is matching the expectation that you described. thoughts?15:59
rbrndtThe java is the one I expected. Are you sure the python one works that way? The two api's should have the same approach16:00
jgu_yes, I checked the influxdb doc. The python api is not doing much data process on the influxdb query result.16:02
rbrndtwell, I guess I stand corrected then. There is a major difference between the java and python APIs16:04
jgu_which on eis more correct? :-). Let me get it straight in terms of expected behavior. let's say the query found two metrics A and B, A has 200 points, and B has 200 points. with the limit = 200, we will get the 200 points of A, and zero points from B even though B's points may even have earlier time stamp?16:06
rbrndtThat was the expected. I don't know if it's desired behavior long term, since it was mostly an effort to match the functional characteristics of two very different databases16:07
rbrndtThe python way is much easier in influx and we don't use vertica really anymore16:07
jgu_yes, the python is very straightforward, but it has its own issue. it returns the same # (limit) of measurements for each metric, so the time stamp of last point can be different among time series. So what the user is gonna do trying to find the next batch of points? I mean the new offset has to be uniform but the last result set ends at different time for different emtrics?16:11
rbrndtGenerally, I would expect it to be used with time restrictions, rather than offset16:15
rbrndtbut really the issue here is how to prevent the user from requesting a HUGE number of points16:15
rbrndtand possible blowing up their api with the overflow16:15
rbrndtthe real trick with the python way is that we can't predict the number of points that will be returned, since we don't know up front how many series will be returns16:16
jgu_agree with you on the issue with python impl.16:18
jgu_does vertica sort the query results by time stamp across all metrics then limit?16:18
rbrndtIt's by series then time, then applies the limit16:19
rbrndtof course, vertica is sql, so it's pretty variable16:19
jgu_and vertica offset is just timestamp? I noticed the java influxdb uses a combination of timestamp and index in offset to facilitate find next batch.16:20
rbrndtvertica offset is series id then time16:21
rbrndtinflux doesn't have the series ID that vertica uses16:21
jgu_yeah influx java impl uses an index id in offset -- index is how far down in the result set it needs to skip (assume the index is where the last query ends)16:23
jgu_now my head is going to explode :-)16:24
jgu_btw, monasca api doc needs to refresh... it says the offset is just timestamp16:24
rbrndtit's even more of a mess than I thought16:24
rbrndtYeah, but docs also say it is an opaque value, so no one should rely on it being a timestamp16:25
jgu_which doc are you referring to? I was reading at the api.md in the github.16:26
rbrndtI'd have to look to find it again, but I thought it was in there16:26
rbrndtup near the top16:27
rbrndtwait, do you mean the api-spec.md? or something else?16:28
jgu_ok, in the terminology section. I was reading the section "list measurements" it says "offset (timestamp, optional)"16:28
rbrndtok, well that certainly is inconsistent16:29
jgu_lol, my head is going to explode :-). anyhow, seems that the Java behavior is expected, "correct" behavior. and acceptable to expand the offset to include a series id or index id to facilitate paging through the measurement list.16:31
rbrndtYeah, thats about where we stand16:32
jgu_thank you Ryan for setting me straight on the expectation!16:35
jgu_have we considered sorting all measurements by timestamp across the multiple metrics and page through just by tempstamp offset? It seems to make more sense in the use case you described about vm migration, and two time series are really the same time series with two different host names?16:37
rbrndtDisplaying that result would be harder to use and read16:39
rbrndtassuming it isn't a part of the use-case you mentioned16:39
jgu_you mean if the two metrics are really unrelated16:39
jgu_ot single time series16:40
rbrndtwell, more in the case of group_by where we want to separate out the metrics16:40
rbrndtIn the case of merge, the user never sees which time series are involved16:40
jgu_in the case of "merge" option, you expect merge into one time series?16:42
jgu_I may be wrog, I don't see the influxdb code python or Java does that16:43
rbrndtit will appear as such to the caller16:43
rbrndtIt does, it may do it in influx but it definitely comes back as a single series16:44
jgu_okay may be in the rest api layer16:44
jgu_yes the measurement resource class does the pagination there. I stand corrected ... even the python code does the pagination in the rest resource level. The difference is the java influxdb queries the db without limit but does the our own way of limit in the influx repo java class. the python impl sends the limit to influxdb query (less data to pull) then delegates everything in the result set to the mon rest resource framework17:01
jgu_to do the pagination (creating unnecessarily more objects). It is more consistent than I led you to believe :-).17:01
rbrndtWhew, I was worried I'd been wrong for months there17:03
jgu_didn't mean to do that to you on Friday :-). Is there any hook for using db pagination directly? Cassandra allows us to store a pagination string.17:09
jgu_i mean a string for their pagination state17:09
*** efoley_ has quit IRC17:10
rbrndtI don't know influx well enough anymore to say. I did most of my work in the pre 1.0 stages17:11
*** rbrndt has quit IRC17:24
*** rbrndt has joined #openstack-monasca18:18
*** ddyer has quit IRC18:22
*** ddyer has joined #openstack-monasca18:23
*** joadavis1 has quit IRC19:10
*** ddyer has quit IRC19:43
*** joadavis has joined #openstack-monasca20:04
*** Tom_ has joined #openstack-monasca20:08
*** Tom_ has quit IRC20:12
*** joadavis has quit IRC20:16
*** joadavis has joined #openstack-monasca20:27
openstackgerritWitold Bedyk proposed openstack/monasca-api master: Add Contributor Guide  https://review.openstack.org/49880420:53
joadaviswitek: I just checked the etherpad for the mid cycle next week and I see the Ceilosca/Ceilometer item on both Wednesday and Thursday.  I assume we want it only on one day. :)  Do we want to keep the discussion to a specific amount of time?21:31
*** guimaluf has joined #openstack-monasca21:50
*** efoley has joined #openstack-monasca21:53
*** rbrndt has quit IRC22:47
*** efoley has quit IRC23:02

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