{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues/936","repository_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet","labels_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues/936/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues/936/comments","events_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues/936/events","html_url":"https://github.com/Microsoft/ApplicationInsights-dotnet/issues/936","id":366673361,"node_id":"MDU6SXNzdWUzNjY2NzMzNjE=","number":936,"title":"when use GetMetrics().TrackValue(), no metrics are uploaded in azure portal.","user":{"login":"imeya","id":25738099,"node_id":"MDQ6VXNlcjI1NzM4MDk5","avatar_url":"https://avatars1.githubusercontent.com/u/25738099?v=4","gravatar_id":"","url":"https://api.github.com/users/imeya","html_url":"https://github.com/imeya","followers_url":"https://api.github.com/users/imeya/followers","following_url":"https://api.github.com/users/imeya/following{/other_user}","gists_url":"https://api.github.com/users/imeya/gists{/gist_id}","starred_url":"https://api.github.com/users/imeya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imeya/subscriptions","organizations_url":"https://api.github.com/users/imeya/orgs","repos_url":"https://api.github.com/users/imeya/repos","events_url":"https://api.github.com/users/imeya/events{/privacy}","received_events_url":"https://api.github.com/users/imeya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-04T08:19:39Z","updated_at":"2018-10-05T01:32:17Z","closed_at":null,"author_association":"NONE","body":"I have installed appInsights 2.7.2, and when I used this method \r\n`Telemetry_Client.GetMetric(\"test12\").TrackValue(50);` , then I cannot find metric in the azure portal, even in the Analytics -> CustomMetrics, there is no the metric. And in the visual studio output window, I can see this line: Application Insights Telemetry (unconfigured): xxx, what's the meaning of the (unconfigured) here?\r\n\r\nBut If use TrackMetric(), the metric can be found in azure portal as well as in Analytics.\r\n\r\nIs there something I missed for using GetMetric().TrackValue()?\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues/comments/427219588","html_url":"https://github.com/Microsoft/ApplicationInsights-dotnet/issues/936#issuecomment-427219588","issue_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues/936","id":427219588,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzIxOTU4OA==","user":{"login":"imeya","id":25738099,"node_id":"MDQ6VXNlcjI1NzM4MDk5","avatar_url":"https://avatars1.githubusercontent.com/u/25738099?v=4","gravatar_id":"","url":"https://api.github.com/users/imeya","html_url":"https://github.com/imeya","followers_url":"https://api.github.com/users/imeya/followers","following_url":"https://api.github.com/users/imeya/following{/other_user}","gists_url":"https://api.github.com/users/imeya/gists{/gist_id}","starred_url":"https://api.github.com/users/imeya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imeya/subscriptions","organizations_url":"https://api.github.com/users/imeya/orgs","repos_url":"https://api.github.com/users/imeya/repos","events_url":"https://api.github.com/users/imeya/events{/privacy}","received_events_url":"https://api.github.com/users/imeya/received_events","type":"User","site_admin":false},"created_at":"2018-10-05T01:32:17Z","updated_at":"2018-10-05T01:32:17Z","author_association":"NONE","body":"And I found the very tricky thing, if I set the ikey in this code: `TelemetryConfiguration.Active.InstrumentationKey = \"my key\";  ` , it works well and metric can be sent to azure portal. I cannot figure out the difference between the two ways of ikey setting."}}
{"actor":{"display_login":"imeya"}}