Commit Graph

3726 Commits

Author SHA1 Message Date
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 979845c7aa
Limit Hibernate latest dependency test to 5.x (#143) 2020-02-07 13:32:46 -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 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 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 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
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
Pontus Rydin d22f38b320
Changed names of getters and removed instrumentationNames() (#112) 2020-01-31 10:33:24 -08: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
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
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
Pontus Rydin 80379fb50b Refactored jax-rs-client-* and jdbc instrumentation (#94)
* jax-rs-client refactor WIP

* Refactored jax-rs-client-1.1

* Refactored jax-rs-client-* and jdbc
2020-01-24 15:45:02 -08:00
Pontus Rydin 88957e9ab6 Refactored http-url-connection, java-concurrent, jax-rs-annotation-* (#87)
* Refactor of twilio (WIP)

* Refactored http-url-connection

* Refactored java-concurrent

* Refactored jax-rs-annotation-1

* Refactored jax-rs-annotations-2 instrumentation
2020-01-23 13:08:49 -08:00
Trask Stalnaker ee58416dae
Fix sporadic test failures (#82)
* Fix sporadic test failure

* Remove RetryOnFailure from Elasticsearch tests

* Remove retry from Hystrix tests

* Improve test verification

* Fix sporadic span order not found failures

* Add RetryOnFailure to tests with sporadic failures
2020-01-23 11:37:38 -08:00
Pontus Rydin f53167063e Refactored Twilio and Hibernate instrumentation (#81)
* Refactor of twilio (WIP)

* Refactored hibernate instrumentation

* Finished refactoring hibernate instrumentation

* Minor changes

* Minor change

* Moved files after upstream restructuring

* Fixed typo and Twilio test issues

* Refactored hibernate tests

* Fixed formatting

* Moved span auto close functionality to SessionState
2020-01-22 21:01:49 -08:00
Trask Stalnaker 819ca7c256
Simplify directory/module structure (#77)
* Move things up a directory

* Scripted mass update

find -type f -name "*.gradle" | xargs sed -i 's/:java-agent:/:/g'

* Remove plugin version now that it's in root module

* Update java-agent and instrumentation configs

* Misc
2020-01-22 13:55:47 -08:00