{"action":"opened","issue":{"url":"https://api.github.com/repos/jupyterhub/binderhub/issues/477","repository_url":"https://api.github.com/repos/jupyterhub/binderhub","labels_url":"https://api.github.com/repos/jupyterhub/binderhub/issues/477/labels{/name}","comments_url":"https://api.github.com/repos/jupyterhub/binderhub/issues/477/comments","events_url":"https://api.github.com/repos/jupyterhub/binderhub/issues/477/events","html_url":"https://github.com/jupyterhub/binderhub/issues/477","id":302112564,"number":477,"title":"Log launch times for each pod?","user":{"login":"choldgraf","id":1839645,"avatar_url":"https://avatars1.githubusercontent.com/u/1839645?v=4","gravatar_id":"","url":"https://api.github.com/users/choldgraf","html_url":"https://github.com/choldgraf","followers_url":"https://api.github.com/users/choldgraf/followers","following_url":"https://api.github.com/users/choldgraf/following{/other_user}","gists_url":"https://api.github.com/users/choldgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/choldgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choldgraf/subscriptions","organizations_url":"https://api.github.com/users/choldgraf/orgs","repos_url":"https://api.github.com/users/choldgraf/repos","events_url":"https://api.github.com/users/choldgraf/events{/privacy}","received_events_url":"https://api.github.com/users/choldgraf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-04T19:14:19Z","updated_at":"2018-03-04T19:14:19Z","closed_at":null,"author_association":"OWNER","body":"Right here:\r\n\r\nhttps://github.com/jupyterhub/binderhub/blob/master/binderhub/builder.py#L388\r\n\r\nWe log the launch time of each pod as a \"bucket\" meant for a histogram. This doesn't work super well in Grafana because the buckets themselves aren't encoded as floats, but as strings (so they aren't sorted properly).\r\n\r\nIs there any reason not to just store the actual launch time for each pod? That way we can just aggregate this value in Grafana and calculate percentiles from the raw data stream. @yuvipanda was there a reason (e.g. slowness for queries) to use the histogram buckets thing in aggregate instead of just storing the raw value for each one?"}}
{"actor":{"display_login":"choldgraf"}}