{"action":"created","issue":{"url":"https://api.github.com/repos/ekino/EkinoNewRelicBundle/issues/111","repository_url":"https://api.github.com/repos/ekino/EkinoNewRelicBundle","labels_url":"https://api.github.com/repos/ekino/EkinoNewRelicBundle/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/ekino/EkinoNewRelicBundle/issues/111/comments","events_url":"https://api.github.com/repos/ekino/EkinoNewRelicBundle/issues/111/events","html_url":"https://github.com/ekino/EkinoNewRelicBundle/pull/111","id":168527691,"number":111,"title":"Inserting custom events via New Relic agent","user":{"login":"mcrumm","id":168677,"avatar_url":"https://avatars0.githubusercontent.com/u/168677?v=4","gravatar_id":"","url":"https://api.github.com/users/mcrumm","html_url":"https://github.com/mcrumm","followers_url":"https://api.github.com/users/mcrumm/followers","following_url":"https://api.github.com/users/mcrumm/following{/other_user}","gists_url":"https://api.github.com/users/mcrumm/gists{/gist_id}","starred_url":"https://api.github.com/users/mcrumm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcrumm/subscriptions","organizations_url":"https://api.github.com/users/mcrumm/orgs","repos_url":"https://api.github.com/users/mcrumm/repos","events_url":"https://api.github.com/users/mcrumm/events{/privacy}","received_events_url":"https://api.github.com/users/mcrumm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ekino/EkinoNewRelicBundle/milestones/1","html_url":"https://github.com/ekino/EkinoNewRelicBundle/milestone/1","labels_url":"https://api.github.com/repos/ekino/EkinoNewRelicBundle/milestones/1/labels","id":3193563,"number":1,"title":"2.0.0","description":"","creator":{"login":"Nyholm","id":1275206,"avatar_url":"https://avatars2.githubusercontent.com/u/1275206?v=4","gravatar_id":"","url":"https://api.github.com/users/Nyholm","html_url":"https://github.com/Nyholm","followers_url":"https://api.github.com/users/Nyholm/followers","following_url":"https://api.github.com/users/Nyholm/following{/other_user}","gists_url":"https://api.github.com/users/Nyholm/gists{/gist_id}","starred_url":"https://api.github.com/users/Nyholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nyholm/subscriptions","organizations_url":"https://api.github.com/users/Nyholm/orgs","repos_url":"https://api.github.com/users/Nyholm/repos","events_url":"https://api.github.com/users/Nyholm/events{/privacy}","received_events_url":"https://api.github.com/users/Nyholm/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":3,"state":"open","created_at":"2018-03-16T15:22:24Z","updated_at":"2018-03-17T08:41:16Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-07-31T17:09:49Z","updated_at":"2018-03-17T08:41:52Z","closed_at":"2018-03-17T08:41:16Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ekino/EkinoNewRelicBundle/pulls/111","html_url":"https://github.com/ekino/EkinoNewRelicBundle/pull/111","diff_url":"https://github.com/ekino/EkinoNewRelicBundle/pull/111.diff","patch_url":"https://github.com/ekino/EkinoNewRelicBundle/pull/111.patch"},"body":"PR to implement [inserting custom events via New Relic APM agent](https://docs.newrelic.com/docs/insights/new-relic-insights/adding-querying-data/inserting-custom-events-new-relic-apm-agents).\n\n> Note: `newrelic_record_custom_event()` is available via the PHP agent as of v4.18.\n\nIn order to allow for multiple custom events with the same name in a single transaction, the custom events are stored on the `NewRelic` object as a multi-dimensional array, where the top-level array keys are the event names, and the nested arrays are the individual event attributes.\n\nThis differs slightly from the format used when sending custom events through the [Insights API](https://docs.newrelic.com/docs/insights/new-relic-insights/adding-querying-data/insert-custom-events-insights-api#json-format), but aligns with the existing functionality for adding custom metrics and parameters.\n"},"comment":{"url":"https://api.github.com/repos/ekino/EkinoNewRelicBundle/issues/comments/373904288","html_url":"https://github.com/ekino/EkinoNewRelicBundle/pull/111#issuecomment-373904288","issue_url":"https://api.github.com/repos/ekino/EkinoNewRelicBundle/issues/111","id":373904288,"user":{"login":"Nyholm","id":1275206,"avatar_url":"https://avatars2.githubusercontent.com/u/1275206?v=4","gravatar_id":"","url":"https://api.github.com/users/Nyholm","html_url":"https://github.com/Nyholm","followers_url":"https://api.github.com/users/Nyholm/followers","following_url":"https://api.github.com/users/Nyholm/following{/other_user}","gists_url":"https://api.github.com/users/Nyholm/gists{/gist_id}","starred_url":"https://api.github.com/users/Nyholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nyholm/subscriptions","organizations_url":"https://api.github.com/users/Nyholm/orgs","repos_url":"https://api.github.com/users/Nyholm/repos","events_url":"https://api.github.com/users/Nyholm/events{/privacy}","received_events_url":"https://api.github.com/users/Nyholm/received_events","type":"User","site_admin":false},"created_at":"2018-03-17T08:41:52Z","updated_at":"2018-03-17T08:41:52Z","author_association":"COLLABORATOR","body":"I like this. Since we are doing 2.0.0 there is no issues in adding methods to the interface. \r\n\r\nThank you!"}}
{"actor":{"display_login":"Nyholm"}}