Lauri Tulmin
cc75cd351b
Remove restriction on vaadin latest dep tests ( #4311 )
2021-10-06 09:33:20 -07:00
Mateusz Rzeszutek
f80f4a9f63
Allow configuring captured HTTP headers in library instrumentations ( #4309 )
2021-10-06 13:32:39 +02:00
Mateusz Rzeszutek
d3dbe415a1
Move HttpHeadersConfig methods back to instrumentation-api ( #4298 )
...
* Move HttpHeadersConfig methods back to instrumentation-api
* remove unnecessary method
2021-10-06 10:51:45 +02:00
Mateusz Rzeszutek
b4984657b5
Move BootstrapPackagePrefixesHolder to javaagent-bootstrap ( #4303 )
2021-10-05 11:26:24 -07:00
Mateusz Rzeszutek
7791be24e0
Remove implementations of host() and userAgent() in HTTP extractors ( #4299 )
...
* Remove implementations of host() and userAgent() in HTTP extractors
* fix broken headers copying
2021-10-05 10:25:45 -07:00
Lauri Tulmin
0cfc71c3c6
Support kafka streams 3 ( #4236 )
...
* Support kafka streams 3
* make thread local wider so it would work on all kafka-streams versions
* Move classes used by multiple instrumentations into bootstrap module to ensure that everybody uses the same copy of them
* spotless
* allow project as muzzle extra dependency
* add comment
* fix merge
2021-10-05 09:43:00 -07:00
Nikita Salnikov-Tarnovski
9bbd490288
Remove last muzzle generate method from InstrumentationModule ( #4281 )
...
* Remove last muzzle generate method from InstrumentationModule
2021-10-05 14:43:21 +03:00
Mateusz Rzeszutek
7473eff1e6
Extract HTTP request/response headers as span attributes ( #4237 )
...
* Extract HTTP request/response headers as span attributes
* fix muzzle
* code review comments
* fix compilation failure after merge conflict
* avoid using streams API when transforming the headers list
* fix liberty extractor
* fix spring webmvc extractor
2021-10-05 10:20:59 +02:00
Trask Stalnaker
34a631965b
Update spotless version ( #4296 )
...
* Update spotless version
* Apply new spotless version
2021-10-05 15:44:03 +09:00
Trask Stalnaker
dafc97f96e
Simplify gradle files ( #4292 )
2021-10-04 21:53:35 -07:00
Trask Stalnaker
d2b7786027
Fix some tests on windows ( #4288 )
2021-10-04 21:40:24 -07:00
aras112
90c0df9328
Check if span name is null before use ( #4277 )
2021-10-04 14:57:10 -07:00
Mateusz Rzeszutek
300e7dab7e
Move all Kafka library instrumenter parts to internal package ( #4284 )
2021-10-04 19:03:15 +02:00
Lauri Tulmin
f7c4deac16
Jax-rs async cancel handling ( #4279 )
2021-10-04 09:56:39 -07:00
Mateusz Rzeszutek
9d6fb65b41
Remove ContextStore/InstrumentationContext mentions from internal age… ( #4267 )
...
* Remove ContextStore/InstrumentationContext mentions from internal agent classes
* Fix internal-reflection module
2021-10-04 09:24:25 -07:00
Trask Stalnaker
506ae2b894
Flavor extractor ( #4274 )
2021-10-04 09:23:58 -07:00
Nikita Salnikov-Tarnovski
11b2f16820
Convert Spymemcached integration to Instrumenter ( #4273 )
...
* Convert Spymemcached integration to Instrumenter
* Update instrumentation/spymemcached-2.12/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/spymemcached/SpymemcachedAttributeExtractor.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Spotless
* Optimise
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-04 14:10:39 +02:00
Lauri Tulmin
fbb5f8f5c6
Fix vertx-reactive latest dep tests ( #4275 )
2021-10-03 19:48:04 -07:00
Lauri Tulmin
95651a4f1b
Intern db info ( #4263 )
2021-10-03 19:47:40 -07:00
Lauri Tulmin
39a1604dd2
Convert liberty dispatcher instrumentation to instrumenter api ( #4256 )
...
* Convert liberty dispatcher instrumentation to instrumenter api
* nullable
* Add comment
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-03 11:05:26 -07:00
Lauri Tulmin
ce241d2bb3
Fix flaky kafka test ( #4272 )
2021-10-03 10:15:24 -07:00
Trask Stalnaker
92394ad9ae
Remove url from HttpServerAttributesExtractor ( #4209 )
...
* Remove url from HttpServerAttributesExtractor
* Remove UriBuilder
* Tracers too
* apache-camel
* Finatra
* jsp
* Ratpack
* Ratpack library
* Ratpack
* Spark
* Feedback
* Fix Undertow
* Vertx
* vertx-web
* play-2.4
* webflux
* jaxrs
* Spotless
* Update semantic-conventions.md
* Update smoke tests
* More realistic target
* Remove outdated doc
* Wording
2021-10-03 09:17:23 -07:00
Mateusz Rzeszutek
c421b66d56
Remove unnecessary VirtualField#setIfNull() method ( #4262 )
2021-10-02 13:17:48 -07:00
Mateusz Rzeszutek
07ca690f8e
Convert Spring Web MVC library instrumentation to Instrumenter API ( #4258 )
...
* Convert Spring Web MVC library instrumentation to Instrumenter API
* Apply suggestions from code review
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
* improve the README a bit
* StatusCodeExtractor
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
2021-10-02 11:41:27 -07:00
Trask Stalnaker
cfdc4ac7e5
Change the default javaagent artifact to have exporters ( #4106 )
...
* Change default javaagent to all, introduce slim
* Update release builds
* Update examples build
* Update benchmark-overhead
* Update benchmark-e2e
* Update docs where ok pre-release
* Update misc
* Fix references to fullJavaagentJar
* Fix it
* Delete doc for pre-1.0 releases
* Attach backwards compatible "all" artifact to releases
* Comment
* Comment
* guessing
* fix
* Update version
* Add otlp/grpc exporter to slim artifact
* Fix comment
2021-10-02 11:28:11 -07:00
Aleš Justin
ff0bf0a8f3
Add support for Kafka consumer and producer interceptors. ( #4065 )
...
* Add support for Kafka consumer and producer interceptors, move common Kafka code to library module.
* Apply feedback
* Apply feedback, #3 .
* Apply feedback, #4 .
* Add producer / consumer wrappers.
* Move to kafka-clients-2.6.
* Apply feedback #5 .
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-02 11:27:57 -07:00
Nikita Salnikov-Tarnovski
bfeb482465
Convert Elasticsearch Transport to Instrumenter API ( #4252 )
...
* Convert Elasticsearch Transport to Instrumenter API
* Don't set duplicate attributes
* Code review comments
2021-10-01 13:45:29 +03:00
Mateusz Rzeszutek
c11b96e4d0
Make it possible to use InstrumentationContext (now VirtualField) fro… ( #4218 )
...
* Make it possible to use InstrumentationContext (now VirtualField) from library instrumentation
* fix tests
* fix javadocs
* fix some more tests
* code review comments
* setIfNull, computeIfNull
2021-10-01 11:13:11 +02:00
Nikita Salnikov-Tarnovski
d55eee2ebf
Convert jsp integration to Instrumenter API ( #4257 )
...
* Convert jsp integration to Instrumenter API
* Code review comments
2021-10-01 10:53:42 +03:00
Lauri Tulmin
1049f0ead1
Convert undertow instrumentation to instrumenter api ( #4239 )
2021-09-30 14:09:57 +03:00
Lauri Tulmin
3f1ec4d034
Delete unused servlet tracer code ( #4243 )
2021-09-30 14:09:44 +03:00
HyunGook-Kim
cf85fbb275
chore typo in gradle implementation package name ( #4250 )
...
change ```opentelemetry-exporters``` to ```opentelemetry-exporter```
2021-09-30 10:34:50 +09:00
Trask Stalnaker
9ea33edf08
Remove attrs from http client attributes extractor ( #4210 )
...
* Remove scheme/host/target from HttpClientAttributesExtractor
* And jaxrs-client
* Remove unused methods
2021-09-28 12:58:42 -07:00
Lauri Tulmin
8e54d540bb
Convert liberty instrumentation to instrumenter api ( #4205 )
...
* Convert liberty instrumentation to instrumenter api
* review comment
2021-09-28 09:22:55 -07:00
Trask Stalnaker
48e42be821
Support suppress-messaging-receive-span in JMS ( #4204 )
...
* Support suppress-messaging-receive-span in JMS
* Spotless
2021-09-28 09:04:30 -07:00
Trask Stalnaker
6aaf5ef9e6
Remove dynamo db.name attribute ( #4208 )
2021-09-27 21:58:26 -07:00
Anna Nosek
8c522a176e
Refine 404 handling in Restlet instrumentation ( #4206 )
...
* introduce 404 handling
* review
2021-09-27 12:28:57 -07:00
Lauri Tulmin
ba3370e054
Build servlet mapping resolver only when needed ( #4197 )
...
* Build servlet mapping resolver only when needed
* move factory interface to boot loader to ensure that everybody has the same class for it
* spotless
* Helper classes should not look up ContextStore on each access
2021-09-27 18:04:22 +03:00
Mateusz Rzeszutek
a277a8b636
Separate HTTP client/server AttributesExtractors ( #4195 )
2021-09-24 10:06:23 -07:00
Lauri Tulmin
559cdcbbee
Transform lambda classes ( #4182 )
...
* Transform lambda classes
* improve comment
2021-09-24 09:52:15 -07:00
Christian Frommeyer
ae7ad4b7e8
Fix spring context reload issue (open-telemetry#3841) ( #4051 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-09-24 15:59:48 +03:00
Trask Stalnaker
abfcfb9dc7
Fix JDBC instrumentation deadlock ( #4191 )
2021-09-23 08:52:01 -07:00
Trask Stalnaker
3ce940548c
Experimental option to suppress messaging receive spans ( #4187 )
...
* Experimental option to suppress messaging receive spans
* Kafka streams too
* Better conditionals
* Remove oops
* Extract base class for kafka streams tests
* Spotless
2021-09-22 21:50:05 -07:00
Trask Stalnaker
8066f2787c
Add context customizer hook to Instrumenter API ( #4167 )
...
* Add context customizer hook to Instrumenter API
* Use in tomcat instrumentation
* Some of servlet
* Use in rest of servlet
* Feedback
2021-09-22 14:54:04 -07:00
Mateusz Rzeszutek
085066edb3
Add some testcontainers dependencies to dependencyManagement dep set ( #4185 )
2021-09-22 14:53:45 -07:00
Mateusz Rzeszutek
a66452eb2d
Fix kafka tests failing when consumer is not yet subscribed to topic ( #4189 )
2021-09-22 11:45:32 -07:00
Trask Stalnaker
f24dd6160a
Remove incorrect lettuce db.statement attribute ( #4160 )
2021-09-21 20:02:26 -07:00
Mateusz Rzeszutek
12d60b05d7
Rewrite kafka-clients and kafka-streams tests to use testcontainers ( #4178 )
...
* Rewrite kafka-clients and kafka-streams tests to use testcontainers
* codenarc
2021-09-21 17:47:16 +02:00
Trask Stalnaker
feebef3bd9
Restrict kafka-streams to 2.x versions for now ( #4173 )
2021-09-20 23:09:19 -07:00
Trask Stalnaker
6a91dae5a1
Improve reactor test ( #4168 )
2021-09-20 17:21:55 -07:00