Discussion Feed
07-25-2019
11:30 AM
1 Kudo
@Fabian.Toapanta Its already a deployed folder so you just need to copy the geo folder after extraction to the webapps. If its still does not work for you you can check the catalina logs for any exception related to the geo module. Also one thing I want to point out is the usage of jdk. This may not work with a jdk version above 1.8 as our components are currently with java version 1.8. If you are using latest jdk version it will not work.
... View more
09-28-2018
05:08 PM
Problem:
Discovery of the Events Service node using Enterprise Console (EC) fails. Upon checking the EC logs, we see the below error:
Events Service discovery failed. Failure occurred at stage: Enable transient allocations on masters Error message: Task failed: Enable transient allocation in the api store node
Analysis:
This is a very generic error that occurs if the Events Service is failing on its respective node. To get the actual cause of issue, we need to check the events-service-api-store.log . In the Events Service log for this instance, we see the below error:
[2018-08-07T07:08:42,738+02:00] [ERROR] [ProcessQueue0] [c.a.a.p.e.e.ElasticSearchExecutor] Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000004e32c0000, 12294815744, 0) failed; error='Cannot allocate memory' (errno=12)
The system did not have enough memory to allocate the process. Hence, the start of the process failed so the discovery process failed, as well.
Solution:
Ensure that there is enough space available for the Events Service and elastic search process combined so that the process can start and the discovery process will complete successfully.
... View more
- Find more articles tagged with:
- Enterprise Console
- Memory
- node
Labels:
08-01-2018
10:21 AM
Question
Can I enable multi-factor authentication for AppDynamics mobile applications?
Answer
Currently, there is no way to configure multi factor authentication for an AppDynamics mobile application. We only have direct username/password-based or SAML login for the mobile app.
... View more
Labels:
08-01-2018
10:12 AM
Problem:
Analytics data being collected is a lot less than the actual load on the application and you are seeing repetitive messages like the one below in the Analytics Agent log:
[2018-05-21T11:24:38,137+01:00] [WARN ] [pipeline-thread-12 (bt-publish-4)] [c.a.a.a.p.e.EventServicePublishStage] The message at index [0] failed due to the following permanent error: [Failed [failed to parse [segments.userData.xxxx]] with id [484xxx-63xx-4xxx-axxx-47d08xxxxx] index [customer1_xxxxxxx___biz_txn_v1___2018-05-19_16-38-20] type [customer1_xxxxx___biz_txn_v1]]
Analysis:
The same MIDC is defined for multiple applications. We observed that the field that is registered with the Events Service has a different type than the field that is being collected for the current application. The field type can be retrieved using the below query:
curl -XGET http://localhost:9200/<global_account_name>___biz_txn_v1*/_mapping?pretty=true
If same field name is being used across multiple MIDC, the Events Service will use the first registered field type. If the field type for a new application is different from the registered one, the Analytics Agent will not parse the record and will discard it.
It is not discarding all the requests because the MIDC field is not being collected for all events. Hence, the events that do not have this field value are parsed properly and published to the Events Service. For this reason, you will see less events data compared to actual load on the application.
Solution:
You can approach this in two ways:
1. You can change the type of data being returned by the data collector at the application level to the type that is registered with Events Service.
2. You can change the field name in the MIDC that is defined for the current application so that it registers with the Events Service with its own type under a new field.
... View more
- Find more articles tagged with:
- Agent log
- Events Service
- MIDC
- troubleshooting
Labels:
07-24-2018
08:26 AM
Hello Bill, Please refer the below knowledge base article and let me know if this helps: https://community.appdynamics.com/t5/Knowledge-Base/How-to-add-custom-user-data-via-automatic-injection/ta-p/30295
... View more
07-23-2018
01:56 PM
Problem:
EUM browser data is not correlating to the backend application, even when the correlation cookie is coming as a part of the response from the application server.
Analysis:
We see that the cookie information is present in the response and there is no httpOnly flag tagged with the cookie, but the same data is not being sent in the beacons. The guid we see in the beacon is self-generated and not the one sent by the application server. This is causing the correlation to break.
We can see that there are resource files in the page like .png that also have the correlation cookies. These correlation cookies on resource files cause the actual page correlation to break.
Solution:
The transactions serving the resource files should not be enabled for correlation. Identify the transactions that serves the resource file on the page and disable EUM correlation for those transactions.
... View more
- Find more articles tagged with:
- browser data
- correlation
Labels:
07-05-2018
05:28 AM
We do not have anything for stand alone analytics agent but we do have a deployment for machine agent. please refer the below knowledge base article: https://community.appdynamics.com/t5/Knowledge-Base/Webinar-Monitoring-Kubernetes-Microservices-Applications/ta-p/32205#baseimage
... View more
05-31-2018
02:38 PM
1 Kudo
Question
Why do I need to run the eum-schema update after importing the MySQL eum_db dump from the Controller MySQL to the EUM MySQL database?
Answer
Starting 4.4, EUM has its own MySQL database in production mode deployment. If we are upgrading from a lower version to 4.4.x, we need to take a dump from the Controller MySQL for the eum_db schema and import the dump in the EUM server's MySQL database. In 4.4.x, the schema of the EUM server has additional changes from its previous version, which are required for the EUM processor to function. When we are importing the schema level dump, it drops the current eum_db schema in the EUM database and then restores the older version of the schema from dump. To bring it back to a compatible state for the 4.4.x version, we need to update the schema using the eum-schema update command.
... View more
- Find more articles tagged with:
- controller
- EUM schema
- MySQL
Labels:
05-31-2018
01:58 PM
I’m upgrading EUM from a version lower than 4.4. Why does the upgrade fail during “schema update”?
Problem
EUM upgrade from a version lower than 4.4 fails in the "schema update" step with the below error:
Unexpected error running Liquibase: Error executing SQL CREATE TABLE eum_db.crash_alert_events (hash_key VARCHAR(128) NOT NULL, range_key VARCHAR(128) NOT NULL, application_key VARCHAR(128) NOT NULL, alert_minute BIGINT(19) NOT NULL, group_id VARCHAR(128) NOT NULL, threshold INT(19) NOT NULL): Table 'crash_alert_events' already exists
Analysis
In versions prior to v4.4, the EUM database schema uses Controller MySQL. Starting with v4.4, EUM has its own database for a production mode. So, for a production mode installation, you must export the schema from the Controller database into the EUM MySQL database.
The EUM schema in v4.4 has some additional tables. When we import the dump using the documented process, it drops the eum_db schema in MySQL of EUM and then imports the dump from the previous version. The update-schema then creates the tables that were missing in the previous schema version.
If we are not using the recommended command to take the export, the tables that are different from the dump are not dropped during the import. Therefore, when we run the eum-schema update command, it fails with the above error. For example, we can take the database export using the below command as well:
./mysqldump -u root --password --protocol=TCP -P 3388 eum_db --add-drop-database > eum_db.sql
However, when we use this dump to import, it does not have drop syntax for the eum_db schema , which poses a problem during the update-schema command.
Solution
To avoid any anomalies during the upgrade process, use the specified commands for taking the dump, as below:
./mysqldump -u root --password --protocol=TCP -P [Controller-MySQL-Port] --databases eum_db --add-drop-database > eum_db.sql
This will ensure that the eum_db schema is cleared before importing the dump, and that the eum-schema update will run without issues.
... View more
- Find more articles tagged with:
- controller
- MySQL
- update-schema
Labels:
05-11-2018
09:14 AM
Problem:
Values for EURT show considerable differences between the Pages and Ajax Request view and the Analyze view.
Analysis:
By design, the EUM does not include outlier requests. However, the outlier requests are sent to the Events Service. If there are more outlier requests, the EURT in Analyze can get spiked.
Solution:
Your outlier threshold is five times the stall threshold. If you do not want to see outliers in the Analyze view, you can add a filter to the displayed results limiting the value to filter out the outlier requests.
... View more
- Find more articles tagged with:
- EURT
Labels:
Latest Activity
- Got a Kudo for Re: How to implement a GeoServer in EUM ?. 07-31-2019 12:32 PM
- Posted Re: How to implement a GeoServer in EUM ? on End User Monitoring (EUM). 07-25-2019 11:30 AM
- Got a Kudo for Why can't I start the Events Service after an abrupt shutdown?. 01-04-2019 02:15 PM
- Got a Kudo for Re: User Level analytics. 10-23-2018 04:08 PM
- Got a Kudo for How do I symbolicate mobile crash reports?. 10-01-2018 02:11 AM
- Posted What should I do if the discovery of the Events Service node fails? on Knowledge Base. 09-28-2018 05:08 PM
- Posted Can I enable multi-factor authentication for AppDynamics mobile applications? on Knowledge Base. 08-01-2018 10:21 AM
- Posted I'm seeing the error "Failed [failed to parse [segments.userData.*]]". Why isn't analytics data getting processed? on Knowledge Base. 08-01-2018 10:12 AM
- Posted Re: How to add custom user data via automatic injection on Dashboards. 07-24-2018 08:26 AM
- Posted Why isn't EUM browser correlation to the backend application tier working? on Knowledge Base. 07-23-2018 01:56 PM
- Posted Re: Standalone analytics agent(s) in container on Business iQ (Analytics). 07-05-2018 05:28 AM
- Got a Kudo for Why can't I start the Events Service after an abrupt shutdown?. 07-03-2018 05:32 AM
- Got a Kudo for Why do I need to run the eum-schema update after importing the EUM schema?. 06-14-2018 07:13 PM
- Posted Why do I need to run the eum-schema update after importing the EUM schema? on Knowledge Base. 05-31-2018 02:38 PM
- Posted Why does my EUM upgrade (version prior to v4.4.) fail during the “schema update” step? on Knowledge Base. 05-31-2018 01:58 PM
- Posted Why are there different values for EURT? on Knowledge Base. 05-11-2018 09:14 AM
- Posted Can I change background color of the analytics widget? on Knowledge Base. 04-30-2018 01:59 PM
- Posted Re: Android :Network Requests don not show anything on End User Monitoring (EUM). 04-25-2018 10:11 PM
- Posted Re: Android :Network Requests don not show anything on End User Monitoring (EUM). 04-25-2018 09:47 PM
- Posted Can I change the default path of custom metrics? on Knowledge Base. 03-29-2018 12:09 PM
Community Stats
Date Registered | 10-25-2015 09:28 PM |
Date Last Visited | 12-16-2020 07:33 AM |
Total Messages Posted | 68 |
Total Kudos Received | 10 |