Trask Stalnaker
0514c6655d
Normalize tag verification ( #30 )
...
* Normalize tag verification order
* Add missing tag verification
2019-12-02 18:44:43 -08:00
dougqh
6b096c2240
Replacing Advice.class references
...
Replacing Advice.class references with string construction.
This stops the JVM from loading the Advice classes which are used as templates for byte buddy and doesn't ever need to be run directly.
This eliminates ~130 class loads at start-up -- and saves 0.5MiB in metaspace
2019-11-18 16:09:30 -05:00
Trask Stalnaker
86bd9793bd
Switch to new Tags class in instrumetation
2019-10-24 21:05:00 -07:00
Trask Stalnaker
8bb0f2c2f0
Use header objects directly where possible
2019-10-21 18:21:01 -07:00
Trask Stalnaker
5f0a2ae6b4
Update kafka-streams-0.11 to new agent api
2019-10-19 16:52:41 -07:00
dougqh
f785fb2314
Pin spring-kafka at 2.2
...
Pinning spring-kafka @ 2.2 to fix breaking changin in spring-kafka-test 2.3
2019-10-03 16:53:39 -04:00
Tyler Benson
95a294a560
Remove common (redundant) dependencies
2019-08-06 14:51:04 -07:00
Nikolay Martynov
f4aa8be7c5
Make kafka streams test more stable
2019-07-11 11:07:17 -04:00
Nikolay Martynov
3ecc7c123d
Wait for traces in kafka streams tests
2019-07-11 10:51:55 -04:00
Nikolay Martynov
765b76b0ae
Fix kafka-streaming tests broken by records(TopicPartition) instrumentation
2019-07-11 10:31:18 -04:00
Tyler Benson
8c860d63a4
Revert Pull Request #854 and #855
...
These are breaking changes that need more vetting.
2019-05-29 12:18:31 -07:00
Nikolay Martynov
80a5cc6025
Set kafka client service name to application default service name.
...
So that spans inheriting from that client span have application
service name rather than 'kafka'
2019-05-23 20:21:03 -04:00
Tyler Benson
e098e6bd64
Migrate kafka instrumentation to Decorator.
2019-02-28 16:27:31 -08:00
Tyler Benson
50279d64fe
Span type should only be an attribute and not inherited
...
Previously we were inheriting from the parent and also often setting as a tag.
Apply default span assertion to verify the spanType is being checked properly. (Include error state too.)
2019-02-28 12:39:51 -08:00
Tyler Benson
fe52180bfc
Apply proper generic signature for Instrumenter.Default transformers()
...
Previously it was missing the MethodDescription portion.
2019-01-04 15:25:12 -08:00
Tyler Benson
983077d150
Move mock/assert deps out of common dependencies
2018-11-30 10:02:26 -08:00
Gary
90777f4b39
Retire/remove version scan
...
Remove version scan dead code and unnecessary classLoaderMatcher methods in instrumentations. Depends on #572
2018-11-26 18:21:56 -05:00
Nikolay Martynov
7dae6df890
In kafka latest deps test make sure that kafka version matches kafka client libs
...
This seems to help with compatibility
2018-11-22 21:02:05 -05:00
Tyler Benson
5e194ef06c
Fix latestDepTests for Kafka Streams, Netty, and Okhttp
2018-11-12 08:15:24 -08:00
Tyler Benson
9bd2b86d2e
Add assertion to ensure latestDepTest dependencies are different from test.
2018-11-12 08:15:24 -08:00
Nikolay Martynov
34372533c1
Add config for tags that propagate to JMXFetch and spans
...
Also add runtime-id tag to root span and JMXFetch metrics
2018-10-22 15:51:20 -04:00
Gary Huang
ea0600c0c3
Muzzle Kafka Client & Streams Instrumentation
...
Add muzzle blocks and remove class loader matcher methods.
2018-09-07 20:11:01 -04:00
Tyler Benson
4583d12b31
Cleanup method signatures and servlet 2 instrumentation
...
adding the abstract servlet instrumentation reduces code duplication and makes it more similar to servlet 3 instrumentation.
2018-08-13 15:14:10 +10:00
Tyler Benson
b5c8a8b8fc
Apply formatter on gradle files.
2018-07-31 12:04:00 +10:00
Gary Huang
6317b21d5c
Fix merge conflicts with service mapping change
2018-07-26 09:16:41 -04:00
Nikolay Martynov
5c1ac58c3f
Fix flaky test in kafka streaming
2018-07-24 23:41:01 -04:00
Gary Huang
93e70dcef6
Address comments and add test case for extracting non numeric IDs
2018-07-24 14:04:52 -04:00
Nikolay Martynov
3d8e76c2a4
Get rid of `WRITER_PHASER`
...
We have alternative way of doing the same thing and `Phaser` seems to be
not very correct way of doing this anyway.
2018-07-24 11:41:48 -04:00
Andrew Kent
02a3e6a5d3
New Instrumentation API
2018-07-06 17:17:32 -04:00
Tyler Benson
3781a71e5f
Fix version upgrading for latestDepTests
2018-05-22 15:14:11 +10:00
Tyler Benson
f35e2e6ebe
Remove various warnings and other cleanup
...
Also upgrade some plugins.
2018-05-04 14:05:06 +10:00
Tyler Benson
7c4d42ef8a
Add additional test task for testing latest versions of a dependency
2018-05-04 14:04:30 +10:00
Tyler Benson
63d308e50d
Misc cleanup/minor changes
2018-05-01 10:24:14 +10:00
Tyler Benson
cd289308bb
Remove timeouts.
...
Not helping as much as was hoped. Causing extra noise in CI.
2018-04-30 11:10:18 +10:00
Tyler Benson
a1a2a0db27
Improve naming for instrumentation class.
2018-03-30 10:54:15 +08:00
Tyler Benson
513cded8aa
Advice shouldn’t reference fields from non-injected classes
...
It might not be accessible on the classpath and cause failures.
2018-03-30 10:50:07 +08:00
Tyler Benson
71eb71e53e
Enable instrumentation by default and rev version.
2018-03-29 11:46:15 +08:00
Andrew Kent
a004337576
Remove opentracing from TestRunner fields to support single test run
2018-03-22 21:16:36 -07:00
Andrew Kent
3eac216a04
Use defaultTransformers in all instrumentation
2018-03-20 15:59:11 -07:00
Tyler Benson
c99f10c0d2
Decouple trace flush from collection
...
Wait until all spans are finished or garbage collected before reporting trace.
2018-03-09 14:31:48 +10:00
Tyler Benson
574ba6d954
Merge pull request #237 from DataDog/tyler/set-timeout
...
Set timeouts on all the tests.
2018-02-22 13:16:04 +10:00
Tyler Benson
903248ddf2
Set timeouts on all the tests.
2018-02-21 12:09:57 +10:00
Tyler Benson
a3a70e6ea3
Remove unneeded dependency on dd-trace-ot.
2018-02-21 12:08:05 +10:00
Andrew Kent
cfef64b026
Reorganize dd-java-agent subprojects
2018-02-15 18:55:02 -08:00
Tyler Benson
c9da16f334
Add resource naming instrumentation for jax-rs
2018-02-14 19:18:01 +10:00
Tyler Benson
1bfceb0d53
Use Field.ERROR_OBJECT instead of string
2018-02-07 12:02:10 +10:00
Tyler Benson
7d28a32fba
Allow instrumentation to be disabled
...
By default, instrumentation is enabled, and can be disabled by default by overriding the `defaultEnabled` method. Instrumentation can also be disabled individually or enabled when default is disabled.
2018-02-06 11:20:05 +10:00
Tyler Benson
4314f71ab7
Kafka and Kafka Streams instrumentation
...
This includes propagation and traces for producers and consumers.
2018-02-01 20:04:40 +10:00