Trask Stalnaker
efed5ae682
Standardize instrumentation module names ( #145 )
...
* Rename vertx module
* Rename glassfish module
* Rename google-http-client module
* Rename jms module
* Rename twilio module
* Move dropwizard-testing to top-level
Since it's not related to dropwizard-views.
* Rename dropwizard-views modules
* Rename aws-java-sdk-1.11.0 module
* Rename apache-httpasyncclient-4 module
* Rename apache-httpclient-4 module
* Rename datastax-cassandra-3 module
* Rename elasticsearch:rest-5 module
* Rename elasticsearch:transport-2 module
* Rename elasticsearch:transport-5 module
* Rename elasticsearch:transport-6 module
* Rename grizzly-2 module
* Rename jax-rs-annotations-1 module
* Rename jax-rs-annotations-2 module
* Rename filter-jersey module
* Rename jetty module
* Rename lettuce-5 module
* Rename okhttp-3 module
* Rename play-ws-1 module
* Rename play-ws-2 module
* Rename rxjava-1 module
* Rename request-2 module
* Rename request-3 module
* Rename spring-webflux-5 module
2020-02-07 16:34:36 -08:00
Trask Stalnaker
04a018b305
Update version to 0.1.2-SNAPSHOT ( #144 )
2020-02-07 16:05:04 -08:00
Trask Stalnaker
5cc983536a
Bump version to 0.1.1 ( #140 )
2020-02-07 13:46:05 -08:00
Trask Stalnaker
979845c7aa
Limit Hibernate latest dependency test to 5.x ( #143 )
2020-02-07 13:32:46 -08:00
Trask Stalnaker
31f9f06b31
Fix version logger error ( #141 )
2020-02-07 09:41:37 -08:00
Trask Stalnaker
a20b444d49
Fix race condition on loading SDK ( #142 )
2020-02-06 19:05:34 -08:00
Trask Stalnaker
7599e2f0c9
Update version for release ( #139 )
2020-02-06 16:26:10 -08:00
Trask Stalnaker
f75eb3be33
Update README ( #138 )
2020-02-06 16:16:33 -08:00
Trask Stalnaker
794ccd0e6b
Rename java agent artifact ( #137 )
...
* Fix config to not rely on module alpha order
* Rename java-agent module to opentelemetry-auto
2020-02-06 16:03:24 -08:00
Trask Stalnaker
faec4901d2
Set span kind and remove prior "span.kind" attribute ( #132 )
...
* Set span kind in instrumentation
* Do not set span kind attribute
* Validate span kind in tests
* Remove unused constants
2020-02-05 15:12:33 -08:00
Trask Stalnaker
f6949c1776
Call setNoParent() consistently ( #131 )
2020-02-05 14:16:09 -08:00
Trask Stalnaker
ae15d717ad
Change prefix in couple of other places ( #127 )
2020-02-05 13:45:26 -08:00
Trask Stalnaker
1440d95fb5
Last instrumentation conversion to OpenTelemetry API and remove prior agent API ( #128 )
...
* Convert OkHttp3 to use OpenTelemetry API directly
* Remove Agent API
2020-02-05 13:20:06 -08:00
Trask Stalnaker
3a4b2a9b95
Reduce CircleCI cost ( #129 )
2020-02-05 13:01:03 -08:00
Trask Stalnaker
cb97c26ca4
Minor cleanup of Tracer declarations ( #125 )
2020-02-04 20:32:29 -08:00
Trask Stalnaker
16ebd812d7
Rename SpanScopePair to SpanWithScope ( #124 )
...
* Rename SpanScopePair to SpanWithScope
* Add closeScope() method and remove getScope()
* Rename spanAndScope parameters to spanWithScope
* A few more renames
2020-02-04 18:20:29 -08:00
Trask Stalnaker
5f2846abe7
Minor Hystrix test cleanup ( #126 )
2020-02-04 18:00:43 -08:00
Trask Stalnaker
8c3ec0cba0
Remove last dd dirs ( #123 )
...
* Remove dd dirs
* Simplify a couple of test package names
* Remove outdated comment
2020-02-04 17:43:18 -08:00
Trask Stalnaker
2248eb4871
Simplify hibernate instrumentation ( #122 )
...
* Simplify hibernate instrumentation
* Remove SessionState
2020-02-04 12:03:16 -08:00
Trask Stalnaker
3ea2852acd
Fix version logging error ( #121 )
2020-02-04 11:04:18 -08:00
Trask Stalnaker
54cb6dc538
Bring back Kafka Streams, RabbitMQ, and AWS Java SDK 2.2 instrumentation ( #109 )
...
* Bring back Kafka Streams instrumentation
* Bring back AWS Java SDK 2.2 instrumentation
* Bring back RabbitMQ instrumentation
* Make kafka streams instrumentation more future proof
2020-02-04 10:41:39 -08:00
Pontus Rydin
bec7775d56
Fixed error handling when Java version can't be determined ( #118 )
...
* Fixed error handling when Java version can't be determined
* Made build getJavaExecutableVersion more resilient to output variations
2020-02-03 12:38:21 -08:00
Tyler Benson
37b314fa0c
Merge changes from dd-trace-java 0.42.0 ( #119 )
...
Merge changes from dd-trace-java 0.42.0
2020-02-03 15:06:48 -05:00
Trask Stalnaker
147b42d1ff
Merge tag 'v0.42.0'
2020-02-01 13:28:58 -08:00
Trask Stalnaker
2b11b37d0f
Remove trace-api artifact ( #116 )
...
* Remove unused Trace annotations
* Remove Trace annotation from benchmark code
* Remove Trace annotation from instrumentation tests
* Remove Trace annotation from smoke tests
* Remove Trace annotation from agent tests
* Remove Trace annotation from testing tests
* Remove Trace annotation from hystrix tests
* Remove Trace annotation from netty tests
* Remove Trace annotation from webflux tests
* Remove Trace annotation from reactor tests
* Remove unnecessary conditional
* Remove Trace annotation from trace annotation instrumentation
* Remove Trace annotation from akka http tests
* Remove Trace annotation from java concurrent tests
* Delete Trace annotation
* Move classes out of trace-api
* Remove trace-api artifact
* Move trace-api classes to better packages
2020-02-01 13:07:51 -08:00
Pontus Rydin
49e6309cf9
Experimental Jaeger integration ( #115 )
...
* Added simple exporter
* Updated config prefix
2020-02-01 12:22:25 -08:00
Brian Devins-Suresh
f78b34fd9d
Version 0.42.0
2020-01-31 14:33:50 -05:00
Pontus Rydin
d22f38b320
Changed names of getters and removed instrumentationNames() ( #112 )
2020-01-31 10:33:24 -08:00
Brian Devins-Suresh
848476316d
Merge pull request #1196 from DataDog/tyler/fix-span-attribute
...
Set dispatcher span on request instead of clear
2020-01-31 13:26:33 -05:00
Tyler Benson
daae198b08
Set dispatcher span on request instead of clear
...
Clearing the span caused traces to be broken up and reported independently when calling forward/include.
2020-01-30 21:55:16 -05:00
Trask Stalnaker
2d3132e9b8
Convert Trace Annotations and tests to use OpenTelemetry API directly ( #110 )
...
* Fix Dropwizard conversion to OpenTelemetry API
* Finish converting JDBC to use OpenTelemetry API directly
* Finish converting Servlet to use OpenTelemetry API directly
* Convert Trace Annotation to use OpenTelemetry API directly
* Convert tests to use OpenTelemetry API directly
2020-01-30 15:51:14 -08:00
Douglas Q Hawkins
53d32b4324
Merge pull request #1189 from DataDog/dougqh/type-caching2
...
Revised type cache
2020-01-30 18:47:02 -05:00
dougqh
faeb069424
Adjusting capacity check again
2020-01-30 18:08:49 -05:00
dougqh
235a6470fb
googleJavaFormat
2020-01-30 17:45:40 -05:00
dougqh
0f095f0adb
Final clean-up
...
- Removed unused method from earlier version
- Corrected previously overlooked comments that were remnant of prior version
2020-01-30 17:44:24 -05:00
Trask Stalnaker
291c974e9c
Change grizzly, mongo, sparkjava, spring-data, jetty, jsp, kafka-clients, lettuce to use OpenTelemetry API directly ( #108 )
...
* Convert Grizzly to use OpenTelemetry API directly
* Convert Mongo to use OpenTelemetry API directly
* Convert SparkJava to use OpenTelemetry API directly
* Convert Spring Data to use OpenTelemetry API directly
* Convert Jetty to use OpenTelemetry API directly
* Convert JSP to use OpenTelemetry API directly
* Convert Kafka Clients to use OpenTelemetry API directly
* Convert Lettuce to use OpenTelemetry API directly
2020-01-30 14:37:23 -08:00
Pontus Rydin
feb21ab295
Refactored jedis-* ( #113 )
2020-01-30 11:31:32 -08:00
Trask Stalnaker
e4b8c579b2
Change netty-*, play-*, rabbitmq, ratpack, rmi, jms instrumentation to use OpenTelemetry API directly ( #102 )
...
* Fix gRPC conversion to OpenTelemetry API
* Fix Akka conversion to OpenTelemetry API
* Convert JMS to use OpenTelemetry API directly
* Convert Netty 4.0 to use OpenTelemetry API directly
* Convert Netty 4.1 to use OpenTelemetry API directly
* Convert Play 2.4 to use OpenTelemetry API directly
* Convert Play 2.6 to use OpenTelemetry API directly
* Convert Play WS 1 to use OpenTelemetry API directly
* Convert Play WS 2 to use OpenTelemetry API directly
* Convert Play WS 2.1 to use OpenTelemetry API directly
* Convert RabbitMQ to use OpenTelemetry API directly
* Convert Ratpack to use OpenTelemetry API directly
* Convert RMI to use OpenTelemetry API directly
2020-01-29 11:19:23 -08:00
Tyler Benson
8757ba0a81
Fix potential StackOverFlowError on regexp ( #1193 )
...
Fix potential StackOverFlowError on regexp
2020-01-29 13:19:40 -05:00
Blinkingor
8d83172128
clazz -> segment rename
2020-01-29 18:41:29 +01:00
Blinkingor
db485d10da
final configString
2020-01-28 16:20:02 +01:00
Blinkingor
811051d111
Remove overlapping tests and fix failing unit test
2020-01-28 16:06:23 +01:00
Blinkingor
10b963d277
Codenarc fixes
2020-01-28 15:35:39 +01:00
Blinkingor
cf876b5e67
Fix import order
2020-01-28 15:21:50 +01:00
Blinkingor
1e390984c1
Fix potential StackOverFlowError on regexp
2020-01-28 10:28:37 +01:00
dougqh
176f826a44
Adjusting approximateSize check to be more reliable
2020-01-27 17:44:39 -05:00
dougqh
4c7a0ba7a7
Fixing muzzle?
...
MuzzlePlugin groovy checks that no threads are spawned because this holds the ClassLoader live.
This was breaking with the caching change because the cache no longer uses the Cleaner service.
This caused a problem because the Thread behind the cleaner is created lazily when the first task is created, but without the cache the creation was delayed.
To solve this, I addressed the original cause of the leak. The newly created Thread automatically inherits the contextClassLoader of its parent, but that's unnecessary for a cleaner thread.
So I changed the ThreadFactory for cleaner to explicitly null out the contextClassLoader.
We should probably null out contextClassLoader in other thread factories and also reduce our use of contextClassLoaders in general, but that will left to another PR.
2020-01-27 17:14:17 -05:00
Trask Stalnaker
068823c55e
Set SpanKind for servlet requests ( #88 )
2020-01-27 11:49:09 -08:00
Trask Stalnaker
26355485d9
Move OpenTelemetry SDK out of the bootstrap loader ( #86 )
...
* Move OpenTelemetry SDK out of bootstrap loader
* Improve shading
After this change, the shaded opentelemetry-sdk is only used by test
modules, so it doesn't need to be published.
2020-01-27 11:11:05 -08:00
dougqh
d50f901f39
googleJavaFormat, codeNarcTest, and test reliability
2020-01-27 12:34:39 -05:00