JohnKoz
JohnKoz

Reputation: 978

Where does TrackRequest() data show up in the portal?

I have a console application logging to TrackRequest in a TelemetryClient, but I can't figure out what tile to display in the Azure portal to see the data. Is there some guidance that lists each method, the data, and what tile exposes it?

Upvotes: 0

Views: 216

Answers (1)

Alex Bulankou
Alex Bulankou

Reputation: 2456

With the following code in a console app:

 TelemetryClient client = new TelemetryClient(new TelemetryConfiguration()
  {
                InstrumentationKey = "<your ikey>",
                TelemetryChannel = new InMemoryChannel()

 });
  client.TrackRequest("Hello", DateTimeOffset.Now, TimeSpan.FromSeconds(1), "200", true);
  Console.ReadLine();

Request data will appear on main overview page and in search results.

enter image description here

Upvotes: 2

Related Questions