Set duration for an Event with Windows SDK

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.

0

Comments

2 comments
  • 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.

    0
    Comment actions Permalink
  • 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

    0
    Comment actions Permalink

Please sign in to leave a comment.