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
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,13 +37,24 @@ file (stackify-apm.json) to your application.
37
37
name can be a `String` and can also include the variables `{{ClassName}}`, `{{MethodName}}` and `{{MethodParameters[#]}}`
38
38
(where `#` is an `int` referencing the parameter index on the annotated method, index starts at 0).
39
39
40
+
#### Custom Trace Entry Point
41
+
Stackify by default generates traces from web-requests on [supported application servers](http://support.stackify.com/hc/en-us/articles/209709913-What-Java-Application-Containers-and-Frameworks-are-Supported-)
42
+
and non-web-requests from [supported frameworks](http://support.stackify.com/hc/en-us/articles/209709913-What-Java-Application-Containers-and-Frameworks-are-Supported-).
43
+
You can extend support by using `@Trace(start = true)` on a method; which will start a new trace.
40
44
41
45
```
42
46
import com.stackify.apm.Trace;
43
47
44
48
@Trace
45
49
public class ClassToBeInstrumented
46
50
{
51
+
52
+
@Trace(start = true)
53
+
public void methodToStartNewTrace()
54
+
{
55
+
...
56
+
}
57
+
47
58
@Trace
48
59
public void methodToBeInstrumented()
49
60
{
@@ -77,7 +88,7 @@ public class ClassToBeInstrumented
77
88
78
89
## License
79
90
80
-
Copyright 2016 Stackify, LLC.
91
+
Copyright 2017 Stackify, LLC.
81
92
82
93
Licensed under the Apache License, Version 2.0 (the "License");
83
94
you may not use this file except in compliance with the License.
0 commit comments