Commit Graph

4576 Commits

Author SHA1 Message Date
Trask Stalnaker 6bb31f5c54
Update save actions (#520)
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2020-06-15 07:46:12 +03:00
Nikita Salnikov-Tarnovski e61ff5bac2
Rename auto-exporters' artifacts names (#514) 2020-06-14 10:53:51 -07:00
Nikita Salnikov-Tarnovski c11835963f
Vert.x instrumentation improvements (#503)
* Support for Vert.x rx-java async tasks

* Use Vert.x route for server span name

* Move reactive Vert.x instrumentation into separate module

* Test fixes

* Format fixes

* Polish

* Fix license header

* Add Vert.x to README
2020-06-13 23:18:30 +03:00
Trask Stalnaker 4a26bd3ce7
Simplify setting of user.principal attribute (#509) 2020-06-13 12:11:03 +03:00
Trask Stalnaker 4b665dcbe2
Changed instrumentation tracer" TRACER.startSpan() to never return `null` (#499) 2020-06-12 16:15:38 -07:00
Munir Abdinur 3cd9ffa370
Empty gradle project (#497) 2020-06-11 18:41:18 -07:00
Tyler Benson 5ce2f39124
Merge pull request #481 from trask/dd-merge 2020-06-11 14:20:25 -04:00
Richard Startin 57c0aed1fa Use ClassValue to store ThreadLocal call depth (DataDog/dd-trace-java#1528) 2020-06-11 10:14:07 -07:00
Richard Startin badfbb8b18 Change error bound so test should almost never fail (DataDog/dd-trace-java#1525) 2020-06-11 10:14:07 -07:00
Brian Devins-Suresh f200b4cbed Ignore proxool proxy classes (DataDog/dd-trace-java#1524) 2020-06-11 10:14:07 -07:00
Richard Startin 13264b3560 Add record.queue_time_ms to rabbitmq consumer span tags (DataDog/dd-trace-java#1522) 2020-06-11 10:14:07 -07:00
Richard Startin c61034c945 Fix elasticsearch test flakiness (DataDog/dd-trace-java#1513) 2020-06-11 10:14:07 -07:00
Tyler Benson 1b29184e7c Make rootDir usage consistent (DataDog/dd-trace-java#1518) 2020-06-11 10:14:02 -07:00
Tyler Benson f2bf50684a Use Retry.Mode.SETUP_FEATURE_CLEANUP to improve Elasticsearch test flakiness (DataDog/dd-trace-java#1494) 2020-06-11 10:12:11 -07:00
Nikita Salnikov-Tarnovski 9f44348217
Embed exporters into agent jar (#491)
* Embed all exporters into agent jar

* Publish agent with exporters and without

* Polish
2020-06-11 09:41:11 +03:00
Trask Stalnaker a5128fcd53
Support non-monotonic metrics (#494)
* Support non-monotonic metrics

* Fix check build

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2020-06-11 09:40:25 +03:00
Trask Stalnaker f0c7deb1a9
Use published MetricExporterFactory (#493) 2020-06-11 08:31:58 +03:00
Nikita Salnikov-Tarnovski ae03d88c20
Enable publishing to Artifactory OSS (#489) 2020-06-10 07:34:09 +03:00
Anuraag Agrawal 2600cb2056
Add missing AWS SDK helper. (#483) 2020-06-09 20:04:22 -07:00
Munir Abdinur 5b7304e9f0
Otel-Spring-Contrib: First draft of readme with initial details (#484) 2020-06-09 14:58:20 -07:00
Nikita Salnikov-Tarnovski 31177c2fa9
Disable publishing to Artifactory OSS until it is properly configured on JFrog side (#486) 2020-06-09 20:57:34 +03:00
Nikita Salnikov-Tarnovski c248f140aa
Artifactory and bintray publish (#403)
* Artifactory and bintray publish

* Delegate version management to Nebula

* Proposal of new release process

* New CI jobs for releasing

* Fix nebula versioning

* Polish

* Fix CI

* Publish snapshot from master must depend on test_8

* Fix repo name

* Restore version file creation

* Use correct env variable for Bintray credentials

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-06-09 07:56:12 +03:00
Anuraag Agrawal f13a9c4932
Move client span creation to decorator and automatically suppress creation of neste… (#460)
* Move client span creation to decorator and suppress creation of nested client spans.

* Store subtree client span in context.

* Apply new pattern to AWS V1 SDK instrumentation too, cleanup, and javadoc
2020-06-08 12:01:43 -07:00
Nikita Salnikov-Tarnovski 8ee54389da
Try to fix flaky test by replacing list comparison with set comparison (#480) 2020-06-08 20:00:38 +03:00
Anuraag Agrawal 5792ec3ada
Allow specifying a JAR to control OTel SDK SPI. (#449)
* Allow specifying a JAR to control OTel SDK SPI.

* Update README.md

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-06-08 19:33:27 +03:00
Nikita Salnikov-Tarnovski 357fb6e989
Deduplicate servlets (#469)
* Servlet instrumentations unified

* Grizzly migrated

* Fix tests after merge

* Polish and fix tests

* Polish and fix tests

* Muzzle fixes

* Muzzle fixes

* Muzzle fixes

* Test fixes

* One more check fixed

* Stop using SpanWithScope

* Test fix

* Compilation fix

* Apply suggestions from code review

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

* Update agent-bootstrap/src/main/java/io/opentelemetry/auto/bootstrap/instrumentation/decorator/HttpServerTracer.java

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

* Polish

* Tracer does not manage scope anymore

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-06-08 10:49:58 +03:00
Rashmi 109d684152
Configured trace config to read from env vars/sys props (#479)
* Configured trace config to read from env vars/sys props

* Fixed the codenarc violation

* Addressing review comments

1. Updated span count target to num_tries in the test since SpanCounter stops counting spans as soon as it hits the targets

* Extracted the configure method outside of installExportersFromJar

* Addressing comments
2020-06-08 09:54:18 +03:00
Nikita Salnikov-Tarnovski 1c59062aae
0.5.0 (#476)
* Update to otel-java 0.5.0-SNAPSHOT (#462)

* Update to otel-java 0.5.0-SNAPSHOT

* Tests pass

* Check fix

* Switch to otel-java 0.5.0

* Add TODOs
2020-06-05 20:11:49 +03:00
Rashmi cfade733b8
Fixed Mongo client double tracing bug (#471)
* Fixes #457

* Addressing review comments
1. Added comments in test
2. Fixed latestDepTest failures in MongoAsyncClient by adding `declaresField`
3. Made TracingCommandListener inline in MongoClientAdvice

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2020-06-04 19:48:05 +03:00
Trask Stalnaker dff7907666
Add roadmap (#468) 2020-06-03 11:20:54 -07:00
Trask Stalnaker 96fa7b8c31
Merge changes from dd-trace-java 0.53.0 (#456)
* Add time in queue (DataDog/dd-trace-java#1481)

* Minor upgrades (DataDog/dd-trace-java#1495)

* Allow user to disable kafka time in queue tag (DataDog/dd-trace-java#1487)

* Replace Set<Integer> with BitSet for HTTP statuses (DataDog/dd-trace-java#1496)

* Register WeakMapProvider earlier in AgentInstaller (DataDog/dd-trace-java#1480)

* Update codenarc (DataDog/dd-trace-java#1500)

Co-authored-by: Tyler Benson <tyler.benson@datadoghq.com>
Co-authored-by: Nikolay Martynov <mar.kolya@gmail.com>
Co-authored-by: Richard Startin <richard.startin@datadoghq.com>
2020-06-02 18:20:54 +03:00
jeffalder 15ef21f40d
Minor typo fix (#467) 2020-06-01 12:26:40 -07:00
Anuraag Agrawal 9c63890d29
Intercept calls to ClientOverrideConfiguration to apply our instrumen… (#453) 2020-05-31 09:25:39 -07:00
Trask Stalnaker 015be46ec2
Remove unnecessary version constant (#455) 2020-05-31 06:31:38 +03:00
Trask Stalnaker 35d4f61854
Remove printlns that were accidentally committed (#459) 2020-05-31 06:30:38 +03:00
Trask Stalnaker 359eb07445
Updates to reflect new repo name (#454) 2020-05-30 11:56:12 -07:00
Sergei Malafeev c86a2af78c
#425 allow only one propagator per concern (#451) 2020-05-28 15:08:31 -07:00
Nikita Salnikov-Tarnovski 6aee3837d6
Fixes integration with latest version of Finatra (#450) 2020-05-28 11:53:41 -07:00
Trask Stalnaker dbec1fbd97
Fix sporadic grizzly test failure (#448) 2020-05-28 10:25:49 +03:00
Trask Stalnaker 5c7e321521
Fix sporadic Elasticsearch test failures (#444) 2020-05-27 12:20:51 -07:00
Anuraag Agrawal d4a14f6b98
Separate out core instrumentation for AWS SDK to allow manual setup o… (#421)
* Separate out core instrumentation for AWS SDK to allow manual setup of instrumentation.

* Instrumentation core test
2020-05-27 10:43:56 -07:00
Tyler Benson 6c619ab114
Merge pull request #433 from trask/dd-merge 2020-05-26 16:25:04 -04:00
Tyler Benson 6a6ea807ea Disable CI cache for muzzle (DataDog/dd-trace-java#1479) 2020-05-26 11:55:00 -07:00
Richard Startin 8b6536e31c Remove Java 9 and 10 from the build (DataDog/dd-trace-java#1473) 2020-05-26 11:54:59 -07:00
Tyler Benson b7ac69ee14 More refactoring for ScopeManager (DataDog/dd-trace-java#1467) 2020-05-26 11:54:59 -07:00
Richard Startin d8c9639fbb Grizzly-http and grizzly-client instrumentation (DataDog/dd-trace-java#1365) 2020-05-26 11:54:59 -07:00
Tyler Benson ebebbc7dae Wrap log statements using varargs to avoid object allocation (DataDog/dd-trace-java#1466) 2020-05-26 11:54:57 -07:00
Brian Devins-Suresh ec0c313a78 Save circle cache with name matching restore patterns (DataDog/dd-trace-java#1457) 2020-05-26 11:54:57 -07:00
Tyler Benson 77ae5434d5 Attempt to improve muzzle time by randomly ignoring versions until 10 remain (DataDog/dd-trace-java#1451) 2020-05-26 11:54:57 -07:00
Brian Devins-Suresh 67219faf25 Add version specific names to allow disabling only a specific version (DataDog/dd-trace-java#1456) 2020-05-26 11:54:56 -07:00