From 72a56f0c05774a94f5060f191cfbb00c22fb56e9 Mon Sep 17 00:00:00 2001 From: Darin Howard Date: Fri, 11 Nov 2016 13:33:08 -0600 Subject: [PATCH 01/13] SF-6010 - adding in RUM instrumentation call and instructions. --- README.md | 25 ++++++++++++++++++++ src/main/java/com/stackify/apm/Stackify.java | 20 ++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 src/main/java/com/stackify/apm/Stackify.java diff --git a/README.md b/README.md index 6ae4868..d1745bc 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,31 @@ Add it as a maven dependency: ## Usage + +### RUM Manual Instrumentation + +Real User Monitoring (RUM) manual instrumentation allows you to specify where the RUM JavaScript block is injected. + +**Note**: Ensure that auto instrumentation is disabled by adding **rum.autoInstrument=false** to **stackify-api.properties** in your application's classpath. + +Your application code will need to call out to the Stackify **getRUMJavaScriptBlock()** method in the `` section as detailed below: + +#### JSP Example + +```` + + + <%= com.stackify.apm.Stackify.getRUMJavaScriptBlock() %> +