You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,11 +31,16 @@ Add it as a maven dependency:
31
31
32
32
Real User Monitoring (RUM) manual instrumentation allows you to specify where the RUM JavaScript block is injected.
33
33
34
-
**Note**: Ensure that auto instrumentation is disabled by adding **rum.autoInstrument=false** to **stackify-api.properties**in your application's classpath.
34
+
It is recommended you provide a `stackify-api.properties` file in your application classpath with the following content:
35
35
36
-
Your application code will need to call out to the Stackify **getRUMJavaScriptBlock()** method in the `<head>` section as detailed below:
36
+
````
37
+
stackify.application=My Application Name
38
+
stackify.environment=My Environment Name
39
+
````
37
40
38
-
#### JSP Example
41
+
Your application code will need to call out to the Stackify `com.stackify.apm.Stackify.getRUMJavaScriptBlock()` method in the `<head>` section as detailed below:
42
+
43
+
**JSP Example**
39
44
40
45
````
41
46
<html>
@@ -49,6 +54,7 @@ Your application code will need to call out to the Stackify **getRUMJavaScriptBl
49
54
</html>
50
55
````
51
56
57
+
52
58
### @Trace Annotation
53
59
54
60
Add custom instrumentation to classes using the @Trace annotation. The annotation needs to be added to
0 commit comments