{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure-functions-host/pulls/comments/185569788","pull_request_review_id":116986063,"id":185569788,"diff_hunk":"@@ -0,0 +1,106 @@\n+﻿// Copyright (c) .NET Foundation. All rights reserved.\n+// Licensed under the MIT License. See License.txt in the project root for license information.\n+\n+using System;\n+using Microsoft.Azure.WebJobs.Logging;\n+using Microsoft.Azure.WebJobs.Script.Config;\n+using Microsoft.Extensions.Logging;\n+using Newtonsoft.Json;\n+\n+namespace Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics\n+{\n+    public class DiagnosticLogger : ILogger","path":"src/WebJobs.Script.WebHost/Diagnostics/DiagnosticLogger.cs","position":12,"original_position":12,"commit_id":"b3eb892c6325d9a3cd06e0eb4492a9830259b890","original_commit_id":"b3eb892c6325d9a3cd06e0eb4492a9830259b890","user":{"login":"pragnagopa","id":1874279,"avatar_url":"https://avatars0.githubusercontent.com/u/1874279?v=4","gravatar_id":"","url":"https://api.github.com/users/pragnagopa","html_url":"https://github.com/pragnagopa","followers_url":"https://api.github.com/users/pragnagopa/followers","following_url":"https://api.github.com/users/pragnagopa/following{/other_user}","gists_url":"https://api.github.com/users/pragnagopa/gists{/gist_id}","starred_url":"https://api.github.com/users/pragnagopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pragnagopa/subscriptions","organizations_url":"https://api.github.com/users/pragnagopa/orgs","repos_url":"https://api.github.com/users/pragnagopa/repos","events_url":"https://api.github.com/users/pragnagopa/events{/privacy}","received_events_url":"https://api.github.com/users/pragnagopa/received_events","type":"User","site_admin":false},"body":"Name Diagnostic seems general. Rename to Monitoring?","created_at":"2018-05-02T17:07:57Z","updated_at":"2018-05-02T17:07:58Z","html_url":"https://github.com/Azure/azure-functions-host/pull/2630#discussion_r185569788","pull_request_url":"https://api.github.com/repos/Azure/azure-functions-host/pulls/2630","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-functions-host/pulls/comments/185569788"},"html":{"href":"https://github.com/Azure/azure-functions-host/pull/2630#discussion_r185569788"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure-functions-host/pulls/2630"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure-functions-host/pulls/2630","id":179668264,"html_url":"https://github.com/Azure/azure-functions-host/pull/2630","diff_url":"https://github.com/Azure/azure-functions-host/pull/2630.diff","patch_url":"https://github.com/Azure/azure-functions-host/pull/2630.patch","issue_url":"https://api.github.com/repos/Azure/azure-functions-host/issues/2630","number":2630,"state":"open","locked":false,"title":"adding DiagnosticLogger for Azure Monitor","user":{"login":"brettsam","id":1089915,"avatar_url":"https://avatars2.githubusercontent.com/u/1089915?v=4","gravatar_id":"","url":"https://api.github.com/users/brettsam","html_url":"https://github.com/brettsam","followers_url":"https://api.github.com/users/brettsam/followers","following_url":"https://api.github.com/users/brettsam/following{/other_user}","gists_url":"https://api.github.com/users/brettsam/gists{/gist_id}","starred_url":"https://api.github.com/users/brettsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettsam/subscriptions","organizations_url":"https://api.github.com/users/brettsam/orgs","repos_url":"https://api.github.com/users/brettsam/repos","events_url":"https://api.github.com/users/brettsam/events{/privacy}","received_events_url":"https://api.github.com/users/brettsam/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-05T12:59:45Z","updated_at":"2018-05-02T17:07:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a04e3273c9abbc0a43478ac40817bb1154386379","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-functions-host/pulls/2630/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-functions-host/pulls/2630/comments","review_comment_url":"https://api.github.com/repos/Azure/azure-functions-host/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/azure-functions-host/issues/2630/comments","statuses_url":"https://api.github.com/repos/Azure/azure-functions-host/statuses/b3eb892c6325d9a3cd06e0eb4492a9830259b890","head":{"label":"brettsam:diagnostics_v2","ref":"diagnostics_v2","sha":"b3eb892c6325d9a3cd06e0eb4492a9830259b890","user":{"login":"brettsam","id":1089915,"avatar_url":"https://avatars2.githubusercontent.com/u/1089915?v=4","gravatar_id":"","url":"https://api.github.com/users/brettsam","html_url":"https://github.com/brettsam","followers_url":"https://api.github.com/users/brettsam/followers","following_url":"https://api.github.com/users/brettsam/following{/other_user}","gists_url":"https://api.github.com/users/brettsam/gists{/gist_id}","starred_url":"https://api.github.com/users/brettsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettsam/subscriptions","organizations_url":"https://api.github.com/users/brettsam/orgs","repos_url":"https://api.github.com/users/brettsam/repos","events_url":"https://api.github.com/users/brettsam/events{/privacy}","received_events_url":"https://api.github.com/users/brettsam/received_events","type":"User","site_admin":false},"repo":{"id":52999194,"name":"azure-functions-host","full_name":"brettsam/azure-functions-host","owner":{"login":"brettsam","id":1089915,"avatar_url":"https://avatars2.githubusercontent.com/u/1089915?v=4","gravatar_id":"","url":"https://api.github.com/users/brettsam","html_url":"https://github.com/brettsam","followers_url":"https://api.github.com/users/brettsam/followers","following_url":"https://api.github.com/users/brettsam/following{/other_user}","gists_url":"https://api.github.com/users/brettsam/gists{/gist_id}","starred_url":"https://api.github.com/users/brettsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettsam/subscriptions","organizations_url":"https://api.github.com/users/brettsam/orgs","repos_url":"https://api.github.com/users/brettsam/repos","events_url":"https://api.github.com/users/brettsam/events{/privacy}","received_events_url":"https://api.github.com/users/brettsam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brettsam/azure-functions-host","description":"Scripting the Azure WebJobs SDK","fork":true,"url":"https://api.github.com/repos/brettsam/azure-functions-host","forks_url":"https://api.github.com/repos/brettsam/azure-functions-host/forks","keys_url":"https://api.github.com/repos/brettsam/azure-functions-host/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brettsam/azure-functions-host/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brettsam/azure-functions-host/teams","hooks_url":"https://api.github.com/repos/brettsam/azure-functions-host/hooks","issue_events_url":"https://api.github.com/repos/brettsam/azure-functions-host/issues/events{/number}","events_url":"https://api.github.com/repos/brettsam/azure-functions-host/events","assignees_url":"https://api.github.com/repos/brettsam/azure-functions-host/assignees{/user}","branches_url":"https://api.github.com/repos/brettsam/azure-functions-host/branches{/branch}","tags_url":"https://api.github.com/repos/brettsam/azure-functions-host/tags","blobs_url":"https://api.github.com/repos/brettsam/azure-functions-host/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brettsam/azure-functions-host/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brettsam/azure-functions-host/git/refs{/sha}","trees_url":"https://api.github.com/repos/brettsam/azure-functions-host/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brettsam/azure-functions-host/statuses/{sha}","languages_url":"https://api.github.com/repos/brettsam/azure-functions-host/languages","stargazers_url":"https://api.github.com/repos/brettsam/azure-functions-host/stargazers","contributors_url":"https://api.github.com/repos/brettsam/azure-functions-host/contributors","subscribers_url":"https://api.github.com/repos/brettsam/azure-functions-host/subscribers","subscription_url":"https://api.github.com/repos/brettsam/azure-functions-host/subscription","commits_url":"https://api.github.com/repos/brettsam/azure-functions-host/commits{/sha}","git_commits_url":"https://api.github.com/repos/brettsam/azure-functions-host/git/commits{/sha}","comments_url":"https://api.github.com/repos/brettsam/azure-functions-host/comments{/number}","issue_comment_url":"https://api.github.com/repos/brettsam/azure-functions-host/issues/comments{/number}","contents_url":"https://api.github.com/repos/brettsam/azure-functions-host/contents/{+path}","compare_url":"https://api.github.com/repos/brettsam/azure-functions-host/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brettsam/azure-functions-host/merges","archive_url":"https://api.github.com/repos/brettsam/azure-functions-host/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brettsam/azure-functions-host/downloads","issues_url":"https://api.github.com/repos/brettsam/azure-functions-host/issues{/number}","pulls_url":"https://api.github.com/repos/brettsam/azure-functions-host/pulls{/number}","milestones_url":"https://api.github.com/repos/brettsam/azure-functions-host/milestones{/number}","notifications_url":"https://api.github.com/repos/brettsam/azure-functions-host/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brettsam/azure-functions-host/labels{/name}","releases_url":"https://api.github.com/repos/brettsam/azure-functions-host/releases{/id}","deployments_url":"https://api.github.com/repos/brettsam/azure-functions-host/deployments","created_at":"2016-03-02T21:53:44Z","updated_at":"2018-02-22T14:34:45Z","pushed_at":"2018-04-19T21:51:44Z","git_url":"git://github.com/brettsam/azure-functions-host.git","ssh_url":"git@github.com:brettsam/azure-functions-host.git","clone_url":"https://github.com/brettsam/azure-functions-host.git","svn_url":"https://github.com/brettsam/azure-functions-host","homepage":"","size":24198,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"dev"}},"base":{"label":"Azure:dev","ref":"dev","sha":"550ce57e7c6ab22a8353b803613c787d89e1eaa5","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":42548553,"name":"azure-functions-host","full_name":"Azure/azure-functions-host","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/azure-functions-host","description":"The host/runtime that powers Azure Functions","fork":false,"url":"https://api.github.com/repos/Azure/azure-functions-host","forks_url":"https://api.github.com/repos/Azure/azure-functions-host/forks","keys_url":"https://api.github.com/repos/Azure/azure-functions-host/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-functions-host/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-functions-host/teams","hooks_url":"https://api.github.com/repos/Azure/azure-functions-host/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-functions-host/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-functions-host/events","assignees_url":"https://api.github.com/repos/Azure/azure-functions-host/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-functions-host/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-functions-host/tags","blobs_url":"https://api.github.com/repos/Azure/azure-functions-host/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-functions-host/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-functions-host/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-functions-host/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-functions-host/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-functions-host/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-functions-host/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-functions-host/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-functions-host/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-functions-host/subscription","commits_url":"https://api.github.com/repos/Azure/azure-functions-host/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-functions-host/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-functions-host/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-functions-host/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-functions-host/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-functions-host/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-functions-host/merges","archive_url":"https://api.github.com/repos/Azure/azure-functions-host/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-functions-host/downloads","issues_url":"https://api.github.com/repos/Azure/azure-functions-host/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-functions-host/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-functions-host/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-functions-host/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-functions-host/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-functions-host/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure-functions-host/deployments","created_at":"2015-09-15T21:48:19Z","updated_at":"2018-05-02T00:46:35Z","pushed_at":"2018-05-02T01:04:05Z","git_url":"git://github.com/Azure/azure-functions-host.git","ssh_url":"git@github.com:Azure/azure-functions-host.git","clone_url":"https://github.com/Azure/azure-functions-host.git","svn_url":"https://github.com/Azure/azure-functions-host","homepage":"https://functions.azure.com","size":21221,"stargazers_count":431,"watchers_count":431,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":154,"mirror_url":null,"archived":false,"open_issues_count":523,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":154,"open_issues":523,"watchers":431,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-functions-host/pulls/2630"},"html":{"href":"https://github.com/Azure/azure-functions-host/pull/2630"},"issue":{"href":"https://api.github.com/repos/Azure/azure-functions-host/issues/2630"},"comments":{"href":"https://api.github.com/repos/Azure/azure-functions-host/issues/2630/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-functions-host/pulls/2630/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure-functions-host/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure-functions-host/pulls/2630/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-functions-host/statuses/b3eb892c6325d9a3cd06e0eb4492a9830259b890"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"pragnagopa"}}