Set duration for an Event with Windows SDK


#1

Hi, I have noticed that it is possible to select the Duration metric when adding a new widget to the Dashboard. However I have not figured out how to record the Duration of an event with the Windows SDK. Is this possible? We would like to do some performance measurements. Thank you.


#2

Hello, you can add duration to events manualy with this override:

RecordEvent(string Key, int Count, double Sum)

But you would have to time the event yourself. Currently there is no beginEvent/endEvent functionality in the windows SDK.


#3

Ok, never mind that. Uppon closer inspection it seems that there is no way to send event duration as a field with the windows SDK.

You could pass that information as a segment to the event.

Such functinality would be added in future releases