Commit Graph

4708 Commits

Author SHA1 Message Date
Anuraag Agrawal d8355c672d
Docs for writing new instrumentation... (#652)
* Docs for writing new instrumentation
2020-07-19 14:21:19 +09:00
Alexey Zhokhov f3421e91a0
Remove Lombok (#672)
* Gradle 6.5.1.

* Skip download javadoc and sources automatically in IntelliJ IDEA.

* Added mavenLocal to repositories.

* Removed Lombok usage.

* Removed duplicated idea config.

* Code format.

* Removed useless usage of Objects.requireNonNull.

* Use instanceof to comparing objects.

* Code format.

* Code format.

* Fixes after merge.

* Fixed sneakyThrow exception.

* Code format.
2020-07-18 15:52:55 +03:00
Munir Abdinur 6d47692cd0
Add spring-autoconfigure project (#661) 2020-07-17 22:36:58 -07:00
Trask Stalnaker 1434ea1628
Add anuraaga as a maintainer (#724) 2020-07-17 22:19:12 -07:00
Nikita Salnikov-Tarnovski 9b6b5e621f
Remove http server decorator (#701)
* Ratpack migrated from ServerDecorator

* Finatra migrated from ServerDecorator

* Play 2.3 migrated from ServerDecorator

* Play 2.4 migrated from ServerDecorator

* Play 2.6 migrated from ServerDecorator

* Polish

* Polish

* Organize imports

* Relax muzzle checks

* Ratpack version 1.4 is now supported

* Fix muzzle failures on Play
2020-07-17 20:14:19 +03:00
Anuraag Agrawal 2dfb355332
Support user agent in khttp (#719) 2020-07-17 09:47:32 -07:00
Sergei Malafeev 14b8a8dfab
Document how to specify external exporter jar (#721)
* #713 Document how to specify external exporter jar

Signed-off-by: Sergei Malafeev <sergei@malafeev.org>

* #713 fix format

Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-07-17 16:16:12 +03:00
Munir Abdinur 3662cee7ec
Create instrumentation-core apache-httpclient-4.0 (#694) 2020-07-16 20:00:26 -07:00
Sergei Malafeev 10f24aff65
#702 Do not shadow "io.grpc" from exporters (#715)
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-07-16 19:58:44 -07:00
Helen Y bbf5e75e63
Minor update to the contributing doc (#707)
* Minor update to the contributing doc

* Update CONTRIBUTING.md

Set core.autocrlf locally.

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

* Update CONTRIBUTING.md

Add more clarity.

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

* Use .gitattributes to make spotless respect line endings

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-07-17 08:58:56 +09:00
Nikita Salnikov-Tarnovski 9f1ffbe38c
Remove attribute `span.origin.type` (#712) 2020-07-16 10:00:45 -07:00
Nikita Salnikov-Tarnovski 0e2a85c6dd
Add support for WithSpan.kind() (#711) 2020-07-16 17:14:12 +03:00
Munir Abdinur 5bab5b9d7d
Move webflux context injection to the decorator (#686)
* move webflux context injection to the decorator

* add if statement
2020-07-16 12:12:40 +03:00
Trask Stalnaker e58dd71b74
Remove ota.exporter.jar from OTLP config (#710) 2020-07-16 11:04:27 +03:00
Trask Stalnaker f2022556a7
Make sure that filter chain always runs (#705) 2020-07-16 07:22:38 +03:00
Nikita Salnikov-Tarnovski 23ae6980d5
Lettuce and Cassandra migrated from deprecated Decarator to new Tracer (#681)
* Lettuce and Cassandra migrated from deprecated Decarator to new Tracer

* Polish

* Polish

* Split a connection specific handling out of Lettuce database client tracers.

This eliminates the need of awkward method override in the common DatabaseClientTracer.

* Muzzle fix

* Format
2020-07-15 13:37:22 +03:00
Nikita Salnikov-Tarnovski 2bcd35a251
Bigger timeout for release job (#693)
* Bigger timeout for release job

* Trying to pacify muzzle
2020-07-15 07:18:22 +03:00
Trask Stalnaker 043d8ab836
Fix muzzle failure (#696)
* Fix muzzle failure

* comment
2020-07-15 06:30:59 +03:00
Nikita Salnikov-Tarnovski ac200720c8
Allows actually consume published instrumentation artifacts (#692) 2020-07-14 15:09:17 +03:00
Trask Stalnaker c8bac67ee7
Add otel-java version interop warning (#687)
* Add otel-java version interop warning

* Two fixes

* Improvements
2020-07-14 07:55:08 +03:00
Trask Stalnaker 95593c9ddc
Document more config properties from otel-java (#685) 2020-07-14 07:54:12 +03:00
Nikita Salnikov-Tarnovski 285d4b0f0e
Update docs for 0.6.0 release (#682)
* Update docs for 0.6.0 release

* Format
2020-07-13 19:50:53 +03:00
Munir Abdinur 53eca7bccc
[2] Create instrumentation-core:spring:spring-webflux-5.0-core (#639) 2020-07-13 09:44:41 -07:00
Sergei Malafeev c2ef6ebd2d
Zipkin, Jaeger: use standard exporter configuration from OpenTelemetry Java SDK (#674)
* #531 Zipkin, Jaeger: use standard exporter configuration from OpenTelemetry Java SDK

Signed-off-by: Sergei Malafeev <sergei@malafeev.org>

* #531 remove unused import

Signed-off-by: Sergei Malafeev <sergei@malafeev.org>

* #531 use OkHttpSender for zipkin exporter

Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-07-13 08:38:11 +03:00
Trask Stalnaker 7fd607617b
Fix reactor manual instrumentation publish (#670) 2020-07-12 14:07:29 -07:00
Sergei Malafeev acb5712055
#564 #531 OTLP exporetr: use standard exporter configuration from OpenTelemetry Java SDK (#671)
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-07-12 13:42:19 +03:00
Trask Stalnaker 87c268cfb3
Remove unnecessary shadow (#667) 2020-07-11 23:49:31 -07:00
Trask Stalnaker 8086f88623
Fix references to old artifact name (#664) 2020-07-11 23:49:12 -07:00
Nikita Salnikov-Tarnovski d96a771dd0
Update to otel-java 0.6.0 (#662)
* Working against otel-java 0.6.0-SNAPSHOT

* Muzzle fix

* Better comment

* Now works with otel-java 0.6.0

* Fix muzzle
2020-07-11 09:10:28 +03:00
Nikita Salnikov-Tarnovski 8fa37618a0
Kafka context propagation is configurable for consumer as well. (#656)
* Kafka context propagation is configurable for consumer as well.

`ota.kafka.client.propagation.enabled` configuration property now governs both injecting context on the producer side and reading context on the consumer side.

* Rename config property

* Revert "Rename config property"

This reverts commit 450ea8ffc7.
2020-07-10 21:46:55 +03:00
Min Kim ce14b394f7
Kubernetes java client instrumenting (#651)
* kubernetes java client support

* addressing review comments
2020-07-10 21:24:39 +03:00
Munir Abdinur 556baecd55
[3.2] Create spring-webmvc-3.1-core project (#648)
* [3.2] create spring-webmvc-3.1-core project

* rebase and fix conflicts

* renamed project and removed instrumentation:spring-webmv-3.1 -> instrumentation-core:spring-webmvc-3.1 dependency

* update tracer

* ws

* Update instrumentation-core/spring/spring-webmvc-3.1/src/main/java/io/opentelemetry/instrumentation/springwebmvc/SpringWebMvcServerTracer.java

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

* Update spring-webmvc-3.1.gradle

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-07-10 19:45:40 +03:00
Nikita Salnikov-Tarnovski b77fb267f3
Gradle warnings (#659)
* More gradle warnings fixes

* Disable javadoc where it is definitely not needed

* Polish
2020-07-10 07:57:54 +03:00
Sergei Malafeev fcfee71e7b
Add B3 Single and Jaeger propagators (#658)
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-07-09 19:55:47 +03:00
Anuraag Agrawal f3ed2d320a
Replace deprecated configurations in buildSrc (#653) 2020-07-09 17:00:45 +09:00
Anuraag Agrawal 2ef6aac61c
Separate out core reactor instrumentation (#650)
* Separate out core reactor instrumentation
2020-07-09 14:48:15 +09:00
Munir Abdinur c79be44de2
[1] Create spring-core project in instrumentation-core/spring (#640) 2020-07-08 20:48:54 -07:00
Nikita Salnikov-Tarnovski 763779e08a
Move servlet instrumentations around (#601) 2020-07-08 16:43:36 -07:00
Trask Stalnaker fedd805a44
Fix response header capture (#649) 2020-07-08 08:29:02 +03:00
Sergei Malafeev b78abac82c
#598 Rename "tags" to "attributes" (#645) 2020-07-07 21:03:41 -07:00
Anuraag Agrawal 8f3b7565b0
Shade AWS instrumentation library when using in agent (#644)
* Shade AWS instrumentation library when using in agent

* Cleanup and doc

* spotless
2020-07-08 12:36:55 +09:00
Nikita Salnikov-Tarnovski a62801649f
More fixes for Gradle warnings (#643)
* More gradle deprecation warnings fixed

* More gradle deprecation warnings fixed

* More fixes

* More fixes

Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2020-07-07 15:02:07 +03:00
Nikita Salnikov-Tarnovski 3a4470f800
Server spans (#634)
* Milestone 1

* Netty 4.1 done

* Netty 4.0 done

* Netty 3.8 done

* All tests pass

* Test fix

* Last proper server tracers done

* Format fix

* Tests fixed

* Polish

* Polish
2020-07-07 13:48:51 +03:00
Anuraag Agrawal 817094a0f4
Add jvmargs to gradle.properties to provide more RAM when building (#642)
* Add jvmargs to gradle.properties to provide more RAM when building

* Update gradle.properties

* Update gradle.properties

* Update gradle.properties
2020-07-07 08:50:09 +03:00
Sergei Malafeev 9a5954a8ff
#593 Remove HttpClientTest.READ_TIMEOUT_MS (#635)
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-07-07 08:24:42 +03:00
Nikita Salnikov-Tarnovski d09fa8a943
propagate context across thread pools (#638)
* propagate context across thread pools

* Revert spotbugs plugin version bump
2020-07-07 07:23:45 +03:00
Anuraag Agrawal 924a8fd9b0
Remove unused classes from reactor instrumentation (#641) 2020-07-07 13:04:24 +09:00
Sergei Malafeev 784a1115e7
#590 Remove -XX:MaxMetaspaceSize=1g from gradle.properties (#636)
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-07-06 16:28:19 +03:00
Trask Stalnaker 4f48cf6565
Remove response -> request context store (#630)
* Simplify response to request context store

* Remove response to request context store

* Fix test
2020-07-05 14:39:38 +03:00
Anuraag Agrawal a56630762d
Update test for HTTP client conflict. (#631) 2020-07-03 09:12:03 +09:00