Tyler Benson
4a8bea4602
Merge pull request #833 from DataDog/tyler/ratpack-resource-naming
...
Fix resource name for Ratpack
2019-05-16 08:58:26 -07:00
Luca Abbati
85684f955b
Remove unused imports from test
2019-05-16 14:51:27 +02:00
Luca Abbati
2a975b31ee
Adapt test to new DDTracer constructor and unserializable field
2019-05-16 14:35:56 +02:00
Luca Abbati
10069847a3
Define the concept of applicationRootSpanTags and apply only to root
...
tags
2019-05-16 12:25:43 +02:00
Luca Abbati
0e9f9d9d02
Refactor names of DDSPan's methods to interact with root span
...
The naming of methods in DDSpan used to detect/retrieve the root span
for a fiven span were slightly misleading. Specifically 'isRootSpan()'
returned true if and only if the span is the root span of teh entire
trace(even in the context of distributed tracing), while getRootSpan()
return the root span of the trace fragment generated by the currently
traced application. I hope that trenaming such methods to
'isTraceRootSpan()' and 'getApplicationRootSpan()' respectively will
help adding some clarity.
The old method names have not been removed for backward comptibility
reasons and tests have been added, but they have been marked as
deprecated.
2019-05-16 11:31:37 +02:00
Tyler Benson
3bbf9f27eb
Fix resource name for Ratpack
...
Previous fallback would inadvertently include query parameters in the resource name.
2019-05-15 16:30:51 -07:00
Luca Abbati
23ffcf0fce
Apply workaround to refresh configuration values during tests
2019-05-15 16:00:14 +02:00
Luca Abbati
8231ea1cb2
Merge branch 'master' of github.com:DataDog/dd-trace-java into labbati/hostname
2019-05-15 13:48:26 +02:00
Luca Abbati
c8a04b0a4f
Refactor hostname detection in tracer
2019-05-15 13:42:43 +02:00
Tyler Benson
cc23fee614
Add config to enable individual executors
...
Or all executors, bypassing the allow list.
`dd.trace.executor=com.MyCustomExecutor,com.OtherExecutor`
`dd.trace.executors.all=true`
Turns out in many cases, executors that we say we’re skipping, are still being traced because they extend from an already instrumented executor.
2019-05-14 10:03:44 -07:00
Nikolay Martynov
ad2663d840
Merge pull request #829 from DataDog/mar-kolya/update-checkstyle
...
Update checkstyle to latest public version
2019-05-13 15:14:41 -04:00
Nikolay Martynov
f3d808d540
Update checkstyle to latest public version
2019-05-13 13:14:28 -04:00
Luca Abbati
7fd16d1eef
Add tests for hostname detection
2019-05-13 18:31:15 +02:00
Luca Abbati
c15ecc8026
Properly format code
2019-05-13 11:48:38 +02:00
Nikolay Martynov
068b436682
Merge pull request #828 from DataDog/mar-kolya/remove-unused-config-field
...
Remove unused config field
2019-05-10 16:04:18 -04:00
Nikolay Martynov
076d14f727
Remove unused config field
2019-05-10 13:45:43 -04:00
Nikolay Martynov
d2fbc4b8e1
Merge pull request #825 from DataDog/mar-kolya/clarify-log-messages
...
Clarify log messages when tracing is disabled
2019-05-10 10:30:27 -04:00
Luca Abbati
938740569f
Set the hostname on root spans
2019-05-10 16:12:15 +02:00
Nikolay Martynov
ba02250cf6
Clarify log messages when tracing is disabled
2019-05-09 16:12:35 -04:00
Luca Abbati
cd0afa947c
Test that JMX fetch enabling by default can be overwritten
2019-05-09 17:18:35 +02:00
Luca Abbati
440cb0e3d9
Verify JmxFetch is enabled by default
2019-05-09 17:18:35 +02:00
Luca Abbati
1d75ff6324
Enable JMXFetch by default
2019-05-09 17:18:35 +02:00
Nikolay Martynov
e4416464cb
Merge pull request #824 from DataDog/mar-kolya/allow-tracing-agent-to-be-disabled
...
Update to latest versions of groovy and spock
2019-05-09 10:49:07 -04:00
Nikolay Martynov
5ff04bd1e9
Allow tracing be disabled via config
2019-05-09 10:20:06 -04:00
Nikolay Martynov
2984cc506e
Limit okhttp latest deps test to 3.x.x
2019-05-09 10:17:35 -04:00
Nikolay Martynov
c0bb6f4a36
Fix minor typo
2019-05-09 09:44:42 -04:00
Luca Abbati
0dd6659c80
Add configuration param to report hostname
2019-05-09 12:27:13 +02:00
Nikolay Martynov
c80749c793
Update to latest versions of groovy and spock
2019-05-08 13:27:04 -04:00
Tyler Benson
38a9804953
Merge pull request #821 from DataDog/tyler/manifest
...
Add implementation details to each jar manifest.
2019-05-07 10:49:23 -07:00
Nikolay Martynov
e25a46bb33
Merge pull request #822 from DataDog/mar-kolya/update-gradle
...
Update gradle to 5.4.1
2019-05-07 13:13:48 -04:00
Nikolay Martynov
5e2a9ef5ed
Update gradle to 5.4.1
2019-05-07 12:47:15 -04:00
Tyler Benson
0ea9a701a3
Add implementation details to each jar manifest.
2019-05-06 16:14:41 -07:00
Tyler Benson
38adbbd42d
Merge pull request #819 from DataDog/labbati/begin0.28.0
...
Begin 0.28.0
2019-05-03 13:14:09 -07:00
Luca Abbati
ab4f2350de
Begin 0.28.0
2019-05-03 21:47:41 +02:00
Luca Abbati
c2a47adf20
Version 0.27.0
2019-05-03 19:47:14 +02:00
Tyler Benson
c263ea1bc8
Merge pull request #818 from DataDog/tyler/fix-instrumentation-name
...
Fix instrumentation names for apache httpasyncclient
2019-05-03 10:05:04 -07:00
Tyler Benson
376451c031
Fix instrumentation names for apache httpasyncclient
2019-05-03 09:58:05 -07:00
Tyler Benson
745fc70b58
Merge pull request #816 from DataDog/tyler/make-field-transient
...
Add transient modifier to added context fields.
2019-05-03 08:34:19 -07:00
Tyler Benson
668c77abe0
Merge pull request #815 from DataDog/tyler/fix-es
...
Remove latestDepTest for Elasticsearch Transport 5
2019-05-03 08:34:00 -07:00
Tyler Benson
579b6dd929
Add transient modifier to added context fields.
2019-05-02 15:52:43 -07:00
Tyler Benson
4b1fcdea04
Remove latest dep test for transport-5
2019-05-02 14:44:31 -07:00
Tyler Benson
0a234872e9
Try limiting latest to 5.1.x
2019-05-02 14:04:07 -07:00
Tyler Benson
8a38b6fc1e
Skip ES tests in CI.
2019-05-02 12:26:39 -07:00
Tyler Benson
82f50e22b7
Merge pull request #811 from DataDog/tyler/hystrixobservable
...
Add support for HystrixObservableCommand
2019-05-02 09:47:09 -07:00
Tyler Benson
598999128e
Merge pull request #803 from DataDog/tyler/osgi
...
Improve classloading issues for OSGi and Glassfish.
2019-05-02 07:42:57 -07:00
Tyler Benson
793627c167
Fix tests
2019-04-30 15:55:12 -07:00
Tyler Benson
c8743fce64
Remove potentially dangerous recursive call.
2019-04-30 14:53:15 -07:00
Tyler Benson
ac734ac6ee
More classloading issues with Glassfish
...
Glassfish’s WebappClassLoader caches when a resource or class load fails, so we can’t load as a resource first to see if it is available.
Also add additional logging.
2019-04-30 12:38:54 -07:00
Tyler Benson
2c5ae9f3b1
Make OSGi instrumentation more generic
...
This should help it work with felix.
Also reduce log noise.
2019-04-30 12:38:54 -07:00
Tyler Benson
c971c434d1
Fix propagation and add onUnsubscribe handler
...
Ensures that span is closed when Observable is unsubscribed from.
Also added retransform error logger since retransforms might be missed if an exception is thrown, leading to odd behavior.
2019-04-30 11:52:20 -07:00