Simplify getting started (#533)
This commit is contained in:
parent
a59bb19192
commit
64e39f064d
|
@ -18,16 +18,15 @@ data from a Java application without code changes.
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
[  ](https://bintray.com/open-telemetry/maven/opentelemetry-java-instrumentation/_latestVersion)
|
Download the [latest version](https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/latest/download/opentelemetry-auto-all.jar).
|
||||||
|
|
||||||
The easiest way to start is to download "all-in" package, which includes instrumentation agent,
|
This package includes the instrumentation agent,
|
||||||
instrumentations for all supported libraries and all available data exporters.
|
instrumentations for all supported libraries and all available data exporters.
|
||||||
This provides completely automatic out of the box experience.
|
This provides completely automatic out of the box experience.
|
||||||
TODO add here screenshot from Bintray download list.
|
|
||||||
|
|
||||||
The instrumentation agent is enabled using the `-javaagent` flag to the JVM.
|
The instrumentation agent is enabled using the `-javaagent` flag to the JVM.
|
||||||
```
|
```
|
||||||
java -javaagent:path/to/opentelemetry-auto-<version>-all.jar \
|
java -javaagent:path/to/opentelemetry-auto-all.jar \
|
||||||
-jar myapp.jar
|
-jar myapp.jar
|
||||||
```
|
```
|
||||||
By default OpenTelemetry Java agent uses
|
By default OpenTelemetry Java agent uses
|
||||||
|
@ -39,7 +38,7 @@ at `localhost:55680`.
|
||||||
Configuration parameters are passed as Java system properties (`-D` flags) or
|
Configuration parameters are passed as Java system properties (`-D` flags) or
|
||||||
as environment variables (see below for full list). For example:
|
as environment variables (see below for full list). For example:
|
||||||
```
|
```
|
||||||
java -javaagent:path/to/opentelemetry-auto-<version>-all.jar \
|
java -javaagent:path/to/opentelemetry-auto-all.jar \
|
||||||
-Dota.exporter=zipkin
|
-Dota.exporter=zipkin
|
||||||
-jar myapp.jar
|
-jar myapp.jar
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue