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"] 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 #### 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: For Maven, add this to pom.xml:
```xml ```xml
<!-- OpenTracing API --> <!-- OpenTracing API -->
<dependency> <dependency>
<groupId>io.opentracing</groupId> <groupId>io.opentracing</groupId>
<artifactId>io.opentracing:opentracing-api</artifactId> <artifactId>io.opentracing:opentracing-api</artifactId>
<version>0.30.0</version> <version>0.30.0</version>
</dependency> </dependency>
<!-- OpenTracing Util --> <!-- OpenTracing Util -->
<dependency> <dependency>
<groupId>io.opentracing</groupId> <groupId>io.opentracing</groupId>
<artifactId>io.opentracing:opentracing-util</artifactId> <artifactId>io.opentracing:opentracing-util</artifactId>
<version>0.30.0</version> <version>0.30.0</version>
</dependency> </dependency>
<!-- Datadog Tracer (only needed if you do not use dd-java-agent) --> <!-- Datadog Tracer (only needed if you do not use dd-java-agent) -->
<dependency> <dependency>
<groupId>com.datadoghq</groupId> <groupId>com.datadoghq</groupId>
<artifactId>dd-trace</artifactId> <artifactId>dd-trace</artifactId>
<version>${dd-trace-java.version}</version> <version>${dd-trace-java.version}</version>
</dependency> </dependency>
``` ```
For gradle, add: For gradle, add:
``` ```
compile group: 'io.opentracing', name: 'opentracing-api', version: "0.30.0" compile group: 'io.opentracing', name: 'opentracing-api', version: "0.30.0"
compile group: 'io.opentracing', name: 'opentracing-util', 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: 'com.datadoghq', name: 'dd-trace', version: "${dd-trace-java.version}"
``` ```
#### Examples #### Examples