5

Context: HockeyApp can track custom events which is a feature that is currently available via the Preseason program. There are limitations to custom events including

a limit of 300 unique event names per app per week.

An event can be tracked by calling a specific method such as

HockeyApp.Metrics.MetricsManager.TrackEvent("MyEventName");

Question: We've got the challenge that we need to log custom data per event such as time stamp information. How to achieve this?

Background: we use Application Insights currently and log performance information with events such as how long it took to execute a ask. We look for a solution (or workaround) using HockeyApp.

Quality Catalyst
  • 6,531
  • 8
  • 38
  • 62
  • 2
    We use HockeyApp for crash data only and give up using their custom events (too limiting, no analytics, big-data export, raw export, realtime access...) They have a **long way** to go to complete with everyone else. When 24 hours for event analytics is fine, we use Google's Firebase as they can also dump to BigQuery and offer raw exports, for real-time monitoring we use https-based GETs with encoded params that carry all the data for each event against an Azure web server that does nothing other then allowing us to stream the server logs for tracing 5m+ events a day (we track EVERYTHING ;-) – SushiHangover Jul 11 '16 at 04:52
  • Great feedback. Thank you @SushiHangover! – Quality Catalyst Jul 11 '16 at 04:54
  • @SushiHangover HockeyApp does support big-data export to Application Insights. – Kerni Oct 06 '16 at 23:18
  • @Kerni I know, that is why we used Firebase: *"we use Google's Firebase as they can also dump to BigQuery"* Personally the difference between Application Insights and Google's BigQuery is night and day. It just depends upon your devops requirements, for that project ours exceeded what A.I. could provide – SushiHangover Oct 06 '16 at 23:21

1 Answers1

5

The API documentation on github shows it has the ability to add properties and measurements to the event:

HockeyApp.MetricsManager.TrackEvent("Custom Event",
                            new Dictionary<string, string> { { "property", "value" } },
                            new Dictionary<string, double> { { "time", 1.0 } })

The even names are limited but the number of times an event can fire is not.

jsturtevant
  • 2,560
  • 1
  • 23
  • 23
  • Wow, that appears to be a feature that must have been introduced between asking the question and now. Thank you! I will check this this. – Quality Catalyst Oct 06 '16 at 04:36
  • 4
    Are properties and measurements visible also from HockeyApp or only if you make the integration with Azure Application Insight? – Daniele D. Oct 27 '16 at 08:22
  • 1
    @DanieleD. looks like the latter, see https://martynnw.wordpress.com/2017/02/20/tracking-custom-events-with-xamarin-hockeyapp-and-azure-application-insights/#comment-56 – Fran Pugl Jan 02 '18 at 09:42