opentelemetry-java-instrume.../instrumentation-core
Munir Abdinur 72c36b40b4
add exporter configurations to springboot autoconfigure (#729)
* add exporter configurations to springboot autoconfigure

* clean up javadoc and jaegerspanexporter name

* format

* fix javadoc

* Update spring-boot-autoconfigure.gradle

* format and clean up java docs

* review changes

* edit host name

* Update TracerProperties.java

* Update instrumentation-core/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/exporters/jaeger/JaegerSpanExporterProperties.java

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* Update instrumentation-core/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/exporters/otlp/OtlpGrpcSpanExporterProperties.java

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* format

* Update instrumentation-core/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/exporters/otlp/OtlpGrpcSpanExporterProperties.java

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* Update instrumentation-core/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/exporters/jaeger/JaegerSpanExporterProperties.java

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* Update instrumentation-core/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/exporters/zipkin/ZipkinSpanExporterProperties.java

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* Update instrumentation-core/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/exporters/zipkin/ZipkinSpanExporterProperties.java

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* fixed properties

* update active tracer config with sampling probability and clean up host/port property javadocs

* fix duration property name to align with docs

* Update spring-boot-autoconfigure.gradle

* Update spring-boot-autoconfigure.gradle

* Update spring-boot-autoconfigure.gradle

* add conditional on managed channel

* conditional on managed channel

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-07-27 11:55:03 +09:00
..
apache-httpclient-4.0 Remove final from local variables (#732) 2020-07-20 13:53:34 +09:00
reactor-3.1 Remove final from local variables (#732) 2020-07-20 13:53:34 +09:00
servlet feat(servlet): content length (#726) 2020-07-21 20:24:32 -07:00
spring add exporter configurations to springboot autoconfigure (#729) 2020-07-27 11:55:03 +09:00
README.md Shade AWS instrumentation library when using in agent (#644) 2020-07-08 12:36:55 +09:00

README.md

Instrumentation Core

These modules for the core logic for library instrumentation. instrumentation should add core logic here which can be set up manually by a user, and agent-specific code for automatically setting up the instrumentation in that folder.

Note, we are currently working on separating instrumentatin projects so that their core parts can be accessed by users not using the agent. Due to the current Gradle setup, we have these two top-level folders, instrumentation and instrumentation-core, but eventually we want to move to flattening them into something like

instrumentation/
  aws-sdk-2.2/
    aws-sdk-2.2/
    aws-sdk-2.2-auto/

Shading core instrumentation

The instrumentation in this folder is intended for use both directly from user apps and from the agent when it automatically adds instrumentation to a user app. This means that the same library may be used both by the agent and the app at the same time, so to prevent any conflicts, we make sure to use a shaded version from the agent, which is not published for use from users, e.g.,

shadowJar {
  archiveClassifier = 'agent'

  configurations = []

  relocate 'io.opentelemetry.instrumentation.awssdk.v2_2', 'io.opentelemetry.auto.instrumentation.awssdk.v2_2.shaded'
}