Though the APM .NET agent will report activity to and from the ArcGIS Data Store is built on top of several other distinct technologies, one of them being an Apache Tomcat application server. Using New Relic's Java agent, we'll instrument the Tomcat Catalina servlet at the heart of ArcGIS Data Store.
1. Copy the agent to the machine, granting permissions to the folder as appropriate (permissions should be granted to the user that is starting the ArcGIS Data Store service).
2. Edit the YML file, updating the name, license key, and proxy information if needed.
3. Edit the Catalina.bat file here by default, C:\Program Files\ArcGIS\DataStore\framework\runtime\tomcat\bin\catalina.bat
a. Locate the line “set TOMCAT_HEAP_SIZE=” (around line 85 for Data Store 10.3)
b. Add the following line directly after the heap size parameter “set JAVA_OPTS= %JAVA_OPTS% -javaagent:"C:/Program Files/ArcGIS/DataStore/framework/newrelic/newrelic.jar"” In this case I had placed the agent in the framework folder as the account running the service has access to this folder already.
4. Restart the ArcGIS Data Store service.
Check out my other how-to articles to this series showing you how to;
Instrument ArcGIS Server
Application Performance Monitoring for Complex ETLs
Instrument Portal for ArcGIS Server
Instrument ArcGIS Data Store