{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/3702","repository_url":"https://api.github.com/repos/mozilla/fxa-content-server","labels_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/3702/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/3702/comments","events_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/3702/events","html_url":"https://github.com/mozilla/fxa-content-server/pull/3702","id":152747769,"number":3702,"title":"feat(client): pass metrics context metadata to the back end","user":{"login":"philbooth","id":64367,"avatar_url":"https://avatars.githubusercontent.com/u/64367?v=3","gravatar_id":"","url":"https://api.github.com/users/philbooth","html_url":"https://github.com/philbooth","followers_url":"https://api.github.com/users/philbooth/followers","following_url":"https://api.github.com/users/philbooth/following{/other_user}","gists_url":"https://api.github.com/users/philbooth/gists{/gist_id}","starred_url":"https://api.github.com/users/philbooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philbooth/subscriptions","organizations_url":"https://api.github.com/users/philbooth/orgs","repos_url":"https://api.github.com/users/philbooth/repos","events_url":"https://api.github.com/users/philbooth/events{/privacy}","received_events_url":"https://api.github.com/users/philbooth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/fxa-content-server/labels/waffle:active","name":"waffle:active","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-05-03T10:59:27Z","updated_at":"2016-05-05T15:20:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/fxa-content-server/pulls/3702","html_url":"https://github.com/mozilla/fxa-content-server/pull/3702","diff_url":"https://github.com/mozilla/fxa-content-server/pull/3702.diff","patch_url":"https://github.com/mozilla/fxa-content-server/pull/3702.patch"},"body":"Fixes #3551.\r\n\r\nAdds metrics context metadata to the auth server `/signup` and `/login` requests. `flowId` and `flowBeginTime` are always set, other fields are set according to their presence on the relier object.\r\n\r\n@vladikoff r?"},"comment":{"url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/comments/217183802","html_url":"https://github.com/mozilla/fxa-content-server/pull/3702#issuecomment-217183802","issue_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/3702","id":217183802,"user":{"login":"vladikoff","id":128755,"avatar_url":"https://avatars.githubusercontent.com/u/128755?v=3","gravatar_id":"","url":"https://api.github.com/users/vladikoff","html_url":"https://github.com/vladikoff","followers_url":"https://api.github.com/users/vladikoff/followers","following_url":"https://api.github.com/users/vladikoff/following{/other_user}","gists_url":"https://api.github.com/users/vladikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/vladikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladikoff/subscriptions","organizations_url":"https://api.github.com/users/vladikoff/orgs","repos_url":"https://api.github.com/users/vladikoff/repos","events_url":"https://api.github.com/users/vladikoff/events{/privacy}","received_events_url":"https://api.github.com/users/vladikoff/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T15:20:54Z","updated_at":"2016-05-05T15:20:54Z","body":"From IRC discussion: let's try to see if making the new `metrics-context` be a model with the `lib/metrics`. \r\nThat might help simplify the `app-start` functionality and keep the metrics stuff more self-contained. \r\nsome notes:\r\n* there is also a 'relier' `_context` in metrics, so we might need to do something to avoid confusion\r\n* some relier fields and methods can be reused in both modules. "}}