2
votes

I'm using a TelemetryClient class to send different types of telemetry (from my WPF app), but I have a problem with MetricTelemetry... all other types of telemetry work fine, but my MetricTelemetry custom data doesn't appear in the Metric Browser - Custom...

I call for example telemetryClient.TrackMetric("MyMetric", 1), then go to the Azure portal, but custom metrics still contains only "Azure Diag issues" field

2
You might want to use Fiddler and check if data is actually accepted. If you see 206 response code check response content.Anastasia Black
I found the metrics as described herenicolocodev

2 Answers

0
votes

I had the same issue. For me, it helped doing two things:

  • Call Flush() on the telemtryClient after sending the message
  • Logged in to Azure using inccognito mode, to away cached items
-1
votes

Dominik, does the problem still exist? Sometimes you might see a ~5-10 mins delay in time between you run the code to track metric and the metric shows up in the portal.