Commit Graph

1997 Commits

Author SHA1 Message Date
Tyler Benson cde02e1ae5 Fix servlet async dispatch
Finish existing trace and propagate to the next request.

Improve dispatch testing.
2018-11-16 08:55:11 -08:00
Tyler Benson 3835157c4f
Merge pull request #577 from DataDog/tyler/spring-auth
Set user.principal in a way spring security can be covered
2018-11-16 08:52:42 -08:00
Andrew Kent d2a8b7fb28 Ensure tracer traceCounter is always shared with DDApi 2018-11-16 08:16:18 -08:00
Tyler Benson 1064e35788 Apply standard tag name and update spring-web test deps version. 2018-11-16 08:06:40 -08:00
Tyler Benson 31b2e0f9b0
Merge pull request #578 from DataDog/tyler/components
Apply component tag more consistently
2018-11-15 13:02:39 -08:00
Tyler Benson 3eae8fb874
Merge pull request #581 from DataDog/tyler/vertx-latest-test
Add vertx latestDepTest
2018-11-15 11:25:11 -08:00
Tyler Benson 84214d31ab
Merge pull request #580 from DataDog/mar-kolya/components-suggestions
Mar kolya/components suggestions
2018-11-15 11:19:55 -08:00
Nikolay Martynov 465e237522 Do not set component in AWS instrumentation that later get rewritten anyway 2018-11-15 13:21:49 -05:00
Tyler Benson 6126d6632e Add vertx latestDepTest 2018-11-15 09:58:21 -08:00
Nikolay Martynov 1594f3c907
Merge pull request #579 from DataDog/mar-kolya/fix-ddtracer-api
Put back DDTracer constructor that got removed
2018-11-15 12:35:17 -05:00
Nikolay Martynov 6f05cff023 Add test for UrlConnection error on file protocol 2018-11-15 12:31:42 -05:00
Nikolay Martynov 1b43a18eb4 Put back DDTracer constructor that got removed 2018-11-15 11:57:42 -05:00
Tyler Benson 2ad1dee113
Merge pull request #562 from DataDog/tyler/fix-latest-dep-tests
Add assertion to ensure latestDepTest dependencies are different from test
2018-11-14 13:47:13 -08:00
Tyler Benson cbb29069fe Apply component tag more consistently 2018-11-14 11:31:40 -08:00
Tyler Benson 0bb20abfce Set user.principal in a way spring security can be covered
Improve tests.
2018-11-14 11:30:05 -08:00
Tyler Benson 5381461da2 Apply limits for Elasticsearch
6.5 has api changes that break our tests.
2018-11-14 10:55:18 -08:00
Tyler Benson b58b54dab9 Limit Lettuce/Webflux versions and fix test for tomcat 9+ 2018-11-12 12:33:34 -08:00
Tyler Benson 51dfd2b184 Fix latestDepTests for Jetty 2018-11-12 11:05:02 -08:00
Tyler Benson 5e194ef06c Fix latestDepTests for Kafka Streams, Netty, and Okhttp 2018-11-12 08:15:24 -08:00
Gary a2a194d48a Fix latestDepTest for JSP instrumentation.
Normalize jsp.requestUrl tag value because Tomcat 9 seems to add relative path symbols of jsp files.

