Johan Vandeweerd
ac11bba616
Replace operation name with static value
2019-07-22 11:01:41 -07:00
Johan Vandeweerd
35b924b397
Replace span.log with span.tag
2019-07-22 11:01:41 -07:00
Johan Vandeweerd
f5f8fe1c96
Add javadoc to clarify usage of this class
2019-07-22 11:01:41 -07:00
Johan Vandeweerd
e4560ba50f
Instrument all subtypes of ExchangeFunction instead of only ExchangeFunctions$DefaultExchangeFunction
2019-07-22 11:01:41 -07:00
Johan Vandeweerd
0e9edb1205
Aligned instrumentation names between DefaultWebClientInstrumentation and SpringWebfluxHttpClientDecorator
2019-07-22 11:01:41 -07:00
Johan Vandeweerd
091648d4c7
Enable tracing for Spring Webflux WebClient
2019-07-22 11:01:41 -07:00
Johan Vandeweerd
797003b585
Moved Spring Webflux instrumentation code to server subpackage
2019-07-22 11:01:41 -07:00
Tyler Benson
7571b778ad
Merge pull request #886 from DataDog/tyler/netty-client-callback
...
Change the scope for the netty client callback
2019-07-22 11:00:17 -07:00
Luca Abbati
0ff56b0a9f
Improve tests readability moving common instance to test class
2019-07-22 11:19:13 +02:00
Luca Abbati
3817e76130
Apply doubled-check locking + same approach to attributes definition for netty-4.1
2019-07-22 11:15:33 +02:00
Laplie Anderson
f853916dce
Get hostname in a smarter way
...
Attempt to get hostname through environment variables and command before going to DNS
2019-07-19 17:35:52 -04:00
Laplie Anderson
22dc30526a
Merge pull request #925 from DataDog/landerson/resourcename-on-annotation
...
Add resource name to the @Trace annotation
2019-07-19 12:43:19 -04:00
Tyler Benson
ea4fc4ab28
Use NoopSpan instead of null for null parent.
...
Fix some more tests.
2019-07-19 09:26:40 -07:00
Tyler Benson
e692605a3b
Fix formatting
2019-07-19 09:26:40 -07:00
Tyler Benson
53ef8f020f
Additional testing for Vert.x
...
Adds reactive/circuitbreaker tests.
2019-07-19 09:26:40 -07:00
Tyler Benson
0e83304a87
Update Ratpack latest test
2019-07-19 09:26:40 -07:00
Tyler Benson
6ccb0d71d8
Change the scope for the netty client callback
...
Previously the scope was the http client span, which could result in deep nesting. Now it is the parent span.
Before
[——————Parent—————]
[ ^ ———Client—————]
[ ^—Child—]
Now:
[——————Parent—————]
[ ^ —Client—] [ ^—Child—]
Also improve the tests.
2019-07-19 09:26:40 -07:00
Laplie Anderson
cad2a3d4a4
Set resource name in a way that doesn't need to reference DDSpanBuilder
2019-07-19 12:26:17 -04:00
Tyler Benson
ace9b53013
Merge pull request #924 from gygabyte/master
...
Kafka-clients: records(TopicPartition): unit tests + some (potential) improvements
2019-07-19 09:22:09 -07:00
Luca Abbati
5921ed3ed1
Remove code not intended to be there
2019-07-19 18:14:48 +02:00
Laplie Anderson
d101bea085
Add DDSpanBuilder to helper classes of both instrumentations
2019-07-19 12:11:10 -04:00
Pedro Silva
ef5a006df2
changes requested: remove iterator() implementation from TracingList. refactor unit tests to expect only one element to be consumed. Kafka embedded instance as a Rule
2019-07-19 16:45:34 +01:00
Luca Abbati
9f0ec7ec49
Update helper classes
2019-07-19 17:24:58 +02:00
Luca Abbati
95a963a364
Fix build with additional WeakHash map implementation
2019-07-19 17:05:40 +02:00
Luca Abbati
edacd7a41d
Refactor weak hash map to be able to reuse functionalities
2019-07-19 16:18:38 +02:00
Laplie Anderson
1214b90a25
Add a sleep to ensure everything is started up
2019-07-19 10:10:24 -04:00
Laplie Anderson
331b8c8e99
Add resource name to the @Trace annotation
2019-07-19 09:52:19 -04:00
Pedro Silva
2627a452c0
unit tests for records(TopicPartition) method of kafka-clients instrumentation. introduce safeguards when instrumenting iterator() so that duplication of traces is not allowed. do not allow subList() to be instrumented
2019-07-18 23:09:33 +01:00
gygabyte
2e51afc22c
Merge pull request #2 from DataDog/master
...
merge from original
2019-07-18 22:52:53 +01:00
Tyler Benson
13b794c504
Merge pull request #917 from DataDog/tyler/null-span-in-scope
...
Assert span in scope can't be null and add tests to verify
2019-07-18 13:43:19 -07:00
Laplie Anderson
74099735ed
Java 7 doesn't have Process.waitFor(time) so use Spock's timeout
2019-07-18 16:28:35 -04:00
Laplie Anderson
8909e7d4e1
Java 7 complains about this type
2019-07-18 15:44:22 -04:00
Tyler Benson
17d26a4934
Assert span not null and use NoopSpan instead.
2019-07-18 12:38:49 -07:00
Laplie Anderson
e99b974cb3
Don't use isAlive() in tests and do more in the CLI app
2019-07-18 15:19:09 -04:00
Laplie Anderson
41a2e7b51a
Cli Application smoke test
...
simple cli application and test
2019-07-18 11:14:59 -04:00
Luca Abbati
35b928be7c
Refactor ClassLoaderScopeWekaMap
2019-07-18 15:34:26 +02:00
Nikolay Martynov
05af20d29c
Merge pull request #921 from DataDog/mar-kolya/fix-javadoc
...
Minor javadoc fix
2019-07-18 09:03:37 -04:00
Nikolay Martynov
ab7786d352
Minor javadoc fix
2019-07-17 16:58:29 -04:00
Laplie Anderson
0f9b28df27
Merge pull request #914 from DataDog/landerson/google-http-client
...
Instrumentation of Google Http Client
2019-07-17 16:17:38 -04:00
Laplie Anderson
fb5e9c98dc
Merge pull request #920 from DataDog/landerson/container-tagging
...
Container ID Tagging
2019-07-17 16:12:04 -04:00
Laplie Anderson
5956f51e07
Change container info to a singleton ContainerInfo
...
DDTraceOTInfo wasn't the best place for container information. Changed ContainerInfo.java to have a static instance
2019-07-17 13:01:08 -04:00
Laplie Anderson
719bf0ad76
Remove reference to private repo
2019-07-17 12:00:31 -04:00
Luca Abbati
e3a6d40e77
Add tests for ClassLoaderScoperWeakMap
2019-07-17 12:46:24 +02:00
Luca Abbati
48aff5f754
Add all helpers required for ClassLoaderScopedWeakMap usage + re-enable all tests
2019-07-17 09:49:26 +02:00
Laplie Anderson
d03a2a95e2
Change to @Getter/@Setter to be above coverage threshold
...
Since toString(), equals(), and hashCode() are never called, the code coverage for the classes are too low.
In the future, we should ignore code coverage of lombok generated methods
2019-07-16 19:09:00 -04:00
Laplie Anderson
4853801813
Add container id headers to request builder
2019-07-16 18:29:59 -04:00
Laplie Anderson
9dbe3a0a17
Fix part of path to match
2019-07-16 18:29:59 -04:00
Laplie Anderson
d74ffc3db0
Parsing tests from RFC and reference impl
2019-07-16 18:29:59 -04:00
Laplie Anderson
369658c200
Initial cgroups parsing implementation
2019-07-16 18:29:59 -04:00
Tyler Benson
7d6bdcc35d
Merge pull request #916 from DataDog/tyler/remove-ss-default
...
Remove default instance
2019-07-16 13:23:16 -07:00