Merge pull request #99 from palazzem/docs

[docs] update README
This commit is contained in:
Emanuele Palazzetti 2017-08-07 09:39:21 +02:00 committed by GitHub
commit 08f44d15b4
1 changed files with 38 additions and 38 deletions

View File

@ -101,7 +101,7 @@ To disable tracing for any of these libraries, list them in `disabledInstrumenta
disabledInstrumentations: ["opentracing-apache-httpclient", "opentracing-mongo-driver", "opentracing-web-servlet-filter"]
```
See [this YAML file](src/main/resources/dd-trace-supported-framework.yaml) for the proper names of all supported libraries (i.e. the names as you must list them in `disabledInstrumentations`).
See [this YAML file](dd-java-agent/src/main/resources/dd-trace-supported-framework.yaml) for the proper names of all supported libraries (i.e. the names as you must list them in `disabledInstrumentations`).
#### JDBC
@ -180,34 +180,34 @@ You can use the Datadog Tracer (`dd-trace`) library to measure execution times f
For Maven, add this to pom.xml:
```xml
<!-- OpenTracing API -->
<dependency>
<groupId>io.opentracing</groupId>
<artifactId>io.opentracing:opentracing-api</artifactId>
<version>0.30.0</version>
</dependency>
<!-- OpenTracing API -->
<dependency>
<groupId>io.opentracing</groupId>
<artifactId>io.opentracing:opentracing-api</artifactId>
<version>0.30.0</version>
</dependency>
<!-- OpenTracing Util -->
<dependency>
<groupId>io.opentracing</groupId>
<artifactId>io.opentracing:opentracing-util</artifactId>
<version>0.30.0</version>
</dependency>
<!-- OpenTracing Util -->
<dependency>
<groupId>io.opentracing</groupId>
<artifactId>io.opentracing:opentracing-util</artifactId>
<version>0.30.0</version>
</dependency>
<!-- Datadog Tracer (only needed if you do not use dd-java-agent) -->
<dependency>
<groupId>com.datadoghq</groupId>
<artifactId>dd-trace</artifactId>
<version>${dd-trace-java.version}</version>
</dependency>
<!-- Datadog Tracer (only needed if you do not use dd-java-agent) -->
<dependency>
<groupId>com.datadoghq</groupId>
<artifactId>dd-trace</artifactId>
<version>${dd-trace-java.version}</version>
</dependency>
```
For gradle, add:
```
compile group: 'io.opentracing', name: 'opentracing-api', version: "0.30.0"
compile group: 'io.opentracing', name: 'opentracing-util', version: "0.30.0"
compile group: 'com.datadoghq', name: 'dd-trace', version: "${dd-trace-java.version}"
compile group: 'io.opentracing', name: 'opentracing-api', version: "0.30.0"
compile group: 'io.opentracing', name: 'opentracing-util', version: "0.30.0"
compile group: 'com.datadoghq', name: 'dd-trace', version: "${dd-trace-java.version}"
```
#### Examples