Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TrackAvailability fails to log the custom test results #26514

Closed
karthikdevarakonda opened this issue Mar 8, 2019 — with docs.microsoft.com · 7 comments
Closed

TrackAvailability fails to log the custom test results #26514

karthikdevarakonda opened this issue Mar 8, 2019 — with docs.microsoft.com · 7 comments

Comments

Copy link

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.

@CHEEKATLAPRADEEP-MSFT-zz
Copy link
Contributor

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

@karthikdevarakonda
Copy link
Author

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

  • Karthik

@BhargaviAnnadevara
Copy link
Contributor

BhargaviAnnadevara commented Mar 12, 2019

@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!

@karthikdevarakonda
Copy link
Author

@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.

@BhargaviAnnadevara
Copy link
Contributor

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

@karthikdevarakonda
Copy link
Author

@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

@BhargaviAnnadevara
Copy link
Contributor

@karthikdevarakonda Thanks for sharing your findings!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants