Commit Graph

685 Commits

Author SHA1 Message Date
Tyler Benson e21ed1052f Begin 0.2.9 2017-11-01 15:03:15 -07:00
Tyler Benson 7adba2717c Version 0.2.8 2017-11-01 15:02:26 -07:00
Tyler Benson b28b63c4b1
Merge pull request #147 from DataDog/tyler/log-noise
Adjust log levels and rate limit logging.
2017-11-01 14:07:01 -07:00
Tyler Benson 8eef2f50dd
Merge pull request #146 from DataDog/tyler/null-handling
Better null handling for JDBC instrumentation
2017-11-01 14:06:45 -07:00
Tyler Benson a8a5e2cdd4 Adjust log levels and rate limit logging.
If we’re not able to connect and send data to the agent, we don’t want to fill up their logs.
2017-11-01 13:57:21 -07:00
Tyler Benson 4199d123c2 Better null handling for JDBC instrumentation
This also reduces the log noise for transformation issues around synthesized classes.
2017-11-01 11:30:05 -07:00
Tyler Benson 31e912a9aa Begin 0.2.8 2017-10-30 15:07:04 -07:00
Tyler Benson 304dbc86b3 Version 0.2.7 2017-10-30 15:06:03 -07:00
Tyler Benson 7b1e65fdf8
Merge pull request #144 from DataDog/tyler/spring-web
Set resource name using the route pattern from spring.
2017-10-30 14:54:23 -07:00
Tyler Benson c2d1ebab17 Run cassandra test last in separate vm
It’s super slow and uses a lot of memory.
2017-10-30 14:48:49 -07:00
Tyler Benson e8bbc849bb Set resource name using the route pattern from spring.
This provides a better static resorce name than trying to conjure one out of the original URL.
2017-10-30 13:24:18 -07:00
Tyler Benson cfdbf4c230
Merge pull request #145 from DataDog/tyler/case-insensitive
Ensure that headers are read case insensitive.
2017-10-30 13:22:59 -07:00
Tyler Benson 85852af582 Constrain resources to prevent being OOM killed.
# Conflicts:
#	.circleci/config.yml
2017-10-30 13:15:30 -07:00
Tyler Benson 7e9d2f2d09 Ensure that headers are read case insensitive. 2017-10-30 11:09:53 -07:00
Tyler Benson 306086bb3f
Merge pull request #143 from DataDog/tyler/trace-annotation
Use byte buddy for @Trace instead of byteman
2017-10-30 10:51:26 -07:00
Tyler Benson 161d77bfa7
Merge pull request #141 from DataDog/tyler/jdbc
Add automatic instrumentation for JDBC
2017-10-30 10:25:45 -07:00
Tyler Benson cacba43435 Use byte buddy for @Trace instead of byteman. 2017-10-26 14:45:16 -07:00
Tyler Benson 25029b4109 Add integration tests for in-memory jdbc drivers. 2017-10-25 10:37:37 -07:00
Tyler Benson 14b834a358 Ignore generic classes and proxy classes 2017-10-25 10:36:37 -07:00
Tyler Benson 0d64192d91 Set resource name and span type correctly. 2017-10-24 10:28:53 -07:00
Tyler Benson ef5481cc27 Change operation name and set service name. 2017-10-24 10:28:53 -07:00
Tyler Benson b40bcf9973 Add automatic instrumentation for JDBC
This instrumentation creates spans for Statements and PreparedStatements. It also captures the corresponding SQL and additional connection info.  ResultSet could be considered for future instrumentation to capture even more of the DB interaction time.

