c# - Name A Telemetry Event in App Insights -


i trying use app insights track button clicks:

try {    telemetryclient telemetry = new telemetryclient();    var ev = new eventtelemetry("buttoncancel_click");    telemetry.trackevent(ev);    telemetry.flush(); }    catch { } 

now, in azure dashboard event shows buttoncancel_click (which name of event handler of buttoncancel's click event). want use better name "user cancels subscription".

i have put above code in event handler called buttoncancel_click in asp.net web forms application.

i couldn't find way that.

thanks help.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -