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
|Trace incoming and outgoing remote calls |>=1.0.3 |
131
134
132
135
<aname="remoting" />
133
136
@@ -195,6 +198,21 @@ try {
195
198
}
196
199
```
197
200
201
+
<aname="scav" />
202
+
203
+
### Add custom request attributes
204
+
205
+
You can use the SDK to add custom request attributes to current traced service. Custom request attributes allow you to do easier/better filtering of your requests in Dynatrace.
206
+
207
+
Adding custom request attributes to the currently traced service call is pretty simple. Just call one of the addCustomRequestAttribute methods with your key and value:
|1.2.0 |Added support for in-process-linking |note released|
237
256
|1.1.0 |Added support for in-process-linking |[binary](https://search.maven.org/remotecontent?filepath=com/dynatrace/oneagent/sdk/java/oneagent-sdk/1.1.0/oneagent-sdk-1.1.0.jar)[source](https://search.maven.org/remotecontent?filepath=com/dynatrace/oneagent/sdk/java/oneagent-sdk/1.1.0/oneagent-sdk-1.1.0-sources.jar)[javadoc](https://search.maven.org/remotecontent?filepath=com/dynatrace/oneagent/sdk/java/oneagent-sdk/1.1.0/oneagent-sdk-1.1.0-javadoc.jar)|
Copy file name to clipboardExpand all lines: samples/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Check your Dynatrace environment for newly created service like that:
25
25

26
26
27
27
### Run InProcessLinking sample application
28
-
This Application shows how to in-process-linking is being sued. To run this sample you need to create a custom service for your tenant. and of course Dynatrace OneAgent must be installed.
28
+
This Application shows how to in-process-linking and custom service attributes are being used. To run this sample you need to create a custom service for your tenant - and of course Dynatrace OneAgent must be installed.
29
29
30
30
- ensure you have custom service for method `startAsyncOperation` in class `com.dynatrace.oneagent.sdk.samples.inprocesslinking.InProcessLinkingApp`
Copy file name to clipboardExpand all lines: samples/in-process-linking/src/main/java/com/dynatrace/oneagent/sdk/samples/inprocesslinking/InProcessLinkingApp.java
0 commit comments