{"action":"created","issue":{"url":"https://api.github.com/repos/catapult-project/catapult/issues/1675","labels_url":"https://api.github.com/repos/catapult-project/catapult/issues/1675/labels{/name}","comments_url":"https://api.github.com/repos/catapult-project/catapult/issues/1675/comments","events_url":"https://api.github.com/repos/catapult-project/catapult/issues/1675/events","html_url":"https://github.com/catapult-project/catapult/issues/1675","id":113659038,"number":1675,"title":"Write a design doc to clean-up metadata and querying","user":{"login":"philippebeaudoin","id":11399419,"avatar_url":"https://avatars.githubusercontent.com/u/11399419?v=3","gravatar_id":"","url":"https://api.github.com/users/philippebeaudoin","html_url":"https://github.com/philippebeaudoin","followers_url":"https://api.github.com/users/philippebeaudoin/followers","following_url":"https://api.github.com/users/philippebeaudoin/following{/other_user}","gists_url":"https://api.github.com/users/philippebeaudoin/gists{/gist_id}","starred_url":"https://api.github.com/users/philippebeaudoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippebeaudoin/subscriptions","organizations_url":"https://api.github.com/users/philippebeaudoin/orgs","repos_url":"https://api.github.com/users/philippebeaudoin/repos","events_url":"https://api.github.com/users/philippebeaudoin/events{/privacy}","received_events_url":"https://api.github.com/users/philippebeaudoin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/catapult-project/catapult/labels/Code%20Health","name":"Code Health","color":"fbca04"},{"url":"https://api.github.com/repos/catapult-project/catapult/labels/Perf%20Insights","name":"Perf Insights","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"philippebeaudoin","id":11399419,"avatar_url":"https://avatars.githubusercontent.com/u/11399419?v=3","gravatar_id":"","url":"https://api.github.com/users/philippebeaudoin","html_url":"https://github.com/philippebeaudoin","followers_url":"https://api.github.com/users/philippebeaudoin/followers","following_url":"https://api.github.com/users/philippebeaudoin/following{/other_user}","gists_url":"https://api.github.com/users/philippebeaudoin/gists{/gist_id}","starred_url":"https://api.github.com/users/philippebeaudoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippebeaudoin/subscriptions","organizations_url":"https://api.github.com/users/philippebeaudoin/orgs","repos_url":"https://api.github.com/users/philippebeaudoin/repos","events_url":"https://api.github.com/users/philippebeaudoin/events{/privacy}","received_events_url":"https://api.github.com/users/philippebeaudoin/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-10-27T19:08:56Z","updated_at":"2015-10-30T19:22:50Z","closed_at":null,"body":"There seems to be some problems and limitations with the current way we handle metadata:\r\n- Some metadata is in the trace, some is extracted from the file (date?)\r\n- Filtering on metadata requires unzipping the trace\r\n- The metadata is not the same if recorded via slow report versus manually\r\n\r\nPinging @natduca @fmeawad @vinterstum "},"comment":{"url":"https://api.github.com/repos/catapult-project/catapult/issues/comments/152623882","html_url":"https://github.com/catapult-project/catapult/issues/1675#issuecomment-152623882","issue_url":"https://api.github.com/repos/catapult-project/catapult/issues/1675","id":152623882,"user":{"login":"vinterstum","id":787910,"avatar_url":"https://avatars.githubusercontent.com/u/787910?v=3","gravatar_id":"","url":"https://api.github.com/users/vinterstum","html_url":"https://github.com/vinterstum","followers_url":"https://api.github.com/users/vinterstum/followers","following_url":"https://api.github.com/users/vinterstum/following{/other_user}","gists_url":"https://api.github.com/users/vinterstum/gists{/gist_id}","starred_url":"https://api.github.com/users/vinterstum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinterstum/subscriptions","organizations_url":"https://api.github.com/users/vinterstum/orgs","repos_url":"https://api.github.com/users/vinterstum/repos","events_url":"https://api.github.com/users/vinterstum/events{/privacy}","received_events_url":"https://api.github.com/users/vinterstum/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T19:22:50Z","updated_at":"2015-10-30T19:22:50Z","body":"Part of the problem right now is that using the metadata macros adds __metadata events to the tracelog, whereas the global metadata (showing up under the \"M\" thing in the trace-viewer) is a separate \"metadata\" JSON element outside of \"trace_events\", which is set using duplicate code in two different string trace sinks. Adding new metadata using the macro is trivial (like the HighResTimer stuff yesterday), but if we end up wanting this kind of stuff inside the global \"metadata\" JSON instead, rather than as a metadata event, it means changing parsing later. Which may not be a big deal, of course."}}