Azure-docs: TrackAvailability fails to log the custom test results

Created on 8 Mar 2019  Â·  7Comments  Â·  Source: MicrosoftDocs/azure-docs

I used the TrackAvailability API to send the custom results but it fails to send the data even with the correct instrumentation key. Can you please provide some detailed documentation on that


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

application-insightsvc cxp product-issue triaged

All 7 comments

@karthikdevarakonda Thanks for the question! We are investigating and will update you shortly.

Just wanted to follow up on this to check if there is any update?

  • Karthik

@karthikdevarakonda Sorry for not getting back sooner on this. I believe you should be able to see it under Availability Results in Analytics, Search, and Metrics blades.

Here is the screenshot for querying Analytics, for instance:
image

Search:
image

Metrics:
image

Please give it a try and let me know!

@BhargaviAnnadevara-MSFT i did look into the custom results but no luck.

I think i'm missing some config or settings. here are the steps i have tried:

  1. Created a test project
  2. Added appinsights nuget package
  3. Defined the telemetry config with the instrumentation key
  4. Sending a Custom event to track and a custom availability metric to track

But i dont see them on the portal.

@karthikdevarakonda Thanks for the additional info. I shall check this in greater detail and get back to you.

@BhargaviAnnadevara-MSFT it started to work couple of observations:

  • it takes approx 2 - 3 mins to create the log
  • few changes i made to code was i have instantiate the TelemetryConfiguration and pass that as a parameter in Telemetry client.

TelemetryConfiguration config = new TelemetryConfiguration("_iKey_");
TelemetryClient client = new Telemetry(config);

I was passing the ikey as part of telemetryclient context instead it should be instantiated in the telemetryconfiguration.

Thanks for your help.. I'm closing this for now

@karthikdevarakonda Thanks for sharing your findings!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jebeld17 picture jebeld17  Â·  3Comments

bdcoder2 picture bdcoder2  Â·  3Comments

mrdfuse picture mrdfuse  Â·  3Comments

Agazoth picture Agazoth  Â·  3Comments

bityob picture bityob  Â·  3Comments