You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
@mhemesath and I have had ideas about how to gather analytics using Canadarm. Since we have the beaconHandler it would work pretty nicely for sending that information.
The thought I have right now to handle this is to create a second library that "shims" to the Canadarm object a Canadarm.analytics that works similarly to how the logging works now. It'll have a lot of defaults that it will put out, but you can pass in your own custom attributes as well. Here are some ideas of how it could work:
// The normal caseCanadarm.analytics()// Adding custom dataCanadarm.analytics({user_id: '123-8238fj',date_of_birth: '2014-05-10'});// How setup could work:Canadarm.analytics.session_id='blah'
I think implementation would be done via a custom handler that was only triggered via the Canadarm.analytics call. We would plan to use all the same Appenders so that you get the error and analytic information all the time. If desired it could also be decoupled, I'm not 100% sure yet.
The text was updated successfully, but these errors were encountered:
@mhemesath and I have had ideas about how to gather analytics using Canadarm. Since we have the
beaconHandler
it would work pretty nicely for sending that information.The thought I have right now to handle this is to create a second library that "shims" to the Canadarm object a
Canadarm.analytics
that works similarly to how the logging works now. It'll have a lot of defaults that it will put out, but you can pass in your own custom attributes as well. Here are some ideas of how it could work:I think implementation would be done via a custom handler that was only triggered via the
Canadarm.analytics
call. We would plan to use all the sameAppenders
so that you get the error and analytic information all the time. If desired it could also be decoupled, I'm not 100% sure yet.The text was updated successfully, but these errors were encountered: