{"action":"closed","issue":{"url":"https://api.github.com/repos/Azure/azure-cli/issues/4842","repository_url":"https://api.github.com/repos/Azure/azure-cli","labels_url":"https://api.github.com/repos/Azure/azure-cli/issues/4842/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-cli/issues/4842/comments","events_url":"https://api.github.com/repos/Azure/azure-cli/issues/4842/events","html_url":"https://github.com/Azure/azure-cli/issues/4842","id":271726812,"node_id":"MDU6SXNzdWUyNzE3MjY4MTI=","number":4842,"title":"Provider Microsoft.DBforMySQL Broken","user":{"login":"dazdaz","id":1645691,"node_id":"MDQ6VXNlcjE2NDU2OTE=","avatar_url":"https://avatars2.githubusercontent.com/u/1645691?v=4","gravatar_id":"","url":"https://api.github.com/users/dazdaz","html_url":"https://github.com/dazdaz","followers_url":"https://api.github.com/users/dazdaz/followers","following_url":"https://api.github.com/users/dazdaz/following{/other_user}","gists_url":"https://api.github.com/users/dazdaz/gists{/gist_id}","starred_url":"https://api.github.com/users/dazdaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dazdaz/subscriptions","organizations_url":"https://api.github.com/users/dazdaz/orgs","repos_url":"https://api.github.com/users/dazdaz/repos","events_url":"https://api.github.com/users/dazdaz/events{/privacy}","received_events_url":"https://api.github.com/users/dazdaz/received_events","type":"User","site_admin":false},"labels":[{"id":530074783,"node_id":"MDU6TGFiZWw1MzAwNzQ3ODM=","url":"https://api.github.com/repos/Azure/azure-cli/labels/Monitor-cli","name":"Monitor-cli","color":"d4c5f9","default":false},{"id":321247994,"node_id":"MDU6TGFiZWwzMjEyNDc5OTQ=","url":"https://api.github.com/repos/Azure/azure-cli/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"tjprescott","id":5723682,"node_id":"MDQ6VXNlcjU3MjM2ODI=","avatar_url":"https://avatars2.githubusercontent.com/u/5723682?v=4","gravatar_id":"","url":"https://api.github.com/users/tjprescott","html_url":"https://github.com/tjprescott","followers_url":"https://api.github.com/users/tjprescott/followers","following_url":"https://api.github.com/users/tjprescott/following{/other_user}","gists_url":"https://api.github.com/users/tjprescott/gists{/gist_id}","starred_url":"https://api.github.com/users/tjprescott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjprescott/subscriptions","organizations_url":"https://api.github.com/users/tjprescott/orgs","repos_url":"https://api.github.com/users/tjprescott/repos","events_url":"https://api.github.com/users/tjprescott/events{/privacy}","received_events_url":"https://api.github.com/users/tjprescott/received_events","type":"User","site_admin":false},"assignees":[{"login":"tjprescott","id":5723682,"node_id":"MDQ6VXNlcjU3MjM2ODI=","avatar_url":"https://avatars2.githubusercontent.com/u/5723682?v=4","gravatar_id":"","url":"https://api.github.com/users/tjprescott","html_url":"https://github.com/tjprescott","followers_url":"https://api.github.com/users/tjprescott/followers","following_url":"https://api.github.com/users/tjprescott/following{/other_user}","gists_url":"https://api.github.com/users/tjprescott/gists{/gist_id}","starred_url":"https://api.github.com/users/tjprescott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjprescott/subscriptions","organizations_url":"https://api.github.com/users/tjprescott/orgs","repos_url":"https://api.github.com/users/tjprescott/repos","events_url":"https://api.github.com/users/tjprescott/events{/privacy}","received_events_url":"https://api.github.com/users/tjprescott/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Azure/azure-cli/milestones/49","html_url":"https://github.com/Azure/azure-cli/milestone/49","labels_url":"https://api.github.com/repos/Azure/azure-cli/milestones/49/labels","id":3710028,"node_id":"MDk6TWlsZXN0b25lMzcxMDAyOA==","number":49,"title":"Sprint 47","description":"Code complete: 10/17/2018.\r\nBuild handed to Cloud Shell: 10/19/2018.\r\nOfficial release: 10/23/2018.","creator":{"login":"tjprescott","id":5723682,"node_id":"MDQ6VXNlcjU3MjM2ODI=","avatar_url":"https://avatars2.githubusercontent.com/u/5723682?v=4","gravatar_id":"","url":"https://api.github.com/users/tjprescott","html_url":"https://github.com/tjprescott","followers_url":"https://api.github.com/users/tjprescott/followers","following_url":"https://api.github.com/users/tjprescott/following{/other_user}","gists_url":"https://api.github.com/users/tjprescott/gists{/gist_id}","starred_url":"https://api.github.com/users/tjprescott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjprescott/subscriptions","organizations_url":"https://api.github.com/users/tjprescott/orgs","repos_url":"https://api.github.com/users/tjprescott/repos","events_url":"https://api.github.com/users/tjprescott/events{/privacy}","received_events_url":"https://api.github.com/users/tjprescott/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":8,"state":"open","created_at":"2018-10-03T17:40:22Z","updated_at":"2018-10-08T18:28:25Z","due_on":"2018-10-17T07:00:00Z","closed_at":null},"comments":2,"created_at":"2017-11-07T06:48:41Z","updated_at":"2018-10-08T18:28:25Z","closed_at":"2018-10-08T18:28:25Z","author_association":"NONE","body":"Azure CLI 2.0.20 executed on Ubuntu 17.04 is not reporting monitoring stats on the Azure Managed MySQL Service.\r\n\r\nI've created a database and content, and yet it reports [] and not the result.  By using the portal, I can see that storage is consumed.\r\n\r\nIs the REST API broken, or is my command wrong ?\r\n\r\n$ az monitor metrics list-definitions --resource \"/subscriptions/\\<Subscription ID>/resourceGroups/\\<Resource Group Name>/providers/Microsoft.DBforMySQL/servers/\\<Name of MySQL Database>\" --metric-names \"cpu_percent\"\r\n[]\r\n\r\n$ az monitor metrics list-definitions --resource \"/subscriptions/\\<Subscription ID>/resourceGroups/\\<Resource Group Name>/providers/Microsoft.DBforMySQL/servers/\\<Name of MySQL Database>\" --metric-names \"storage_percent\"\r\n[]\r\n"}}
{"actor":{"display_login":"tjprescott"}}