{"action":"created","issue":{"url":"https://api.github.com/repos/getsentry/raven-go/issues/111","repository_url":"https://api.github.com/repos/getsentry/raven-go","labels_url":"https://api.github.com/repos/getsentry/raven-go/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/raven-go/issues/111/comments","events_url":"https://api.github.com/repos/getsentry/raven-go/issues/111/events","html_url":"https://github.com/getsentry/raven-go/issues/111","id":186480499,"number":111,"title":"No SetExtraContext function?","user":{"login":"goofansu","id":1143191,"avatar_url":"https://avatars.githubusercontent.com/u/1143191?v=3","gravatar_id":"","url":"https://api.github.com/users/goofansu","html_url":"https://github.com/goofansu","followers_url":"https://api.github.com/users/goofansu/followers","following_url":"https://api.github.com/users/goofansu/following{/other_user}","gists_url":"https://api.github.com/users/goofansu/gists{/gist_id}","starred_url":"https://api.github.com/users/goofansu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goofansu/subscriptions","organizations_url":"https://api.github.com/users/goofansu/orgs","repos_url":"https://api.github.com/users/goofansu/repos","events_url":"https://api.github.com/users/goofansu/events{/privacy}","received_events_url":"https://api.github.com/users/goofansu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-01T08:16:14Z","updated_at":"2016-12-05T17:51:06Z","closed_at":null,"body":"How can I set extra content described in https://docs.sentry.io/learn/context/#extra-context ?"},"comment":{"url":"https://api.github.com/repos/getsentry/raven-go/issues/comments/264924817","html_url":"https://github.com/getsentry/raven-go/issues/111#issuecomment-264924817","issue_url":"https://api.github.com/repos/getsentry/raven-go/issues/111","id":264924817,"user":{"login":"adriancooney","id":621110,"avatar_url":"https://avatars.githubusercontent.com/u/621110?v=3","gravatar_id":"","url":"https://api.github.com/users/adriancooney","html_url":"https://github.com/adriancooney","followers_url":"https://api.github.com/users/adriancooney/followers","following_url":"https://api.github.com/users/adriancooney/following{/other_user}","gists_url":"https://api.github.com/users/adriancooney/gists{/gist_id}","starred_url":"https://api.github.com/users/adriancooney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriancooney/subscriptions","organizations_url":"https://api.github.com/users/adriancooney/orgs","repos_url":"https://api.github.com/users/adriancooney/repos","events_url":"https://api.github.com/users/adriancooney/events{/privacy}","received_events_url":"https://api.github.com/users/adriancooney/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T17:51:06Z","updated_at":"2016-12-05T17:51:06Z","body":"You can't, it's hard coded: https://github.com/getsentry/raven-go/blob/master/client.go#L163-L175\r\n\r\n```go\r\n// NewPacket constructs a packet with the specified message and interfaces.\r\nfunc NewPacket(message string, interfaces ...Interface) *Packet {\r\n\textra := map[string]interface{}{\r\n\t\t\"runtime.Version\":      runtime.Version(),\r\n\t\t\"runtime.NumCPU\":       runtime.NumCPU(),\r\n\t\t\"runtime.GOMAXPROCS\":   runtime.GOMAXPROCS(0), // 0 just returns the current value\r\n\t\t\"runtime.NumGoroutine\": runtime.NumGoroutine(),\r\n\t}\r\n\treturn &Packet{\r\n\t\tMessage:    message,\r\n\t\tInterfaces: interfaces,\r\n\t\tExtra:      extra,\r\n\t}\r\n}\r\n```\r\n\r\nI'd like this feature too. For now, we're sending the variable data as tags which isn't actually ideal."}}
{"actor":{"display_login":"adriancooney"}}