Nikolay Martynov
ab7786d352
Minor javadoc fix
2019-07-17 16:58:29 -04:00
Luca Abbati
c16a0844d8
Enable tracing of jax-rs client in sun package
2019-07-10 13:05:12 -04:00
Luca Abbati
f01d473d10
Merge pull request #894 from DataDog/labbati/log4j
...
Support log trace injection for log4j 1.x and log4j 2.x when used without Slf4j
2019-06-21 16:36:26 -04:00
Luca Abbati
ac7abcdfa8
Fix expression to include tracing of log4j1 MDC in agent installer
2019-06-21 15:52:20 -04:00
Laplie Anderson
2e66aea741
Fix formatting issue
2019-06-21 15:52:01 -04:00
Laplie Anderson
ad822d81f9
Fix imports to match project style
...
* imports in groovy and the ordering of lombok was incorrect
2019-06-21 14:19:45 -04:00
Laplie Anderson
d80406843f
Add "http.query.string" and "http.fragment.string" to DDTags
2019-06-21 14:05:34 -04:00
Luca Abbati
ecdf6664ef
Refactor log4jX instrumentations
2019-06-20 17:36:10 -04:00
Luca Abbati
34d589e536
Create a reusable log context listener to be used for slf4j, log4j1 and log4j2
2019-06-20 17:07:28 -04:00
Luca Abbati
dcf0f57030
Add support for log4j 1.x
2019-06-20 16:08:49 -04:00
Tyler Benson
4c5793bddf
Add `dd.trace.db.client.split-by-instance` Config
2019-06-13 15:52:37 -07:00
Luca Abbati
075b30053d
Merge pull request #863 from DataDog/labbati/non-static-config
...
Avoid usage of static getters when accessing configuration parameters
2019-06-13 18:06:15 +02:00
Tyler Benson
ec3b586c2f
Merge pull request #866 from DataDog/tyler/jdbc-instance
...
Attempt to properly parse out instance name from JDBC url
2019-06-13 08:15:02 -07:00
Luca Abbati
a522196b49
Merge branch 'master' of github.com:DataDog/dd-trace-java into labbati/non-static-config
2019-06-12 23:57:20 +02:00
Luca Abbati
e1ceda8f0e
Improve config usage as instance based on CR
2019-06-12 14:00:36 +02:00
Nikolay Martynov
6d5972bce1
Make agent-tooling compile-depend on dd-tracing-ot directly
...
This ensures that `dd-tracng-ot` gets included into shadow jar.
Before this patch it was included only 'by accident' via some
transitive dependencies of some instrumentations.
2019-06-11 14:49:44 -04:00
Nikolay Martynov
8fa14ad33e
Remove DDJavaAgentInfo - it doesn't seem to be used
2019-06-07 22:56:32 -04:00
Nikolay Martynov
78d014cf91
Fix DDInfoTest
...
This test was not marked as `Specification` and therefor was not run
during builds. Some time ago some code got moved around and this test
got broken - so fixing it.
2019-06-07 22:56:32 -04:00
Tyler Benson
ec60d679d6
Add Oracle support and fix muzzle.
2019-06-06 18:03:56 -07:00
Luca Abbati
1dc8467c26
Merge branch 'master' of github.com:DataDog/dd-trace-java into labbati/non-static-config
2019-06-06 18:11:43 +02:00
Nikolay Martynov
7863a68a53
Fix typo
2019-06-06 09:41:36 -04:00
Luca Abbati
8debe771d4
Fix tests after changing config from static to instance access
2019-06-05 10:56:20 +02:00
Luca Abbati
901efee50e
Remove static usage of low level config methods from outside the config class
2019-06-04 15:13:40 +02:00
Tyler Benson
8016e22bc4
Review changes
2019-05-31 09:07:22 -07:00
Tyler Benson
9cdf049ca7
Extract ConfigUtils
2019-05-30 09:09:29 -07:00
Tyler Benson
71101ac8d0
Add http.query.string tag when enabled
...
Disabled by default.
Enable for http servers with:
* System Property: `dd.http.server.tag.query-string=true`
* Environment Variable: `DD_HTTP_SERVER_TAG_QUERY_STRING=true`
Enable for http clients with:
* System Property: `dd.http.client.tag.query-string=true`
* Environment Variable: `DD_HTTP_CLIENT_TAG_QUERY_STRING=true`
2019-05-29 13:54:35 -07:00
Tyler Benson
e260b1d044
Make all http client tests extend HttpClientTest
...
Add flexibility to handle inconsistencies between client integrations.
2019-05-29 13:54:35 -07:00
Luca Abbati
13cf53827d
Merge branch 'master' of github.com:DataDog/dd-trace-java into labbati/jdbc-error-glasshfish
2019-05-27 15:18:18 +02:00
Luca Abbati
0c52ba58c4
Move glassfish 4 compatibility layer to instrumentation module
2019-05-27 15:17:04 +02:00
Tyler Benson
21c22d6985
Fix log message and add ignores
...
Also add CODEOWNERS
2019-05-24 11:44:10 -07:00
Luca Abbati
fcbe7c9869
Fix code format
2019-05-24 12:13:54 +02:00
Luca Abbati
19d9880d9d
Add tests for Utils.getStackTraceAsString()
2019-05-20 16:44:14 +02:00
Luca Abbati
5cf6fc969d
Improve docblocks of glassfish compatibility layer
2019-05-20 16:44:14 +02:00
Luca Abbati
5f68507eb4
In galssfish, prevent blacklisting of specific classes and dump stack trace in debug mode
2019-05-20 16:44:14 +02:00
Nikolay Martynov
ba02250cf6
Clarify log messages when tracing is disabled
2019-05-09 16:12:35 -04:00
Nikolay Martynov
5ff04bd1e9
Allow tracing be disabled via config
2019-05-09 10:20:06 -04:00
Tyler Benson
579b6dd929
Add transient modifier to added context fields.
2019-05-02 15:52:43 -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
793627c167
Fix tests
2019-04-30 15:55:12 -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
Tyler Benson
f74fd347c2
Merge pull request #814 from raphw/frames-fixed
...
Fixes #813 : Only add frames if class file version supports attribute
2019-04-30 11:13:53 -07:00
Tyler Benson
1b38fcc8b4
Apply formatting
2019-04-30 10:08:58 -07:00
Rafael Winterhalter
eeaa27af83
Fixes #813 : Only add frames if class file version supports attribute
2019-04-30 10:22:27 +02:00
Tyler Benson
54287fa548
Add comment and consistency.
2019-04-29 12:21:05 -07:00
Tyler Benson
6414de82d9
Add support for HystrixObservableCommand
...
This change is slightly breaking for existing hystrixCommand code since the resource name changes from run->execute and getFallback->fallback. The fallback span is also now a child of the execute span.
2019-04-29 12:04:27 -07:00
Tyler Benson
25d109753d
Merge pull request #809 from DataDog/tyler/httpasyncclient
...
Add instrumentation for Apache HttpAsyncClient
2019-04-29 08:14:11 -07:00
Tyler Benson
68a68f1057
Ensure that http.url tag doesn’t have query params set
...
Make handling of it more consistent in decorator.
2019-04-26 09:48:34 -07:00
Tyler Benson
20df3aa18e
Add HttpAsyncClient to Elasticsearch for verification.
2019-04-25 17:27:06 -07:00