Skip to content

Commit

Permalink
Add settings docs for instrumentations (open-telemetry#4981)
Browse files Browse the repository at this point in the history
* First commit

* Add other instrumentation docs

* Peer edits

* Update instrumentation/kafka/kafka-clients/README.md

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>

* Update instrumentation/methods/README.md

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

* Update instrumentation/netty/README.md

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

* Update instrumentation/reactor/reactor-netty/README.md

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

* Update instrumentation/servlet/README.md

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

* Fixes

* Update instrumentation/couchbase/README.md

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

* Update instrumentation/rocketmq-client-4.8/README.md

Well spotted!

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

* Update instrumentation/spring/README.md

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
  • Loading branch information
3 people authored and RashmiRam committed May 23, 2022
1 parent a6b8a25 commit 0ffcffc
Show file tree
Hide file tree
Showing 27 changed files with 145 additions and 0 deletions.
5 changes: 5 additions & 0 deletions instrumentation/apache-camel-2.20/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the Apache Camel instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.apache-camel.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
5 changes: 5 additions & 0 deletions instrumentation/aws-sdk/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the AWS SDK instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.aws-sdk.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
5 changes: 5 additions & 0 deletions instrumentation/couchbase/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the Couchbase instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.couchbase.experimental-span-attributes` | Boolean | `false` | Enables the capture of experimental span attributes (for version 2.6 and higher of this instrumentation). |
5 changes: 5 additions & 0 deletions instrumentation/elasticsearch/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the elasticsearch instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.elasticsearch.experimental-span-attributes` | `Boolean | `false` | Enable the capture of experimental span attributes. |
6 changes: 6 additions & 0 deletions instrumentation/executors/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Settings for the executors instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.executors.include` | List | Empty | List of `Executor` subclasses to be instrumented. |
| `otel.instrumentation.executors.include-all` | Boolean | `false` | Whether to instrument all classes that implement the `Executor` interface. |
6 changes: 6 additions & 0 deletions instrumentation/external-annotations/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Settings for the external annotations instrumentation

| System property | Type | Default | Description |
|----------------- |------ |--------- |------------- |
| `otel.instrumentation.external-annotations.include` | String | Default annotations | Configuration for trace annotations, in the form of a pattern that matches `'package.Annotation$Name;*'`.
| `otel.instrumentation.external-annotations.exclude-methods` | String | | All methods to be excluded from auto-instrumentation by annotation-based advices. |
5 changes: 5 additions & 0 deletions instrumentation/grpc-1.6/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the gRPC instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.grpc.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
5 changes: 5 additions & 0 deletions instrumentation/guava-10.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the Guava instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.guava.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
5 changes: 5 additions & 0 deletions instrumentation/hibernate/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the Hibernate instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.hibernate.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
5 changes: 5 additions & 0 deletions instrumentation/hystrix-1.4/javaagent/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the Hystrix instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.hystrix.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
5 changes: 5 additions & 0 deletions instrumentation/jaxrs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the Jaxrs instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.jaxrs.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
5 changes: 5 additions & 0 deletions instrumentation/jsp-2.3/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the JSP instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.jsp.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
6 changes: 6 additions & 0 deletions instrumentation/kafka/kafka-clients/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Settings for the Kafka client instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.kafka.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
| `otel.instrumentation.kafka.client-propagation.enabled` | Boolean | `true` | Enables remote context propagation via Kafka message headers. |
5 changes: 5 additions & 0 deletions instrumentation/kubernetes-client-7.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the Kubernetes client instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.kubernetes-client.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
5 changes: 5 additions & 0 deletions instrumentation/lettuce/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the Lettuce instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.lettuce.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
5 changes: 5 additions & 0 deletions instrumentation/methods/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the methods instrumentation

| System property | Type | Default | Description |
|----------------- |------ |--------- |------------- |
| `otel.instrumentation.methods.include` | String| None | List of methods to include for tracing. See [Creating spans around methods with `otel.instrumentation.methods.include`](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/manual-instrumentation.md#creating-spans-around-methods-with-otelinstrumentationmethodsinclude). |
6 changes: 6 additions & 0 deletions instrumentation/netty/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Settings for the Netty instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.netty.always-create-connect-span` | Boolean | `false` | Enable the creation of Connect and DNS spans by default for Netty 4.0 and higher instrumentation. |
| `otel.instrumentation.netty.ssl-telemetry.enabled` | Boolean | `false ` | Enable SSL telemetry for Netty 4.0 and higher instrumentation. |
5 changes: 5 additions & 0 deletions instrumentation/opentelemetry-annotations-1.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the OpenTelemetry Annotations integration

| Environment variable | Type | Default | Description |
|----------------- |------ |--------- |------------- |
| `otel.instrumentation.external-annotations.exclude-methods` | String | | All methods to be excluded from auto-instrumentation by annotation-based advices. |
5 changes: 5 additions & 0 deletions instrumentation/rabbitmq-2.7/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the RabbitMQ instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.rabbitmq.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
5 changes: 5 additions & 0 deletions instrumentation/reactor/reactor-3.1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the Reactor 3.1 instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.reactor.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
5 changes: 5 additions & 0 deletions instrumentation/reactor/reactor-netty/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the Reactor Netty instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.reactor-netty.always-create-connect-span` | Boolean | `false` | Enable the creation of Connect and DNS spans by default. |
6 changes: 6 additions & 0 deletions instrumentation/rocketmq-client-4.8/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Settings for the Apache RocketMQ client instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.rocketmq-client.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
| `otel.instrumentation.rocketmq-client.propagation` | Boolean | `true` | Enables remote context propagation via RocketMQ message headers. |
5 changes: 5 additions & 0 deletions instrumentation/rxjava/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the RxJava instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.rxjava.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes for RxJava 2 and 3 instrumentation. |
7 changes: 7 additions & 0 deletions instrumentation/servlet/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Instrumentation for Java Servlets

# Settings

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.servlet.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes. |
| `otel.instrumentation.servlet.experimental.capture-request-parameters` | List | Empty | Request parameters to be captured (experimental). |

## A word about version

We support Servlet API starting from version 2.2.
Expand Down
8 changes: 8 additions & 0 deletions instrumentation/spring/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ The [third section](#auto-instrumentation-using-spring-starters) with build on t

In this guide we will be using a running example. In section one and two, we will create two spring web services using Spring Boot. We will then trace requests between these services using two different approaches. Finally, in section three we will explore tools documented in [opentelemetry-spring-boot-autoconfigure](/spring-boot-autoconfigure/README.md#features) which can improve this process.

# Settings

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.spring-integration.global-channel-interceptor-patterns` | List | `*` | An array of Spring channel name patterns that will be intercepted. See [Spring Integration docs](https://docs.spring.io/spring-integration/reference/html/channel.html#global-channel-configuration-interceptors) for more details. |
| `otel.instrumentation.spring-webflux.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes for Spring WebFlux version 5.0. |
| `otel.instrumentation.spring-webmvc.experimental-span-attributes` | Boolean | `false` | Enable the capture of experimental span attributes for Sprinv Web MVC 3.1. |

# Manual Instrumentation Guide

## Create two Spring Projects
Expand Down
5 changes: 5 additions & 0 deletions instrumentation/spymemcached-2.12/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the Spymemcached instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.spymemcached.experimental-span-attributes` | Boolean | `false` | Enables the capture of experimental span attributes. |
5 changes: 5 additions & 0 deletions instrumentation/twilio-6.6/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Settings for the Twilio instrumentation

| System property | Type | Default | Description |
|---|---|---|---|
| `otel.instrumentation.twilio.experimental-span-attributes` | Boolean | `false` | Enables the capture of experimental span attributes. |

0 comments on commit 0ffcffc

Please sign in to comment.