cancel
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)

Can an Angular Application be configured as Application?

Can an Angular Application be configured as Application?

Hi, 

Currently, our Angular application is configured as "User Experience", We are facing the below issues:

1. We want to trigger an alert when there is a specific HTTP code in the response ex: 500, . While configuring health rules, there is no option to select a specific error code.

2. Anomalies are not detected even through enabled the option to overcome these issues

 

Can we configure our application as "Application" so that will give more options to configure the health rules? 

Tags (3)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
Can an Angular Application be configured as Application?
21 REPLIES 21
Hiroki.Ito
AppDynamics Team

 

You can use Analytics Events API to run the analytics query through the REST CALL.

 

Note that you need to create API keys and add permissions for Browser Requests.

 

You can see some examples of query in the document below.

 

You need to calculate the start time for last 7 days/30 days, but a query like below would work for you ADQL query.
 

curl -X POST "https://<events_service_endpoint>/events/query/?start=<ISO 8601 or Unix time for 7 days ago>&limit=1000" -H"X-Events-API-AccountName:<global account name>" -H"X-Events-API-Key:<Analytics API key.>" -H"Accept: application/vnd.appd.events+json;v=2" -H"Content-type: application/vnd.appd.events+json;v=2" -d "[{\"query\": \"SELECT * FROM browser_records WHERE ajaxerror like '*status*5*' AND appkey = 'XXXX' And pagename='api.xxx.com/ship/v3'\"}]"

 

* The Analytics Query API can return a maximum of 10,000 results. If you would like to retrieve and paginate over the data, you can use the scroll mode

 

Best Regards,
Hiroki

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

Hello @Arjunasetty.Murahari,

 

Do you have any follow-up questions for @Hiroki.Ito? If so, please keep the conversation going. If not, please accept one of Hiroki's replies as the Accepted Solution so the community knows this question has an answer.

 


Thanks,
Ryan, AppDynamics Community Manager



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