Trask Stalnaker
6a91dae5a1
Improve reactor test ( #4168 )
2021-09-20 17:21:55 -07:00
Mateusz Rzeszutek
1a6294e1be
Make CONSUMER receive span a parent of CONSUMER process spans in kafka-streams ( #4151 )
2021-09-17 19:17:00 -07:00
YuDong Tang
3bc0e07c60
#4056 remove oringin handler when removelast in netty ( #4123 )
...
* removelast
* removelast
* addAfter and removeLast
* addAfter and removeLast
* addAfter and removeLast
2021-09-17 13:23:20 -07:00
Mateusz Rzeszutek
dc4ddf7932
Remove ContextStore.Factory interface; use Supplier instead ( #4157 )
2021-09-17 13:00:23 -07:00
Mateusz Rzeszutek
1c3ea2ec56
Convert elasticsearch-rest to Instrumenter API ( #4153 )
...
* Convert elasticsearch-rest to Instrumenter API
* Add net.transport attribute
2021-09-17 11:19:53 -07:00
Mateusz Rzeszutek
88ce6af1d6
Convert Rediscala to Instrumenter API ( #4152 )
2021-09-17 10:22:58 -07:00
Mateusz Rzeszutek
f14eeb0f15
Convert kafka-streams to Instrumenter API ( #4140 )
2021-09-17 09:41:13 +02:00
Lauri Tulmin
59439cb464
Make servlet context path key private ( #4125 )
...
* Make servlet context path key private
* remove accidentally added files
* fix servlet2.2
* use non capturing lambda
* Update instrumentation/servlet/servlet-common/library/src/main/java/io/opentelemetry/instrumentation/servlet/ServletHttpServerTracer.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* use method reference
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-09-16 10:23:29 -07:00
Lauri Tulmin
de6c9087fc
Remove reference to bintray in spring doc ( #4139 )
2021-09-16 10:18:20 -07:00
Lauri Tulmin
53482419c3
Use our version of hasSuperType matcher ( #4141 )
2021-09-16 10:16:34 -07:00
Mateusz Rzeszutek
836491ef5f
Make CONSUMER receive span a parent of CONSUMER process spans in Kafka… ( #4122 )
...
* Make CONSUMER receive span a parent of CONSUMER process spans in Kafka instrumentations
* Fix kafka-streams tests
* fixed imports order
2021-09-15 10:39:56 -07:00
Trask Stalnaker
d28f0d3d3f
Remove unneeded catch blocks ( #4130 )
...
* Remove unneeded catch blocks
* Update test!
2021-09-15 09:42:18 -07:00
Trask Stalnaker
b8391b1354
Remove the only two author tags ( #4129 )
...
* Remove the only two author tags
* Spotless
2021-09-15 09:42:04 -07:00
Anna Nosek
8f48dfa875
Fix latestDepTests in Restlet instrumentation ( #4121 )
...
* add latestDepTestLibrary
* spotless
2021-09-14 09:52:29 -07:00
Anuraag Agrawal
971ca8b19c
Update to OTel 1.6 ( #4120 )
...
* Update to OTel 1.6
* Example build
* More example
* More example
2021-09-14 20:12:18 +09:00
Anna Nosek
473f16fa68
Restlet instrumentation ( #3946 )
...
* server instrumentation with first tests
* migrate to instrumenter API, move TracingFilter to library, rename module, other review refinements
* change name to 1.0 and rebase
* review, add ServerSpanNaming, create RestletTracing
* codenarc fix
* review
* fix TracingFilter behaviour on exception, inline HeadersAdapter's methods
* move instrumentation to doHandle, add StatusFilter in library test
2021-09-13 22:39:25 -07:00
Trask Stalnaker
9de4041d4c
More grpc events ( #4098 )
...
* More grpc events
* Fix test
* Update new tests
2021-09-13 10:49:04 -07:00
Lauri Tulmin
15277cf8f5
Convert servlet instrumentation to instrumenter api ( #4078 )
...
* Convert servlet to instrumenter api
* make classes final
* Remove some tracer files
* remove xxx
* fix liberty and wildfly exception smoke test
* fix async smoke test on liberty
* Apply suggestions from code review
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* generic TextMapGetter for servlets
* not going to use http.route for servlets
* simplify
* add servlet timeout in attribute extractor
* move classes from library to javaagent
* remove unneeded dependency
* make method private
* move helper class initialization to singleton, remove helpers that don't have any methods, add shouldStart checks
* Update instrumentation/servlet/servlet-common/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/servlet/ServletRequestContext.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* add import
* rename methods that start and end spans
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-09-13 10:12:34 -07:00
Lauri Tulmin
436184002c
Bridge trace builder ( #4090 )
...
* Bridge tracer builder
* put api 1.4 bridging into separate moulde
* remove duplicate test
* remove testing dependencies
* use static import
* Update instrumentation/opentelemetry-api/opentelemetry-api-1.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/opentelemetryapi/trace/ApplicationTracerProvider.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* rename make -> create
* replace reflection with methodhandle
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-09-13 09:30:02 -07:00
Trask Stalnaker
098aee06c6
Fix grpc instrumentation of callbacks ( #4097 )
...
* Fix grpc instrumentation of callbacks
* Add ListenableFuture test
* Futures.transform
2021-09-13 08:55:46 -07:00
Trask Stalnaker
b48ced5da0
Fix test on windows ( #4094 )
2021-09-12 15:53:38 +02:00
Matthew Ho
6967484a97
Update groovy import order to match default IntelliJ ( #1708 ) ( #4047 )
...
* Update groovy import order to match default IntelliJ (#1708 )
* organized imports for .groovy files to follow default IntelliJ import settings
* updated intellij-setup.md
* Spotless
* drift
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-09-11 11:53:08 -07:00
Trask Stalnaker
34ddc6911d
Suppress strict scope check for reactor-netty ( #4091 )
2021-09-11 11:46:03 -07:00
Mateusz Rzeszutek
05d1a4a54f
Separate suppression strategies for CONSUMER receive/process spans ( #4076 )
...
* Separate suppression strategies for CONSUMER receive/process spans
* Update instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/instrumenter/SpanKeyExtractor.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* spotless
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-09-10 10:55:50 -07:00
Lauri Tulmin
4c64f70f94
JaxRS-client: remove our context when request is done ( #4075 )
...
* JaxRS-client: remove our context when request is done
* add comment
2021-09-09 14:24:18 -07:00
Mateusz Rzeszutek
99fe1c6642
Migrate Dubbo to Instrumenter API ( #4059 )
...
* Migrate Dubbo to Instrumenter API
* Break library dependency on javaagent-api
* Add a standard library instrumentation *Tracing & *TracingBuilder classes
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-09-09 11:31:57 -07:00
Lauri Tulmin
0c2aa5eae1
Remove outdated section from servlet instrumentation readme ( #4074 )
2021-09-09 08:07:33 -07:00
Mateusz Rzeszutek
d6c8e3a1f2
Update supported libs list ( #4077 )
2021-09-09 08:07:04 -07:00
Trask Stalnaker
c13eb7932e
Update collector port ( #4071 )
2021-09-08 18:18:05 -07:00
Lauri Tulmin
a279b7d5be
Fix build ( #4070 )
2021-09-08 16:40:31 -07:00
Mateusz Rzeszutek
e30b082259
Start a CONSUMER span for Kafka poll(); and refactor spring-kafka... ( #4041 )
...
* Start a separate CONSUMER receive span for each non-empty KafkaConsumer#poll() call
* One batch receive + one batch process span in spring-kafka
* Add CONSUMER receive spans to kafka-streams too
* codenarc
* code review comments
2021-09-08 13:12:58 -07:00
jack-berg
28e5cb5dd6
Transition twilio-6.6 module to instrumenter API ( #4045 )
...
* Convert twilio-6.6 module to instrumenter API
* Rename TwilioTracer to TwilioSingletons
2021-09-08 13:10:03 -07:00
Mateusz Rzeszutek
4820ec4855
Add error parameter to EndTimeExtractor and AttributesExtractor#onEnd() ( #3988 )
2021-09-08 07:58:13 -07:00
Trask Stalnaker
2c044253e8
HttpURLConnection response code edge case ( #4062 )
2021-09-08 07:55:21 -07:00
Trask Stalnaker
400d99467a
Follow http.client_ip spec clarification ( #4063 )
2021-09-08 07:54:59 -07:00
jack-berg
1a994b9845
Transition kubernetes client 7.0 module to instrumenter API ( #4036 )
...
* Convert kubernetes-client-7.0 to Instrumenter API
* Respond to PR feedback
2021-09-07 15:17:42 -07:00
jack-berg
4e221d6e4c
Transition spring batch 3.0 module to Instrumenter API ( #4029 )
...
* Convert spring-batch-3.0 step execution instrumentation to Instrumenter API
* Convert spring-batch-3.0 job execution instrumentation to Instrumenter API
* Convert spring-batch-3.0 chunk execution instrumentation to Instrumenter API
* Convert spring-batch-3.0 item instrumentation to Instrumenter API
* Fix rebase issue.
* Respond to PR feedback.
* Respond to PR comments.
2021-09-07 15:13:55 -07:00
Mateusz Rzeszutek
dca77b6ae3
Remove unused method ( #4058 )
2021-09-07 14:56:12 -07:00
jack-berg
f89933b67c
Transition http-url-connection module to instrumenter API ( #4044 )
...
* Convert http-url-connection to instrumenter API
* Replace HttpUrlResponse with response status code Integer
2021-09-07 14:54:16 -07:00
Mateusz Rzeszutek
23fc4ce443
Fix memleak in the Netty ChannelPipeline instrumentation ( #4053 )
2021-09-07 14:16:08 -07:00
Anuraag Agrawal
10bce56cd6
Add instrumentation for Quartz 2.0 ( #4017 )
...
* Add instrumentation for Quartz 2.0
* Fix drift in comment
* Fix fix
* Comment
* Cleanup
2021-08-31 18:05:36 +09:00
Trask Stalnaker
65335962de
Remove capturing lambda (optimization) ( #4014 )
...
* Remove capturing lambda
* Update instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/servlet/ServerSpanNameSupplier.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/servlet/ServerSpanNameTwoArgSupplier.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update instrumentation/jsf/jsf-common/library/src/main/java/io/opentelemetry/instrumentation/jsf/JsfServerSpanNaming.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* checkstyle
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-08-30 20:26:00 -07:00
Mateusz Rzeszutek
01ea967d67
Use kafka transactions to make spring-kafka tests more stable ( #4024 )
...
* Use kafka transactions to make spring-kafka tests more stable
* manual acks
* another approach: batch error handler that immediately recovers
* another try
* yet another try
* do nothing error handler
* spotless
2021-08-30 15:04:16 -07:00
Trask Stalnaker
0f9308b4fb
Optimize tomcat uri construction ( #4008 )
...
* Optimize tomcat uri construction
* Add TODO
2021-08-30 13:34:23 -07:00
Lauri Tulmin
9f56888727
Limit lates dep version for rxjava-3.0 ( #4028 )
2021-08-30 11:02:11 -07:00
Lauri Tulmin
7b4d0db19a
Enable concurrency test for resteasy proxy client ( #4018 )
2021-08-30 09:08:43 -07:00
Lauri Tulmin
a438e0d6ae
Enable concurrency test for apache http client 4.0 ( #4020 )
2021-08-30 09:05:51 -07:00
Lauri Tulmin
7fdbd0c55f
Enable concurrency test for apache http client 2.0 ( #4021 )
2021-08-30 09:05:44 -07:00
Lauri Tulmin
c918cdeb76
Enable concurrency test for apache http client 4.3 ( #4019 )
2021-08-30 09:04:09 -07:00
Trask Stalnaker
436aeaf99a
Another ClassValue optimization ( #4013 )
...
* Another ClassValue optimization
* Spotless
2021-08-30 09:02:59 -07:00