{"action":"created","comment":{"url":"https://api.github.com/repos/liadtal/Smart-Alerts/pulls/comments/172347589","pull_request_review_id":101349680,"id":172347589,"diff_hunk":"@@ -0,0 +1,33 @@\n+﻿//-----------------------------------------------------------------------\n+// <copyright file=\"MdmQueryResult.cs\" company=\"Microsoft Corporation\">\n+//        Copyright (c) Microsoft Corporation.  All rights reserved.\n+// </copyright>\n+//-----------------------------------------------------------------------\n+\n+namespace Microsoft.Azure.Monitoring.SmartSignals.Mdm\n+{\n+    using System.Collections.Generic;\n+\n+    /// <summary>\n+    /// An object which represents an MDM query result for a single metric.\n+    /// </summary>\n+    public class MdmQueryResult\n+    {\n+        /// <summary>\n+        /// Gets or sets the metric's name\n+        /// </summary>\n+        public string Name { get; set; }\n+\n+        /// <summary>\n+        /// Gets or sets the metric's value unit (Seconds, bytes, etc.)\n+        /// </summary>\n+        public string Unit { get; set; }\n+\n+        /// <summary>\n+        /// Gets or sets the metric's time series.\n+        /// A timeseries is created per dimension value, if a filter by dimension's value is set\n+        /// E.g., if we set <c>filter = \"ApiName eq 'PutMessage' or ApiName eq 'GetMessages'\"</c>, the result will contain 2 time series.\n+        /// </summary>\n+        public IList<MetricTimeSeries> Timeseries { get; set; }","path":"src/SDK/SmartSignalsSDK/Mdm/MdmQueryResult.cs","position":31,"original_position":31,"commit_id":"bbbfc55c053d38528c4036495fcfd781eb192887","original_commit_id":"bbbfc55c053d38528c4036495fcfd781eb192887","user":{"login":"yanivid3","id":4148389,"avatar_url":"https://avatars3.githubusercontent.com/u/4148389?v=4","gravatar_id":"","url":"https://api.github.com/users/yanivid3","html_url":"https://github.com/yanivid3","followers_url":"https://api.github.com/users/yanivid3/followers","following_url":"https://api.github.com/users/yanivid3/following{/other_user}","gists_url":"https://api.github.com/users/yanivid3/gists{/gist_id}","starred_url":"https://api.github.com/users/yanivid3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanivid3/subscriptions","organizations_url":"https://api.github.com/users/yanivid3/orgs","repos_url":"https://api.github.com/users/yanivid3/repos","events_url":"https://api.github.com/users/yanivid3/events{/privacy}","received_events_url":"https://api.github.com/users/yanivid3/received_events","type":"User","site_admin":false},"body":"See other comment\r\n\r\n---\r\nIn reply to: [172127663](https://github.com/liadtal/Smart-Alerts/pull/90#discussion_r172127663) [](ancestors = 172127663)","created_at":"2018-03-05T22:15:45Z","updated_at":"2018-03-05T22:15:46Z","html_url":"https://github.com/liadtal/Smart-Alerts/pull/90#discussion_r172347589","pull_request_url":"https://api.github.com/repos/liadtal/Smart-Alerts/pulls/90","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/liadtal/Smart-Alerts/pulls/comments/172347589"},"html":{"href":"https://github.com/liadtal/Smart-Alerts/pull/90#discussion_r172347589"},"pull_request":{"href":"https://api.github.com/repos/liadtal/Smart-Alerts/pulls/90"}},"in_reply_to_id":172127663},"pull_request":{"url":"https://api.github.com/repos/liadtal/Smart-Alerts/pulls/90","id":172109838,"html_url":"https://github.com/liadtal/Smart-Alerts/pull/90","diff_url":"https://github.com/liadtal/Smart-Alerts/pull/90.diff","patch_url":"https://github.com/liadtal/Smart-Alerts/pull/90.patch","issue_url":"https://api.github.com/repos/liadtal/Smart-Alerts/issues/90","number":90,"state":"open","locked":false,"title":"Added Mdm Client","user":{"login":"yanivid3","id":4148389,"avatar_url":"https://avatars3.githubusercontent.com/u/4148389?v=4","gravatar_id":"","url":"https://api.github.com/users/yanivid3","html_url":"https://github.com/yanivid3","followers_url":"https://api.github.com/users/yanivid3/followers","following_url":"https://api.github.com/users/yanivid3/following{/other_user}","gists_url":"https://api.github.com/users/yanivid3/gists{/gist_id}","starred_url":"https://api.github.com/users/yanivid3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanivid3/subscriptions","organizations_url":"https://api.github.com/users/yanivid3/orgs","repos_url":"https://api.github.com/users/yanivid3/repos","events_url":"https://api.github.com/users/yanivid3/events{/privacy}","received_events_url":"https://api.github.com/users/yanivid3/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-01T00:07:53Z","updated_at":"2018-03-05T22:15:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ebe0a22b023d6727ffa2e940db47f1df8654a98e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/liadtal/Smart-Alerts/pulls/90/commits","review_comments_url":"https://api.github.com/repos/liadtal/Smart-Alerts/pulls/90/comments","review_comment_url":"https://api.github.com/repos/liadtal/Smart-Alerts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/liadtal/Smart-Alerts/issues/90/comments","statuses_url":"https://api.github.com/repos/liadtal/Smart-Alerts/statuses/bbbfc55c053d38528c4036495fcfd781eb192887","head":{"label":"liadtal:yanivy/features/mdm_client","ref":"yanivy/features/mdm_client","sha":"bbbfc55c053d38528c4036495fcfd781eb192887","user":{"login":"liadtal","id":7619665,"avatar_url":"https://avatars0.githubusercontent.com/u/7619665?v=4","gravatar_id":"","url":"https://api.github.com/users/liadtal","html_url":"https://github.com/liadtal","followers_url":"https://api.github.com/users/liadtal/followers","following_url":"https://api.github.com/users/liadtal/following{/other_user}","gists_url":"https://api.github.com/users/liadtal/gists{/gist_id}","starred_url":"https://api.github.com/users/liadtal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liadtal/subscriptions","organizations_url":"https://api.github.com/users/liadtal/orgs","repos_url":"https://api.github.com/users/liadtal/repos","events_url":"https://api.github.com/users/liadtal/events{/privacy}","received_events_url":"https://api.github.com/users/liadtal/received_events","type":"User","site_admin":false},"repo":{"id":112164565,"name":"Smart-Alerts","full_name":"liadtal/Smart-Alerts","owner":{"login":"liadtal","id":7619665,"avatar_url":"https://avatars0.githubusercontent.com/u/7619665?v=4","gravatar_id":"","url":"https://api.github.com/users/liadtal","html_url":"https://github.com/liadtal","followers_url":"https://api.github.com/users/liadtal/followers","following_url":"https://api.github.com/users/liadtal/following{/other_user}","gists_url":"https://api.github.com/users/liadtal/gists{/gist_id}","starred_url":"https://api.github.com/users/liadtal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liadtal/subscriptions","organizations_url":"https://api.github.com/users/liadtal/orgs","repos_url":"https://api.github.com/users/liadtal/repos","events_url":"https://api.github.com/users/liadtal/events{/privacy}","received_events_url":"https://api.github.com/users/liadtal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/liadtal/Smart-Alerts","description":"Have the ability to create custom detectors / on-board existing which works against the Azure Log Analytics","fork":false,"url":"https://api.github.com/repos/liadtal/Smart-Alerts","forks_url":"https://api.github.com/repos/liadtal/Smart-Alerts/forks","keys_url":"https://api.github.com/repos/liadtal/Smart-Alerts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/liadtal/Smart-Alerts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/liadtal/Smart-Alerts/teams","hooks_url":"https://api.github.com/repos/liadtal/Smart-Alerts/hooks","issue_events_url":"https://api.github.com/repos/liadtal/Smart-Alerts/issues/events{/number}","events_url":"https://api.github.com/repos/liadtal/Smart-Alerts/events","assignees_url":"https://api.github.com/repos/liadtal/Smart-Alerts/assignees{/user}","branches_url":"https://api.github.com/repos/liadtal/Smart-Alerts/branches{/branch}","tags_url":"https://api.github.com/repos/liadtal/Smart-Alerts/tags","blobs_url":"https://api.github.com/repos/liadtal/Smart-Alerts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/liadtal/Smart-Alerts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/liadtal/Smart-Alerts/git/refs{/sha}","trees_url":"https://api.github.com/repos/liadtal/Smart-Alerts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/liadtal/Smart-Alerts/statuses/{sha}","languages_url":"https://api.github.com/repos/liadtal/Smart-Alerts/languages","stargazers_url":"https://api.github.com/repos/liadtal/Smart-Alerts/stargazers","contributors_url":"https://api.github.com/repos/liadtal/Smart-Alerts/contributors","subscribers_url":"https://api.github.com/repos/liadtal/Smart-Alerts/subscribers","subscription_url":"https://api.github.com/repos/liadtal/Smart-Alerts/subscription","commits_url":"https://api.github.com/repos/liadtal/Smart-Alerts/commits{/sha}","git_commits_url":"https://api.github.com/repos/liadtal/Smart-Alerts/git/commits{/sha}","comments_url":"https://api.github.com/repos/liadtal/Smart-Alerts/comments{/number}","issue_comment_url":"https://api.github.com/repos/liadtal/Smart-Alerts/issues/comments{/number}","contents_url":"https://api.github.com/repos/liadtal/Smart-Alerts/contents/{+path}","compare_url":"https://api.github.com/repos/liadtal/Smart-Alerts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/liadtal/Smart-Alerts/merges","archive_url":"https://api.github.com/repos/liadtal/Smart-Alerts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/liadtal/Smart-Alerts/downloads","issues_url":"https://api.github.com/repos/liadtal/Smart-Alerts/issues{/number}","pulls_url":"https://api.github.com/repos/liadtal/Smart-Alerts/pulls{/number}","milestones_url":"https://api.github.com/repos/liadtal/Smart-Alerts/milestones{/number}","notifications_url":"https://api.github.com/repos/liadtal/Smart-Alerts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/liadtal/Smart-Alerts/labels{/name}","releases_url":"https://api.github.com/repos/liadtal/Smart-Alerts/releases{/id}","deployments_url":"https://api.github.com/repos/liadtal/Smart-Alerts/deployments","created_at":"2017-11-27T07:48:01Z","updated_at":"2018-01-29T09:06:41Z","pushed_at":"2018-03-05T16:07:02Z","git_url":"git://github.com/liadtal/Smart-Alerts.git","ssh_url":"git@github.com:liadtal/Smart-Alerts.git","clone_url":"https://github.com/liadtal/Smart-Alerts.git","svn_url":"https://github.com/liadtal/Smart-Alerts","homepage":null,"size":1626,"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":1,"mirror_url":null,"archived":false,"open_issues_count":7,"license":null,"forks":1,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"liadtal:master","ref":"master","sha":"b2d1e329e9f51651ff30f995703e262b3f65ca34","user":{"login":"liadtal","id":7619665,"avatar_url":"https://avatars0.githubusercontent.com/u/7619665?v=4","gravatar_id":"","url":"https://api.github.com/users/liadtal","html_url":"https://github.com/liadtal","followers_url":"https://api.github.com/users/liadtal/followers","following_url":"https://api.github.com/users/liadtal/following{/other_user}","gists_url":"https://api.github.com/users/liadtal/gists{/gist_id}","starred_url":"https://api.github.com/users/liadtal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liadtal/subscriptions","organizations_url":"https://api.github.com/users/liadtal/orgs","repos_url":"https://api.github.com/users/liadtal/repos","events_url":"https://api.github.com/users/liadtal/events{/privacy}","received_events_url":"https://api.github.com/users/liadtal/received_events","type":"User","site_admin":false},"repo":{"id":112164565,"name":"Smart-Alerts","full_name":"liadtal/Smart-Alerts","owner":{"login":"liadtal","id":7619665,"avatar_url":"https://avatars0.githubusercontent.com/u/7619665?v=4","gravatar_id":"","url":"https://api.github.com/users/liadtal","html_url":"https://github.com/liadtal","followers_url":"https://api.github.com/users/liadtal/followers","following_url":"https://api.github.com/users/liadtal/following{/other_user}","gists_url":"https://api.github.com/users/liadtal/gists{/gist_id}","starred_url":"https://api.github.com/users/liadtal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liadtal/subscriptions","organizations_url":"https://api.github.com/users/liadtal/orgs","repos_url":"https://api.github.com/users/liadtal/repos","events_url":"https://api.github.com/users/liadtal/events{/privacy}","received_events_url":"https://api.github.com/users/liadtal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/liadtal/Smart-Alerts","description":"Have the ability to create custom detectors / on-board existing which works against the Azure Log Analytics","fork":false,"url":"https://api.github.com/repos/liadtal/Smart-Alerts","forks_url":"https://api.github.com/repos/liadtal/Smart-Alerts/forks","keys_url":"https://api.github.com/repos/liadtal/Smart-Alerts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/liadtal/Smart-Alerts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/liadtal/Smart-Alerts/teams","hooks_url":"https://api.github.com/repos/liadtal/Smart-Alerts/hooks","issue_events_url":"https://api.github.com/repos/liadtal/Smart-Alerts/issues/events{/number}","events_url":"https://api.github.com/repos/liadtal/Smart-Alerts/events","assignees_url":"https://api.github.com/repos/liadtal/Smart-Alerts/assignees{/user}","branches_url":"https://api.github.com/repos/liadtal/Smart-Alerts/branches{/branch}","tags_url":"https://api.github.com/repos/liadtal/Smart-Alerts/tags","blobs_url":"https://api.github.com/repos/liadtal/Smart-Alerts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/liadtal/Smart-Alerts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/liadtal/Smart-Alerts/git/refs{/sha}","trees_url":"https://api.github.com/repos/liadtal/Smart-Alerts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/liadtal/Smart-Alerts/statuses/{sha}","languages_url":"https://api.github.com/repos/liadtal/Smart-Alerts/languages","stargazers_url":"https://api.github.com/repos/liadtal/Smart-Alerts/stargazers","contributors_url":"https://api.github.com/repos/liadtal/Smart-Alerts/contributors","subscribers_url":"https://api.github.com/repos/liadtal/Smart-Alerts/subscribers","subscription_url":"https://api.github.com/repos/liadtal/Smart-Alerts/subscription","commits_url":"https://api.github.com/repos/liadtal/Smart-Alerts/commits{/sha}","git_commits_url":"https://api.github.com/repos/liadtal/Smart-Alerts/git/commits{/sha}","comments_url":"https://api.github.com/repos/liadtal/Smart-Alerts/comments{/number}","issue_comment_url":"https://api.github.com/repos/liadtal/Smart-Alerts/issues/comments{/number}","contents_url":"https://api.github.com/repos/liadtal/Smart-Alerts/contents/{+path}","compare_url":"https://api.github.com/repos/liadtal/Smart-Alerts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/liadtal/Smart-Alerts/merges","archive_url":"https://api.github.com/repos/liadtal/Smart-Alerts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/liadtal/Smart-Alerts/downloads","issues_url":"https://api.github.com/repos/liadtal/Smart-Alerts/issues{/number}","pulls_url":"https://api.github.com/repos/liadtal/Smart-Alerts/pulls{/number}","milestones_url":"https://api.github.com/repos/liadtal/Smart-Alerts/milestones{/number}","notifications_url":"https://api.github.com/repos/liadtal/Smart-Alerts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/liadtal/Smart-Alerts/labels{/name}","releases_url":"https://api.github.com/repos/liadtal/Smart-Alerts/releases{/id}","deployments_url":"https://api.github.com/repos/liadtal/Smart-Alerts/deployments","created_at":"2017-11-27T07:48:01Z","updated_at":"2018-01-29T09:06:41Z","pushed_at":"2018-03-05T16:07:02Z","git_url":"git://github.com/liadtal/Smart-Alerts.git","ssh_url":"git@github.com:liadtal/Smart-Alerts.git","clone_url":"https://github.com/liadtal/Smart-Alerts.git","svn_url":"https://github.com/liadtal/Smart-Alerts","homepage":null,"size":1626,"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":1,"mirror_url":null,"archived":false,"open_issues_count":7,"license":null,"forks":1,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/liadtal/Smart-Alerts/pulls/90"},"html":{"href":"https://github.com/liadtal/Smart-Alerts/pull/90"},"issue":{"href":"https://api.github.com/repos/liadtal/Smart-Alerts/issues/90"},"comments":{"href":"https://api.github.com/repos/liadtal/Smart-Alerts/issues/90/comments"},"review_comments":{"href":"https://api.github.com/repos/liadtal/Smart-Alerts/pulls/90/comments"},"review_comment":{"href":"https://api.github.com/repos/liadtal/Smart-Alerts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/liadtal/Smart-Alerts/pulls/90/commits"},"statuses":{"href":"https://api.github.com/repos/liadtal/Smart-Alerts/statuses/bbbfc55c053d38528c4036495fcfd781eb192887"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"yanivid3"}}