{"action":"created","issue":{"url":"https://api.github.com/repos/newrelic/node-newrelic/issues/235","repository_url":"https://api.github.com/repos/newrelic/node-newrelic","labels_url":"https://api.github.com/repos/newrelic/node-newrelic/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/newrelic/node-newrelic/issues/235/comments","events_url":"https://api.github.com/repos/newrelic/node-newrelic/issues/235/events","html_url":"https://github.com/newrelic/node-newrelic/pull/235","id":194475994,"number":235,"title":"Include `find` in instrumented MongoDB operations","user":{"login":"sgilroy","id":565213,"avatar_url":"https://avatars.githubusercontent.com/u/565213?v=3","gravatar_id":"","url":"https://api.github.com/users/sgilroy","html_url":"https://github.com/sgilroy","followers_url":"https://api.github.com/users/sgilroy/followers","following_url":"https://api.github.com/users/sgilroy/following{/other_user}","gists_url":"https://api.github.com/users/sgilroy/gists{/gist_id}","starred_url":"https://api.github.com/users/sgilroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgilroy/subscriptions","organizations_url":"https://api.github.com/users/sgilroy/orgs","repos_url":"https://api.github.com/users/sgilroy/repos","events_url":"https://api.github.com/users/sgilroy/events{/privacy}","received_events_url":"https://api.github.com/users/sgilroy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-08T23:47:12Z","updated_at":"2016-12-12T21:38:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/newrelic/node-newrelic/pulls/235","html_url":"https://github.com/newrelic/node-newrelic/pull/235","diff_url":"https://github.com/newrelic/node-newrelic/pull/235.diff","patch_url":"https://github.com/newrelic/node-newrelic/pull/235.patch"},"body":"I noticed that `find` operations were not showing up in transaction traces and performance breakdowns. Looking at mongodb.js revealed that it was missing. Adding `find` here caused find to show up in the transactions in New Relic. Am I missing something? It seems odd that such a ubiquitous operation as \"find\" would have been omitted. Perhaps we are doing something else wrong/unusual in our app or how we are integrating with New Relic or MongoDB? Note that we are using Mongoose v4.3.7 at the moment.\r\n![image](https://cloud.githubusercontent.com/assets/565213/21032246/39a8fffc-bd76-11e6-80c8-7f57a17fe83a.png)\r\n"},"comment":{"url":"https://api.github.com/repos/newrelic/node-newrelic/issues/comments/266560750","html_url":"https://github.com/newrelic/node-newrelic/pull/235#issuecomment-266560750","issue_url":"https://api.github.com/repos/newrelic/node-newrelic/issues/235","id":266560750,"user":{"login":"lykkin","id":1342804,"avatar_url":"https://avatars.githubusercontent.com/u/1342804?v=3","gravatar_id":"","url":"https://api.github.com/users/lykkin","html_url":"https://github.com/lykkin","followers_url":"https://api.github.com/users/lykkin/followers","following_url":"https://api.github.com/users/lykkin/following{/other_user}","gists_url":"https://api.github.com/users/lykkin/gists{/gist_id}","starred_url":"https://api.github.com/users/lykkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lykkin/subscriptions","organizations_url":"https://api.github.com/users/lykkin/orgs","repos_url":"https://api.github.com/users/lykkin/repos","events_url":"https://api.github.com/users/lykkin/events{/privacy}","received_events_url":"https://api.github.com/users/lykkin/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T21:38:14Z","updated_at":"2016-12-12T21:38:14Z","body":"@sgilroy thanks for the heads up! this wouldn't be the expected behavior, the find call should show up in metrics/traces.  we'll take a look into this and keep you updated."}}
{"actor":{"display_login":"lykkin"}}