Tomcat 9 doesn't automatically create a connector, causing failures in latestDepTest. Tomcat 9 also seems to have small changes that effect some of the tests, such as changing the exception type and also removal of the exception message in one of the tests.
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
Gary Huang b3cdb2843c
Merge pull request #573 from DataDog/gary/limit-amqp-version
Limit AMQP LatestDepTest to use last working version
2018-11-09 11:54:31 -05:00
Gary 9d7d40565a
Limit AMQP LatestDepTest to use last working version
Makes AMQP LatestDepTest not use the latest version because it uses a snapshot version of spring, causing error when downloading.
2018-11-09 11:09:04 -05:00
Andrew Kent 906feba94b
Merge pull request #567 from DataDog/ark/jmx-tags
Add service name to default jmx tags
2018-11-07 19:45:11 +00:00
Andrew Kent 1d2cc52747 Add service name to default jmx tags 2018-11-07 08:36:30 -08:00
Nikolay Martynov 98efa8aaa3
Merge pull request #566 from DataDog/mar-kolya/specify-scala-dependency
Mar kolya/specify scala dependency
2018-11-05 21:05:54 -05:00
Nikolay Martynov 9c652cc5b2 Remove duplicate class names from ExecutorInstrumentation 2018-11-05 12:55:32 -05:00
Nikolay Martynov b8276ac70b Specify Scala dependency in single place 2018-11-05 12:55:32 -05:00
Andrew Kent 9db83241bc
Merge pull request #565 from DataDog/ark/jvm-version-log
Log Java and JVM version info.
2018-11-05 02:42:35 +00:00
Andrew Kent 1667e590b9 Log Java and JVM version info. 2018-11-02 17:12:00 -07:00
Nikolay Martynov 8455304006
Merge pull request #563 from DataDog/mar-kolya/context-map-key-class-domain
Make context maps 'global' for a given key class name
2018-11-02 13:42:56 -04:00
Nikolay Martynov 3c0ba56d2c Make context maps 'global' for a given key class name
This ensures that different instrumenters using same key class can see
each others state
2018-11-02 12:59:30 -04:00
Nikolay Martynov df0889b07d
Merge pull request #560 from DataDog/mar-kolya/new-context-store-api
First iteration on a better context store api
2018-11-02 12:57:13 -04:00
Nikolay Martynov 98df97af3e First iteration on a better context store api
Separate context storage from actual fetching/putting
2018-11-02 10:46:57 -04:00
Andrew Kent 3c80c25ea5
Merge pull request #561 from DataDog/tyler/bb-upgrade
Upgrade Byte Buddy to 1.9.3
2018-11-02 03:43:51 +00:00
Tyler Benson 91f514b01d Upgrade Byte Buddy to 1.9.3 2018-11-02 09:12:09 +10:00
Andrew Kent 387068caf8
Merge pull request #558 from DataDog/ark/helper-injector-classloader
Inject dynamic classes into bootstrap class loader
2018-11-01 22:19:49 +00:00
Andrew Kent d0b00e0dc0 Inject all map holder classes into the bootstrap 2018-11-01 15:05:20 -07:00
Nikolay Martynov 13a8add2e7
Merge pull request #559 from DataDog/mar-kolya/add-lost-jdbc-statement-logging
Catch `AbstractMethodError` when trying to unwrap jdbc connection
2018-11-01 11:50:44 -04:00
Nikolay Martynov 15024915bf Catch `AbstractMethodError` when trying to unwrap jdbc connection
jdts throws this exception since they just have 'stub' umplementation.
2018-11-01 09:57:18 -04:00
Andrew Kent 5f0f6f1474 Inject dynamic classes into topmost class loader 2018-10-31 16:11:52 -07:00
Nikolay Martynov e83c379992
Merge pull request #557 from DataDog/mar-kolya/add-lost-jdbc-statement-logging
Add logging in jdbc instrumentation when we cannot unwrap connection
2018-10-31 15:55:03 -04:00
Andrew Kent 5f429b17b9
Merge pull request #556 from DataDog/ark/skip-buildscan-for-muzzle
Skip buildscan for muzzle CI runs
2018-10-31 18:38:22 +00:00
Nikolay Martynov 8a066de772 Add logging in jdbc instrumentation when we cannot unwrap connection 2018-10-31 13:38:37 -04:00
Andrew Kent 5efd80ea52 Skip buildscan for muzzle CI runs 2018-10-30 20:58:40 -07:00
Andrew Kent 6198662984
Merge pull request #555 from marcoferrer/grpc-tracing-kotlin-exception-support
Catch and log throwables to support kotlin exception handling
2018-10-31 03:44:15 +00:00
Marco Ferrer 1bd97a0f90 catch and log throwables to support kotlin exception handling 2018-10-30 23:00:29 -04:00
Nikolay Martynov 3e0dcb33f9
Merge pull request #549 from DataDog/mar-kolya/muzzle-build
Update Gradle plugin versions
2018-10-30 21:27:54 -04:00
Andrew Kent 5824eb83b8
Merge pull request #537 from DataDog/ark/instrumentation-context-outline
instrumentation context map-backed impl
2018-10-29 18:48:23 +00:00
Nikolay Martynov 428a0bf66e
Merge pull request #553 from DataDog/mar-kolya/increase-couchbase-timeout
Increase couchbase timeout
2018-10-26 17:22:42 -04:00