16:01:26 #startmeeting 16:01:26 #chair nijaba 16:01:26 #meetingname ceilometer 16:01:26 #info agenda http://wiki.openstack.org/Meetings/MeteringAgenda 16:01:27 Meeting started Thu May 17 16:01:26 2012 UTC. The chair is nijaba. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:01:28 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:01:29 Current chairs: nijaba 16:01:30 The meeting name has been set to 'ceilometer' 16:01:37 #topic meeting organisation 16:01:37 #info This is 3/6 meetings to decide the details of the architecture of the Metering project https://launchpad.net/ceilometer 16:01:37 #info Today's focus is on the definition of external REST API 16:01:37 #info There has not been enough discussions on the list to cover all aspects and the focus of this meeting was modified to cope with it.#info The meeting is time boxed and there will not be enough time to introduce inovative ideas and research for solutions. 16:01:37 #info The debate will be about the pro and cons of the options already discussed on the mailing list. 16:01:50 any remarks regarding the organozation of the meeting? 16:02:09 I guess that's a no :) 16:02:14 #topic actions from previous meetings 16:02:26 #info dachary add info to the wiki on the topic of poll versus push 16:02:44 dachary is not able to join us today, but I can confirm that this was done 16:02:53 any remarks about it? 16:03:19 ok, moving on 16:03:25 #info dhellmann: reformulate the API proposal as a start point for the dicussion on the ML 16:03:26 which section of the wiki page was that in? 16:03:55 #architecture IIRC 16:03:57 I sent email to the list a couple of days ago, and we have since had a discussion about the new presentation of the API that you put forward 16:04:20 yup, I think we can mark this one as done too :) 16:04:24 nijaba, aha, I found it 16:04:52 #dachary push next meetings one week 16:05:24 so as we had to continue the discussion on APU, the meeting schedule was indeed pushed by one week 16:05:29 done as well... 16:05:49 ok, let's move one then 16:05:55 #topic Agree on update to schema to include JSON formated metadata 16:05:55 #link http://wiki.openstack.org/EfficientMetering#Storage 16:06:11 any comment on this change? 16:06:37 to summarize, it replaces the "payload" field with a "resource_metadata" field 16:06:56 the new field is a JSON value with the content left up to the resource type, correct? 16:07:02 and specify the use of a json description in that field 16:07:08 correct 16:07:19 that works for my needs 16:07:26 +1 for me 16:07:47 some of the early requirements came from Dan from HP, is he here? 16:08:04 guess not... 16:08:18 should we not that as agreed? 16:08:19 i'm not too hot on the use of json payload (means it's hard to index and query), but i'm not too fussed either :-) 16:08:49 are we specifying how that data will be stored, or what the message looks like? 16:08:53 flacoste: given that we are not planning to allow searches on it, it should work 16:09:08 dhellmann: not so far. left to the implementor 16:09:14 dhellmann: the section is called 'Storage', but i wonderd the same thing 16:09:39 for the first version the message format and storage format could potentially be the same, but we can optimize that later 16:09:52 I guess we can have a disussion on the schema of this field at a later point? 16:09:56 sure 16:09:58 if it's only the meter message format, then i have no concerns 16:10:09 +1 16:10:23 marking this as agreed then 16:10:29 +1 16:10:40 #agreed to update to schema to include JSON formated metadata 16:10:56 #topic Agree on API proposal 16:10:56 #link http://wiki.openstack.org/EfficientMetering/APIProposalv1 16:11:39 so I tried to summarize the discussion on the API with a detailed proposal for the REST API 16:11:49 most of you have already commented on it 16:12:01 any further remark? 16:12:30 I am +1 on the current list of API endpoints 16:12:35 flacoste: still convinced we should not do storage and API? 16:12:58 or did our arguments make sense? 16:13:02 well 16:13:17 i'm not totally convinced yet 16:13:20 we probably need something 16:13:33 not sure it's the first thing we should be thinking about anymore 16:13:39 but it's not that important either 16:13:41 fwiw, I probably won't use all of the endpoints we have described in our integration 16:13:47 i'll continue the discussion on the list 16:13:52 ok 16:13:57 but i think what is being discussed here 16:13:57 but the list that's there makes sense 16:13:59 makes sense 16:14:15 so, on the current API proposal, let's vote... 16:14:21 +1 for me 16:14:24 +1 16:14:48 * flacoste abstains 16:15:01 #agree on API proposal http://wiki.openstack.org/EfficientMetering/APIProposalv1 16:15:22 #topic Agree on format for date_time 16:15:22 #info Suggestion is to use ISO but seeking validation for best practice for REST 16:15:47 any pros and cons about using ISO format for this? 16:16:06 I asked some of the guys at DreamHost who do more REST than I do, and they said ISO 8601 was easy to parse and supported in a lot of libraries already 16:16:23 they also suggested using UTC times to avoid timezone issues within the server 16:16:38 dhellmann: oh yes! 16:16:47 which makes sense to me, since I've fought that fight a few times :-) 16:16:52 yes, to UTC! 16:17:01 * dhellmann likes the easy decisions 16:17:03 #action nijaba to add the use to UTC for datetime 16:17:22 oh, I forgot another action 16:17:43 #action flacoste to follow on the discussion about a bus only implementation 16:18:13 ok, so I guess we are all in agreement about datatime format? 16:18:23 it sounds like it 16:18:54 #agreed to use ISO for datetime 16:19:11 #topic Agree on the use of a transparent cache for aggregation 16:19:48 I personally think this is outside the scope of the high level design we are currently doing 16:20:25 but I think that we should agree that the main thing we store are atomic events 16:20:44 what else would we store? 16:20:54 and that we can store other "comodity" information for perfomance reasons, such as agregation of values 16:21:17 but this should be left to "the implementor" 16:21:53 i don't understand what 'transparent cache for aggregation' means 16:22:07 but it does sound out of scope :-) 16:22:31 flacoste: in order to reduce the db traversals, we may store result of some complexe queries in the database for a set period of time 16:22:50 that's implementation detail for sure 16:22:58 * nijaba nods 16:23:03 yeah, we expect to do that by adding data to our existing billing system 16:23:22 I'm planning to ask for data, process it, and put it somewhere else 16:23:32 so caching in ceilometer won't be that helpful for us 16:23:43 ok, noting agreement on this is implementation details 16:23:58 #agreed caching is an implementation detail 16:24:11 heh, we are moving fast today 16:24:21 we actually have time left for.... 16:24:28 #topic Open discussion 16:25:12 anyone? 16:25:16 I mentioned this on the list or during the last meeting, but one thing not handled by any of the existing counters is "discrete" events 16:25:36 for example, we might have a small charge to upload a new image to glance, then charge on a recurring basis for the storage 16:25:52 or we might charge a flat rate to create an instance 16:25:52 why not add a counter for those then? 16:26:07 hmm 16:26:07 they are countable by number of occurence 16:26:12 number of instances started in period? 16:26:13 I guess that makes sense -- right 16:26:20 number of glance uploads in period? 16:26:32 most of the examples are accumulated values, I wasn't thinking in units of "number" :-) 16:26:33 I go 3 images upload betwen then and now, for example 16:26:54 ok, well, that problem is solved then 16:26:58 * nijaba blames crappy keyboard for missing letters :) 16:27:29 dhellmann: you may want to document the additional counters and specify that they won't carry volume information 16:27:49 dhellmann: do you want that action? 16:28:09 not yet. if we decide to charge for them I will add documentation before or with the code 16:28:18 I don't want to commit to implementing it if no one else needs it 16:28:19 dhellmann: sounds good 16:28:32 dhellmann: we may want to document one though 16:28:41 ok, I'll add an example 16:28:41 dhellmann: so that we don't forget about the case 16:28:46 right 16:29:02 #action dhellmann to document a counter for discrete event as an example 16:29:31 any other open dicussion topics? 16:30:09 calling once... 16:30:28 twice... 16:31:02 ok, thanks a lot everyone... I guess the holliday did not help to get a lot of people on this meeting today 16:31:15 #endmeeting