How do I just...capture an event in Pulse?

gauche

Posted on
Sep 06 2017

Hi,

It seems like there's a pretty obvious feature missing from Pulse, but maybe I'm missing something?

I just want to capture events, like the user tapped this button or they opened a link. As well as an event name, I would want to send some data. The closest thing I could find is just sending a RaygunMessage thusly:

var message = RaygunMessageBuilder
    .New
    .SetClientDetails()
    .SetEnvironmentDetails()
    .SetUserCustomData(metadata)
    .SetTags(new[] { id })
    .Build();
RaygunClient
    .Current
    .Send(message);

However, this feels a bit of a hack, since there is no event ID (I've just assigned it to the tag). The docs talk about a trackEvent function, but I can't see it in the .NET client.

Can anyone point me in the right direction?

EDIT: I also found this old feature request. Was this just missed from the .NET client?


Jason Fauchelle

Raygun

Posted on
Sep 06 2017

Hi gauche,

Pulse/Real User Monitoring does not currently have a feature for tracking custom events. I do not know when we'd implement this feature, though it is not currently on our immediate roadmap.

The trackEvent function you've found for the JavaScript provider has an equivalent SendPulseTimingEvent function in the Xamarin.iOS and Xamarin.Android providers. These are all for manually logging a page view or a network call, not generic events. (Though they are written in a way to support custom events in the future).

Crash reports have a breadcrumbs feature that can log events that happen up to an exception occurring, though this is displayed when viewing a crash report which I don't think is what you're looking for.

-Jason Fauchelle


gauche

Posted on
Sep 06 2017

Thanks Jason.

This makes me very sad. There are lots of people asking for this for a long time now (in addition to the above link, see here) and I'm not sure we'll be able to continue using the product without this. It seems quite a fundamental missing feature - our clients are asking us to track user actions and we can't.


Jason Fauchelle

Raygun

Posted on
Sep 06 2017

Hi gauche,

We certainly agree that custom events will be a very useful feature to have in Pulse. It's been on hold due to working on other priorities. I've checked with the project manager to find that this feature is planned for next year. For now, we hope the crash reporting breadcrumbs feature may be of use.

-Jason Fauchelle


Reply