{"action":"created","issue":{"url":"https://api.github.com/repos/cloudflare/ebpf_exporter/issues/12","repository_url":"https://api.github.com/repos/cloudflare/ebpf_exporter","labels_url":"https://api.github.com/repos/cloudflare/ebpf_exporter/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/cloudflare/ebpf_exporter/issues/12/comments","events_url":"https://api.github.com/repos/cloudflare/ebpf_exporter/issues/12/events","html_url":"https://github.com/cloudflare/ebpf_exporter/pull/12","id":318678960,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg0ODExNjM4","number":12,"title":"Fixing cases for fields that contains space","user":{"login":"dqminh","id":62707,"node_id":"MDQ6VXNlcjYyNzA3","avatar_url":"https://avatars3.githubusercontent.com/u/62707?v=4","gravatar_id":"","url":"https://api.github.com/users/dqminh","html_url":"https://github.com/dqminh","followers_url":"https://api.github.com/users/dqminh/followers","following_url":"https://api.github.com/users/dqminh/following{/other_user}","gists_url":"https://api.github.com/users/dqminh/gists{/gist_id}","starred_url":"https://api.github.com/users/dqminh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dqminh/subscriptions","organizations_url":"https://api.github.com/users/dqminh/orgs","repos_url":"https://api.github.com/users/dqminh/repos","events_url":"https://api.github.com/users/dqminh/events{/privacy}","received_events_url":"https://api.github.com/users/dqminh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-29T00:24:13Z","updated_at":"2018-07-10T15:38:07Z","closed_at":"2018-07-10T15:38:07Z","author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/cloudflare/ebpf_exporter/pulls/12","html_url":"https://github.com/cloudflare/ebpf_exporter/pull/12","diff_url":"https://github.com/cloudflare/ebpf_exporter/pull/12.diff","patch_url":"https://github.com/cloudflare/ebpf_exporter/pull/12.patch"},"body":"currently we split fields using space separator. But this failed in case program has space in name. For example \"tmux: server\". This refactor the current decoders into simple index-based decoders to let them have greater flexibility in parsing its required data.\r\n\r\nBefore:\r\n```\r\nError getting table \"counts\" values for metric \"dcache_ops_total\" of program \"dcstat\": key \"{ 0x1 \\\"tmux: server\\\" }\" has 3 elements, but we expect 2\r\n```\r\n\r\nAfter:\r\n```\r\nebpf_exporter_dcache_ops_total{command=\"tmux: server\",op=\"refs\"} 2517\r\n```"},"comment":{"url":"https://api.github.com/repos/cloudflare/ebpf_exporter/issues/comments/403868225","html_url":"https://github.com/cloudflare/ebpf_exporter/pull/12#issuecomment-403868225","issue_url":"https://api.github.com/repos/cloudflare/ebpf_exporter/issues/12","id":403868225,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzg2ODIyNQ==","user":{"login":"bobrik","id":89186,"node_id":"MDQ6VXNlcjg5MTg2","avatar_url":"https://avatars0.githubusercontent.com/u/89186?v=4","gravatar_id":"","url":"https://api.github.com/users/bobrik","html_url":"https://github.com/bobrik","followers_url":"https://api.github.com/users/bobrik/followers","following_url":"https://api.github.com/users/bobrik/following{/other_user}","gists_url":"https://api.github.com/users/bobrik/gists{/gist_id}","starred_url":"https://api.github.com/users/bobrik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobrik/subscriptions","organizations_url":"https://api.github.com/users/bobrik/orgs","repos_url":"https://api.github.com/users/bobrik/repos","events_url":"https://api.github.com/users/bobrik/events{/privacy}","received_events_url":"https://api.github.com/users/bobrik/received_events","type":"User","site_admin":false},"created_at":"2018-07-10T15:38:07Z","updated_at":"2018-07-10T15:38:07Z","author_association":"COLLABORATOR","body":"Going with #24 and byte slice decoding instead."}}
{"actor":{"display_login":"bobrik"}}