{"action":"created","issue":{"url":"https://api.github.com/repos/openzipkin/zipkin/issues/748","labels_url":"https://api.github.com/repos/openzipkin/zipkin/issues/748/labels{/name}","comments_url":"https://api.github.com/repos/openzipkin/zipkin/issues/748/comments","events_url":"https://api.github.com/repos/openzipkin/zipkin/issues/748/events","html_url":"https://github.com/openzipkin/zipkin/issues/748","id":109056500,"number":748,"title":"span name selector UI broken","user":{"login":"srijs","id":2677165,"avatar_url":"https://avatars.githubusercontent.com/u/2677165?v=3","gravatar_id":"","url":"https://api.github.com/users/srijs","html_url":"https://github.com/srijs","followers_url":"https://api.github.com/users/srijs/followers","following_url":"https://api.github.com/users/srijs/following{/other_user}","gists_url":"https://api.github.com/users/srijs/gists{/gist_id}","starred_url":"https://api.github.com/users/srijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srijs/subscriptions","organizations_url":"https://api.github.com/users/srijs/orgs","repos_url":"https://api.github.com/users/srijs/repos","events_url":"https://api.github.com/users/srijs/events{/privacy}","received_events_url":"https://api.github.com/users/srijs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-30T10:15:17Z","updated_at":"2015-10-01T14:23:55Z","closed_at":"2015-09-30T17:45:44Z","body":"With the merge of the json api branch, the selector in zipkin-web is broken, because it loads data from `/api/spans?serviceName=xxx` (which returns a nested array of spans), and then tries to display it (as if it was a array of strings). \r\n\r\nPreviously, the data was loaded from a span names endpoint, which used `getSpanNames` in the span store to retrieve a list of span names. This approach was superior, because it allows the span store to execute an efficient query to just aggregate all span names across the traces (the aggregates could even be stored separately)."},"comment":{"url":"https://api.github.com/repos/openzipkin/zipkin/issues/comments/144743452","html_url":"https://github.com/openzipkin/zipkin/issues/748#issuecomment-144743452","issue_url":"https://api.github.com/repos/openzipkin/zipkin/issues/748","id":144743452,"user":{"login":"adriancole","id":64215,"avatar_url":"https://avatars.githubusercontent.com/u/64215?v=3","gravatar_id":"","url":"https://api.github.com/users/adriancole","html_url":"https://github.com/adriancole","followers_url":"https://api.github.com/users/adriancole/followers","following_url":"https://api.github.com/users/adriancole/following{/other_user}","gists_url":"https://api.github.com/users/adriancole/gists{/gist_id}","starred_url":"https://api.github.com/users/adriancole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriancole/subscriptions","organizations_url":"https://api.github.com/users/adriancole/orgs","repos_url":"https://api.github.com/users/adriancole/repos","events_url":"https://api.github.com/users/adriancole/events{/privacy}","received_events_url":"https://api.github.com/users/adriancole/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T14:23:55Z","updated_at":"2015-10-01T14:23:55Z","body":":both_hands:\n"}}