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
Nikita Salnikov-Tarnovski
ac200720c8
Allows actually consume published instrumentation artifacts ( #692 )
2020-07-14 15:09:17 +03: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
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
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
Richard Startin
6b0ee86c99
Exclude JDK class references at build time, reduce allocation in ReferenceMatcher ( DataDog/dd-trace-java#1613 )
2020-06-30 11:13:21 -07:00
Laplie Anderson
45dc02d964
Fix Spring handler mapping affecting character encoding ( DataDog/dd-trace-java#1595 )
2020-06-30 11:13:20 -07:00
Anuraag Agrawal
874b157fe5
Newline between license and package. ( #581 )
2020-06-25 13:31:16 -07:00
Trask Stalnaker
680e3ee3d2
Support metric reader config ( #576 )
2020-06-25 07:39:47 +03:00
Nikita Salnikov-Tarnovski
9a52f6708e
Gradle dependencies cleanup ( #556 )
...
* Bootstrap fixed
* Tooling fixed
* Testing fixed
* All instrumentation tests pass
* All tests pass
* Fix test
* Muzzle workaround
* Muzzle fix
* Update instrumentation/trace-annotation/trace-annotation.gradle
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-06-24 12:01:14 +03:00
Anuraag Agrawal
6f5f67327f
Provide an SPI that an agent distribution or intiializer can use to c… ( #561 )
2020-06-23 20:21:00 -07:00
Richard Startin
4e836f1c72
Replace remaining named disjunctions with namedOneOf or namedNoneOf ( DataDog/dd-trace-java#1584 )
2020-06-23 14:08:45 -07:00
Richard Startin
0fad251165
Introduce matcher for membership of a set of names ( DataDog/dd-trace-java#1583 )
2020-06-23 14:08:45 -07:00
Richard Startin
bc7a3626ed
Iterate type interfaces without materialising a list during super type matching ( DataDog/dd-trace-java#1578 )
2020-06-23 14:08:45 -07:00
Richard Startin
d668b07ae6
Create context store map at most once ( DataDog/dd-trace-java#1570 )
2020-06-23 14:08:45 -07:00
Nikita Salnikov-Tarnovski
d08a1a9c5c
When loading exporter factories via SPI from an external jar, look only inside that jar, and not any parent classloader. ( #569 )
2020-06-23 12:35:12 -07:00
Trask Stalnaker
8b0813c3b9
Fix FieldBackedProvider not getting applied ( #550 )
...
* Fix FieldBackedProvider not getting applied
* Remove unhelpful comment
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2020-06-22 18:48:08 +03:00
Trask Stalnaker
7b06e2fb7a
Remove unnecessary exclusion ( #539 )
2020-06-20 17:53:32 -07:00
John Watson
1c9b54f558
remove the restriction on instrumenting classes in com.newrelic ( #525 )
2020-06-15 20:31:20 +03: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
Tyler Benson
1b29184e7c
Make rootDir usage consistent ( DataDog/dd-trace-java#1518 )
2020-06-11 10:14:02 -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
f0c7deb1a9
Use published MetricExporterFactory ( #493 )
2020-06-11 08:31: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
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
Sergei Malafeev
c86a2af78c
#425 allow only one propagator per concern ( #451 )
2020-05-28 15:08:31 -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
Trask Stalnaker
f50a410fb4
Define packages in exporter class loader ( #409 )
2020-05-18 13:42:41 -07:00
Rashmi
29a18bdf20
Used BatchSpansProcessor instead of SimpleSpansProcessor ( #393 )
...
BatchSpansProcessor won't get blocked by the exporter.
Fixes #368
2020-05-16 13:18:43 -07:00
Carlos Alberto Cortez
009cc6ad1e
Initial Propagators support. ( #389 )
2020-05-14 16:57:52 -07:00
Nikita Salnikov-Tarnovski
6cfe2256ef
Use java 11 for compilation ( #390 )
...
* Allow compiling of everything with java 11
* Instruct CircleCI to use java 11 be default
* Forbid running some tests on java11
* Muzzle uses ClassLoader.platformClassLoader as parent for user-space classloader
2020-05-14 15:13:30 -07:00
Richard Startin
95cac497d2
Replace collection.size() > 0 with not collection.isEmpty() ( DataDog/dd-trace-java#1420 )
2020-05-14 11:50:30 -07:00
Tyler Benson
ca27485a5c
Upgrade Byte Buddy to 1.10.10 ( DataDog/dd-trace-java#1409 )
2020-05-14 11:50:30 -07:00
Trask Stalnaker
86748e3f8d
Shade j.u.l.Logger and slf4j in exporters ( #381 )
2020-05-06 11:48:41 -07:00
Nikita Salnikov-Tarnovski
c9cf7ffb61
Make auto-instr work with latest otel-java snapshot ( #372 )
...
* Make auto-instr work with latest otel-java snapshot
* Add CircleCI workflow to run nightly test job against otel-java snapshot
* Decrease snapshot versions cache time
* Add comments suggest during review
* Add comments suggest during review
* Add missed helper class
* Use released otel-java 0.4.0
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-05-04 23:18:39 -07:00
John Bley
ca296b92fd
Normalize sql statements to elide literal numbers and strings. ( #366 )
...
* Normalize sql statements to elide literal numbers and strings.
* Missed one SlickTest sql normalization.
* Fix muzzle order for helper classes.
* Change name of feature flag
* Upgrade to latest spotless version in an attempt #1 to make the circleci build work.
* Attempt 2 to make circleci build happy - exclude build/generated/** from spotless.
* Attempt 3 to get circleci build working, adding *.java to the exclude line.
* Change exclude of generated files to include of just the src/ directory.
I confirmed that this properly failed the build if I remove a license header from a src/ directory.
2020-05-04 12:17:55 -07:00
Trask Stalnaker
79865a8472
Update code coverage config to be more clear ( #365 )
2020-04-29 16:53:21 -07:00
Trask Stalnaker
62e43d3e54
Bring back code coverage verification ( #357 )
2020-04-28 15:27:44 -07:00
Trask Stalnaker
ecc26226dc
Merge tag 'v0.49.0' into dd-merge
2020-04-18 16:00:00 -07:00
Trask Stalnaker
1f0cd54fd7
Remove copyright year from license header ( #322 )
...
* Update template
* Apply template
2020-04-15 11:24:44 -07:00
Trask Stalnaker
bf5b009ef8
Remove unused code ( #319 )
...
* Remove unused/deprecated code
* Remove unused code
* Remove unused return value
* Remove unnecessary throws clauses
* Remove unused code
* Remove default attribute value
* Remove unused code
* Remove unused code
* Remove unused code
* Remove unused constants
* Remove unused constant
* Remove unused parameter
* Remove unused PostMatchHook
* Remove unused constants
2020-04-14 12:29:24 -07:00
Trask Stalnaker
aa5bc22bcd
Remove no longer needed exclusion ( #315 )
2020-04-14 09:32:03 -07:00
Trask Stalnaker
d24159c8d2
Merge tag 'v0.48.0' into dd-merge
2020-04-12 15:20:10 -07:00
Trask Stalnaker
c545ffa3c2
Merge tag 'v0.47.0' into dd-merge
2020-04-06 13:26:15 -07:00
Trask Stalnaker
e0589e18fe
Do not instrument exporter class loader ( #306 )
2020-04-04 09:29:36 -07:00
Trask Stalnaker
f0354033b2
Add OTLP exporter ( #289 )
2020-03-29 20:33:07 -07:00