Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

End User Monitoring (EUM)

passing event in the payload


passing event in the payload


- I am using appdyanmics in my app for monitoring user activity.
- but the problem is it doesnt show how much time user has clicked the button.
- so using rxjs I have wrote a click event.
- this click event shows the mouse event and how to pass this mouse event in appdyanmics payload, so that I can generate a report usimg appdyanmics.
- providing my code changes below

appdyanmics Reference links:

sample appdynamics angular app
<script src=""></script>




import { Component } from '@angular/core';
import {Subject} from 'rxjs/Subject';

selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
export class AppComponent {
title = 'AppDynamics Sample App for Angular 2';

click = new Subject();

ngOnInit() {;







<!-- Navigation with router directives-->
<a [routerLink]="['/']">Home</a>
<a [routerLink]="['/names']">Names</a>
<a [routerLink]="['/posts']">Posts</a>
<a [routerLink]="['/photos']">Photos</a>
<!-- <button (click)="new Subject()" type="button">Click Me!</button> -->

<button (click)="$event)">Click Me!</button>




appdynamics request payload


"vr": "",
"dt": "R",
"rg": "0",
"es": [{
"eg": "1",
"et": 2,
"eu": "0://1/2/",
"ts": 1515610064377,
"mg": "2",
"au": "0://3/",
"at": 3,
"pp": 3,
"mx": {
"PLC": 1,
"FBT": 48,
"DDT": 0,
"DPT": 4,
"PLT": 52,
"ARE": 0
"md": "GET",
"xs": 200,
"si": 18
"ai": "d4e7ef50_b4f3_1dd7_5cdf_49a60ff5635d",
"gs": ["bbe438d0_0c94_63d9_2c22_700343b560b5", "cde9c933_e332_41ce_9333_5021c1502265", "4e6a7f03_4588_49e2_6c25_d8a3a1f3fe90"],
"up": ["http", "", "users", "localhost:4200"]


By replying you agree to the Terms and Conditions of the AppDynamics Community.
passing event in the payload
AppDynamics Team

You can pass custom data using the approach given in the link below


You can also refer the below link



Mohammed Rayan

Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.



In my angular code can you tell me where to add it