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
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,18 +2,18 @@
2
2
3
3
# Dynatrace OneAgent SDK for Java
4
4
5
-
This SDK allows Dynatrace customers to instrument java applications. This is useful to enhance the visibility for prioritary frameworks or custom framework not directly supported by Dynatrace OneAgent out of thebox.
5
+
This SDK allows Dynatrace customers to instrument java applications. This is useful to enhance the visibility for proprietary frameworks or custom frameworks not directly supported by Dynatrace OneAgent out-of-the-box.
6
6
7
-
It provides the java implementation of the [Dynatrace OneAgent SDK](https://github.com/Dynatrace/OneAgent-SDK).
7
+
It provides the Java implementation of the [Dynatrace OneAgent SDK](https://github.com/Dynatrace/OneAgent-SDK).
8
8
9
9
## Package contents
10
10
11
11
-`samples`: contains sample application, which demonstrates the usage of the SDK. see readme inside the samples directory for more details
12
12
-`LICENSE`: license under which the whole SDK and sample applications are published
13
13
14
14
## Features
15
-
Dynatrace OneAgent SDK for Java adds support for following features (corresponding to features specified in [Dynatrace OneAgent SDK](https://github.com/Dynatrace/OneAgent-SDK)):
16
-
- outgoing and incoming remote call
15
+
Dynatrace OneAgent SDK for Java currently implements support for the following features (corresponding to features specified in [Dynatrace OneAgent SDK](https://github.com/Dynatrace/OneAgent-SDK)):
16
+
- outgoing and incoming remote calls
17
17
18
18
## Integrating into your application
19
19
@@ -34,11 +34,11 @@ If you prefer to integrate the SDK using plain jar file, just download them from
34
34
The Dynatrace OneAgent SDK for Java has no further dependencies.
35
35
36
36
### Troubleshooting
37
-
If the SDK can't connect to the OneAgent (see usage of SDKState in samples) or you you don't see the desired result in the Dynatrace UI, you might set the following system property to print debug information to standard out:
37
+
If the SDK can't connect to the OneAgent (see usage of SDKState in samples) or you you don't see the desired result in the Dynatrace UI, you can set the following system property to print debug information to standard out:
38
38
39
39
-Dcom.dynatrace.oneagent.sdk.debug=true
40
40
41
-
This will provide SDK related debug information in agent log. Additionally ensure, that you have set an`LoggingCallback` in your application. For usage see class `StdErrLoggingCallback` in `remotecall-server` module (in samples/remotecall folder).
41
+
Additionally you should/have to ensure, that you have set a`LoggingCallback`. For usage see class `StdErrLoggingCallback` in `remotecall-server` module (in samples/remotecall folder).
42
42
43
43
## OneAgent SDK for Java Requirements
44
44
@@ -52,7 +52,7 @@ This will provide SDK related debug information in agent log. Additionally ensur
52
52
53
53
## Feedback
54
54
55
-
In case of questions, issues or feature requests feel free to contact [Michael Kopp](https://github.com/mikopp) or [Alram Lechner](https://github.com/AlramLechnerDynatrace). Your feedback is welcome!
55
+
In case of questions, issues or feature requests feel free to contact [Michael Kopp](https://github.com/mikopp), [Alram Lechner](https://github.com/AlramLechnerDynatrace) or file an issue. Your feedback is welcome!
Copy file name to clipboardExpand all lines: samples/README.md
+3-42Lines changed: 3 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Sample applications showing how to use Dynatrace OneAgent SDK for Java to create
4
4
5
5
## Contents
6
6
7
-
-`remotecall`: shows usage of remote call API. Allows you to tag remote calls in same or between different JVM's.
7
+
-`remotecall`: shows usage of remote call API. Allows you to tag remote calls in the same or between different JVMs.
8
8
9
9
## Build and prepare running sample applications
10
10
@@ -14,49 +14,10 @@ Sample applications showing how to use Dynatrace OneAgent SDK for Java to create
14
14
- run `mvn package` in root directory of the desired sample
15
15
16
16
### Run RemoteCall sample application
17
-
This Application shows how to trace remote calls and tag them. To run this sample you need to start a server and client sample application - both with Dynatrace agent injected.
17
+
This Application shows how to trace remote calls and tag them. To run this sample you need to start a server and client sample application - both with Dynatrace OneAgent injected.
18
18
19
19
- Server: `mvn -pl remotecall-server exec:exec`
20
20
21
21
- Client: `mvn -pl remotecall-client exec:exec`
22
22
23
-
Check your Dynatrace environment for newly created services.
24
-
25
-
## Integrating into your application
26
-
If you want to integrate the OneAgent SDK into your application, just add the following maven dependency:
If you prefer to integrate the SDK using plain jar file, just download them from mavenCentral: FIXME: add link to mavenCentral
36
-
37
-
## Troubleshooting
38
-
As long as the SDK can't connect to agent (see output of sample), you might set the following system property to print debug information to standard out:
39
-
40
-
-Dcom.dynatrace.oneagent.sdk.debug=true
41
-
42
-
As soon as SDK is active, but no paths are shown in Dynatrace UI, enable the agent debug flag:
43
-
44
-
debugOneAgentSdkJava=true
45
-
46
-
This will provide additional debug information in agent log.
47
-
48
-
Additionally ensure, that you have set an `LoggingCallback` in your application. For usage see class `StdErrLoggingCallback` in `remotecall-server` module.
49
-
50
-
## OneAgent SDK for Java Requirements
51
-
- JRE 1.6 or higher
52
-
- Dynatrace OneAgent Java (supported versions see below)
53
-
54
-
## Compatibility OneAgent SDK for Java releases with OneAgent for Java releases
55
-
|OneAgent SDK for Java|Dynatrace OneAgent Java|
56
-
|:------|:--------|
57
-
|1.0.1 |>=1.135 |
58
-
59
-
## Release Notes (OneAgent SDK for Java)
60
-
|Version|Date|Description|
61
-
|:------|:----------|:--------------|
62
-
|1.0.1 |01.2018 |Initial release|
23
+
Check your Dynatrace environment for newly created services.
Copy file name to clipboardExpand all lines: samples/remotecall/remotecall-server/src/main/java/com/dynatrace/oneagent/sdk/samples/StdErrLoggingCallback.java
0 commit comments