Commit Graph

4747 Commits

Author SHA1 Message Date
Trask Stalnaker 48ef644c90
Run integrationTest as part of test (#817) 2020-07-28 15:21:40 +09:00
Anuraag Agrawal f6594e1a67
Use Span.recordException for logging throwable (#813)
* Use Span.recordException

* Fix tests

* Cleanup

* Update instrumentation/jsp-2.3/src/test/groovy/JSPInstrumentationBasicTests.groovy

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

* Spotless (IntelliJ acts weird with groovy files for me :()

* Update for merge

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-07-28 14:44:42 +09:00
Munir Abdinur 03dce2ab2a
Create exporter starters (#815) 2020-07-27 22:19:30 -07:00
Anuraag Agrawal 4264af28ba
Fix link in Contributing.md (#800) 2020-07-27 22:18:54 -07:00
Nikita Salnikov-Tarnovski 9eb8ba7f86
Update ga-requirements.md (#808)
Add link to smoke tests improving issue #298
2020-07-27 21:59:54 +03:00
Nikita Salnikov-Tarnovski e9215c739f
Temporary workaround for https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/787 (#814) 2020-07-27 20:41:58 +03:00
Trask Stalnaker 6508ffc889
Remove logging instrumentation (#803) 2020-07-27 18:56:25 +03:00
Anuraag Agrawal 91f8e8c199
Use archivesBaseName when publishing. (#809)
* Use archivesBaseName when publishing.

* Fix auto name
2020-07-27 15:01:55 +03:00
Trask Stalnaker 3a24611d4a
Rename kubernetes module (#804) 2020-07-27 10:46:17 +03:00
Anuraag Agrawal c3299fac30
Add instrumentation for Armeria (server) (#756)
* Add instrumentation for Armeria (server)

* Spotless

* Use end timestamp too and fix auto test by not using ClassRule

* Reduce number of less useful lambdas and add reference to useful lambda.

* Cleanup

* README

* Move package to v1_0

* No storage
2020-07-27 15:54:07 +09:00
Trask Stalnaker 010252ce47
Deprecate SpanWithScope (#795)
* Deprecate SpanWithScope

* feedback

* feedback
2020-07-27 08:53:58 +03:00
Anuraag Agrawal 688733ad43
Update OTel snapshot to 723 for recordException (#786)
* Update OTel snapshot to 723 for recordException

* Fix various servlet issues

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-07-27 14:32:05 +09:00
Trask Stalnaker 4cbfef8f68
A couple updates to supported libraries on README (#802) 2020-07-26 22:06:30 -07:00
Anuraag Agrawal 15e4f59a5b
Only run nightly build nightly (#799) 2020-07-27 14:01:45 +09:00
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
Trask Stalnaker d1015a41af
Simplify javaconcurrent instrumentation (#792)
* Remove unnecessary SpanWithScope

* Inline method
2020-07-26 11:30:14 +03:00
Nikita Salnikov-Tarnovski 425ce53853
New way to make patch releases (#788)
* New way to make patch releases

* Simplify release
2020-07-25 22:36:19 +03:00
Trask Stalnaker 9f3b087227
Add type matching benchmark (#768)
* Add type matching benchmark

* Separate out setup

* Model similar to existing ClassRetransformingBenchmark

* feedback

* feedback
2020-07-25 22:19:06 +03:00
Trask Stalnaker 5e7a81e7ba
Document OTEL_RESOURCE_ATTRIBUTES (#783) 2020-07-25 13:55:22 +03:00
Trask Stalnaker 7418143f5e
Split up the CONTRIBUTING doc (#784)
* Split up the CONTRIBUTING doc

* spotless
2020-07-25 13:54:14 +03:00
Nikita Salnikov-Tarnovski 62e68689f0
Use testcontainers in CI as well (#780)
* Use testcontainers in CI as well

* Use testcontainers in CI as well
2020-07-24 12:29:18 +03:00
Nikita Salnikov-Tarnovski 91fde9a915
Update server span (#774)
* Change name on SERVER spans

* Change name on SERVER spans

* Fixes

* Fixes

* Update instrumentation/spring-webmvc-3.1/src/main/java/io/opentelemetry/auto/instrumentation/springwebmvc/DispatcherServletInstrumentation.java

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-07-24 07:46:50 +03:00
Nikita Salnikov-Tarnovski 6ffbc69a47
First draft of nightly build job for master branch (#775) 2020-07-24 07:20:52 +03:00
Tyler Benson 145c6752c8
Merge pull request #646 from trask/dd-merge 2020-07-23 13:58:46 -07:00
Richard Startin 95492b7392 Handle null header values (DataDog/dd-trace-java#1650) 2020-07-23 13:34:12 -07:00
Lev Priima ad1941528c MDC ThreadLocal initValue should be modifiable for SLF4j's copy-on-write thread context map (DataDog/dd-trace-java#1645) 2020-07-23 13:34:12 -07:00
Richard Startin 106b59f11e Exclude clojure standard library and anonymous functions from class transformation (DataDog/dd-trace-java#1642) 2020-07-23 13:34:12 -07:00
Trask Stalnaker d84549e351
Trim down a P1 GA requirement and link from README (#773) 2020-07-23 21:11:58 +03:00
Trask Stalnaker 3b58151579
Add GA requirements doc (#734)
* Add GA requirements doc

* Address feedback

* Update docs/ga-requirements.md

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

* Address feedback

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2020-07-23 17:26:58 +03:00
Helen Y 509a234ee3
Refactor net.peer.name and net.peer.ip (#742) 2020-07-22 20:29:12 -07:00
Trask Stalnaker 4d9ebd7609
Bring back max-workers=6 for CI tests (#759) 2020-07-22 11:27:03 -07:00
Anuraag Agrawal 5fa1efd38c
Target OTel SDK snapshot (#746) 2020-07-22 10:37:56 -07:00
Nikita Salnikov-Tarnovski fcf4319aac
Faster tests (#725)
🎉
2020-07-22 10:10:34 -07:00
Frank Spitulski d6e39f89e6
feat(servlet): content length (#726) 2020-07-21 20:24:32 -07:00
Trask Stalnaker 3cc735742f
Temporary fix for finatra latestDepTest failure (#747) 2020-07-22 11:14:08 +09:00
Anuraag Agrawal f2f3624d17
Inject span context into log4j2 2.13.2+ context. (#735) 2020-07-21 18:49:13 -07:00
Trask Stalnaker d9e740d089
Turn gradlew.bat into a text file (#743) 2020-07-20 23:26:46 -07:00
Trask Stalnaker 83324169fe
Add new triager @malafeev (#741) 2020-07-20 21:15:16 -07:00
Helen Y 86c438b154
Remove final from local variables (#732)
* Remove final from local variables
2020-07-20 13:53:34 +09:00
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