This integration uses Bytebuddy instead of Byteman as the many methods to instrument would have been messy in Byteman.
2017-10-24 10:28:53 -07:00
Tyler Benson 18268537e5 Merge pull request #142 from DataDog/tyler/byteman-version
Downgrade byteman library to non-beta version.
2017-10-24 10:07:13 -07:00
Tyler Benson 423b701049 Downgrade byteman library to non-beta version.
This is in effort to reduce some performance problems.
2017-10-24 08:15:37 -07:00
Tyler Benson 0ac544a713 Begin 0.2.7 2017-10-16 14:10:28 +02:00
Tyler Benson a4c272a089 Version 0.2.6 2017-10-16 14:07:50 +02:00
Tyler Benson a711a27db0 Merge pull request #139 from DataDog/tyler/errors
Capture and report errors and stacktraces
2017-10-13 18:18:27 +02:00
Tyler Benson 526d7def3b Hardcode tag names, improve formatting 2017-10-13 16:32:13 +02:00
Tyler Benson f2d1f0c209 Capture and report errors and stacktraces 2017-10-13 16:32:13 +02:00
Tyler Benson 1654a8abc7 Merge pull request #140 from DataDog/tyler/consistency
Adjust tag naming for better consistency
2017-10-13 16:28:05 +02:00
Tyler Benson 2775dd988e Hardcode additional tag names 2017-10-13 16:03:19 +02:00
Tyler Benson 4ab32b0b95 Add test for setting service/resource name via tag. 2017-10-13 15:52:44 +02:00
Tyler Benson aac945747b Rename “service-name” to “my-service-name” to reduce confusion.
same for resource-name
2017-10-13 14:16:26 +02:00
Tyler Benson af5ef5e624 Fix name overloading confusion.
references to entries below were using the wrong instance and thus not being cleaned properly.
2017-10-13 14:08:03 +02:00
Tyler Benson 7f8b81457e Adjust tag naming for better consistency 2017-10-12 17:46:33 +02:00
Tyler Benson 4b7df678ef Merge pull request #138 from DataDog/tyler/publish-cleanup
Minor cleanup to publish
2017-10-12 17:26:17 +02:00
Tyler Benson 6cb7a89f05 Minor cleanup to publish
Ivy isn’t used by bintray or maven central.  We don’t really need to publish it for our snapshots.
2017-10-12 11:01:26 +02:00
Tyler Benson 4c479be82a Merge pull request #137 from DataDog/tyler/scoping-issue
Change visibility to protected
2017-10-11 08:53:08 -04:00
Tyler Benson 33308eff80 Change visibility to protected
This should bypass an issue with the parent class being loaded on a different classloader, resulting in an IllegalAccessError.
2017-10-10 16:02:43 -04:00
Tyler Benson 631d8f196d Begin 0.2.6 2017-09-27 09:04:53 -07:00
Tyler Benson e2dabc8195 Version 0.2.5 2017-09-27 08:56:52 -07:00
Tyler Benson 18b513c0ac Merge pull request #136 from DataDog/tyler/fix-headers
Fix headers to match standard DD trace headers
2017-09-27 08:22:04 -07:00
Tyler Benson cfe36d03a8 Fix headers to match standard DD trace headers
Also prevent NullPointerExceptions in servlet handler if active span somehow missing.
2017-09-27 07:44:43 -07:00
Tyler Benson 20fc79015c Begin 0.2.5 2017-09-22 15:02:55 -07:00
Tyler Benson add3179490 Version 0.2.4 2017-09-22 14:55:30 -07:00
Tyler Benson 897b3426b1 Merge pull request #135 from DataDog/tyler/servlet
Replace tomcat/jetty specific integ with generic servlet integ.
2017-09-22 10:45:53 -07:00
Tyler Benson 12323cef9f Update readme. 2017-09-21 14:37:41 -07:00
Tyler Benson cffde51b9e Add funky locking to ensure consistent execution for jetty test. 2017-09-21 13:47:28 -07:00
Tyler Benson fb133c8905 Update servlet operation name. 2017-09-21 08:12:44 -07:00
Tyler Benson 30721d00dc Replace tomcat/jetty specific integ with generic servlet integ.
This should also work with things like Weblogic and Websphere with the main requirement being Servlet 2.3 or above compatibility.
2017-09-20 16:39:43 -07:00