Commit Graph

1949 Commits

Author SHA1 Message Date
Lauri Tulmin 8e2a33b9a1
Fix flaky kotlin test (#5650) 2022-03-21 16:43:01 -07:00
Lauri Tulmin 2a24734ec3
Fix flaky executor test (#5658) 2022-03-22 08:23:02 +09:00
Lauri Tulmin a8560d783f
Increase wait time for in-flight metrics (#5649) 2022-03-21 08:47:43 -07:00
Lauri Tulmin 27d5df11a6
Only set read timeout for requests to /read-timeout (#5651) 2022-03-21 13:54:36 +02:00
Lauri Tulmin 4445cf1187
Fix flaky scala test (#5635) 2022-03-19 12:00:34 -07:00
Lauri Tulmin 59b6ba72d5
Retry elasticsearch start on BindTransportException (#5632) 2022-03-18 15:34:45 -07:00
Mateusz Rzeszutek f0bdce973e
Split out MessagingAttributesGetter (#5626) 2022-03-18 11:52:23 -07:00
Anuraag Agrawal a1e45a5abc
Migrate kotlin coroutine tests to kotlin (#5622)
* Migrate kotlin coroutine tests to kotlin

* wait longer
2022-03-18 10:41:02 -07:00
Anuraag Agrawal fafa0b4350
Migrate remaining scala tests to scala (#5620)
* Migrate remaining scala tests to scala

* Remove another groovy hack
2022-03-18 09:57:17 -07:00
Trask Stalnaker 25856b8531
Muzzle CI experiment (#5594)
* Muzzle CI experiment

* Fix class loader leak

* --max-workers=4

* Concurrent jobs

* Update .github/workflows/muzzle.yml

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

* Simpler

* Add link to comment

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2022-03-18 09:57:02 -07:00
Mateusz Rzeszutek ab587a927a
Implement "Prometheus mode" for better micrometer->OTel->Prometheus support (#5537)
* Implement "Prometheus mode" for better micrometer->OTel->Prometheus support

* code review comments

* forgot about README
2022-03-18 13:03:42 +01:00
Lauri Tulmin e20f29554b
Use otel.java-conventions instead of otel.javaagent-testing in module that don't test agent (#5625) 2022-03-18 11:40:16 +02:00
Anuraag Agrawal 2c8b9ff1ce
Migrate akka http test to scala (#5586)
* Migrate akka http test to scala

* Don't use compat module

* Fix latest deps
2022-03-18 16:35:00 +09:00
Anuraag Agrawal 9f3ad23a9a
Migrate scala executor tests to Java (#5618) 2022-03-18 13:49:03 +09:00
Anuraag Agrawal 213057d057
Run check during testing and assemble during building (#5619) 2022-03-18 13:48:51 +09:00
Anuraag Agrawal 75b75e7737
Migrate executors test to java (#5596) 2022-03-18 08:46:17 +09:00
Lauri Tulmin 76f7be4dee
Increase finatra startup timeout (#5604) 2022-03-18 08:45:54 +09:00
Lauri Tulmin 45bd419ec0
Run tests with jdk17 (#5598) 2022-03-17 13:25:16 -07:00
Lauri Tulmin 2ebe912fe4
GraphQL java instrumentation (#5583)
* GraphQL Java Initial Commit

* [WIP] First steps for GraphQL instrumentation, totally not ready

[skip ci]

* GraphQL Java instrumentation

* address review comments

* Apply suggestions from code review

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

* review feedback

* scope handling

* Apply suggestions from code review

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* use spotless:off

* trigger build

* review comments

Co-authored-by: Jordie <xd@jrdie.nl>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-03-17 08:55:45 -07:00
Lauri Tulmin 649779450b
Wait for rocketmq message to arrive before asserting spans (#5591)
* Wait for rocketmq message to arrive before asserting spans

* Apply suggestions from code review

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* trigger build

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-03-17 12:38:58 +02:00
Mateusz Rzeszutek 1ee60aa6e6
Split out RpcAttributesGetter (#5548)
* Split out RpcAttributesGetter

* code review comments

* go back to RpcAttributesGetter
2022-03-17 11:14:19 +01:00
Anuraag Agrawal 928855b248
Migrate finatra test to scala (#5588)
* Migrate finatra test to scala

* Avoid compat
2022-03-16 10:19:43 -07:00
Lauri Tulmin 3f87c2de10
Elasticsearch rest client low cardinality span name (#5584) 2022-03-16 09:01:22 +01:00
Anuraag Agrawal 47508330ba
Fix akka actors testLatestDeps (#5589)
* Fix akka actors testLatestDeps

* latest dep test scala version differs by module

* Don't bother with compat library since doesn't look good anyways
2022-03-16 15:36:01 +09:00
Anuraag Agrawal d2401e14a9
Migrate AkkaActorTest to scala (#5582) 2022-03-16 08:08:10 +09:00
Trask Stalnaker 7cd3fa4c0a
Update links (#5579) 2022-03-15 09:17:14 -07:00
Anuraag Agrawal 3ebce5c90b
Migrate MethodTest to Java (#5581) 2022-03-15 19:20:07 +09:00
Mateusz Rzeszutek b0d5fc6b99
Remove deprecated methods from instrumentation-api and library instrumentations (#5575) 2022-03-15 09:33:48 +09:00
Trask Stalnaker ed6e4bc698
Remove spring boot autoconfigure resetForTest (#5566) 2022-03-14 11:43:28 -07:00
Anuraag Agrawal 90179a3441
Migrate ktor tests to kotlin (#5571) 2022-03-14 20:03:40 +09:00
Anuraag Agrawal 046e4374bf
Migrate Armeria server test to Java (#5570) 2022-03-14 18:30:25 +09:00
Trask Stalnaker 174f6129b5
Update netty attribute name (#5568) 2022-03-14 11:08:02 +02:00
Anuraag Agrawal 1d9c23bfb3
Do not propagate gRPC deadline when propagating OTel context via javaagent. (#5543)
* Add test for early return in gRPC pattern.

* Do not propagate gRPC deadline when propagating OTel context via javaagent.
2022-03-11 11:06:26 -08:00
Trask Stalnaker 2462f47136
Simplify Azure SDK advice (#5541) 2022-03-11 10:19:10 -08:00
Lauri Tulmin 8d513f9099
Make tests provide expected exception instance instead of class (#5540)
* Make tests provide expected exception instance instead of class

* exception is optional
2022-03-11 14:24:03 +02:00
Mateusz Rzeszutek 0ad07a10c2
Remove AsyncInstrumentRegistry after update to SDK 1.12 (#5525)
* Remove AsyncInstrumentRegistry after update to SDK 1.12

* added comments
2022-03-10 13:39:23 +09:00
Lauri Tulmin e9c1efece2
Update to Groovy 4 (#5532)
* Update to Groovy 4

* exclude spock from grails tests, update comment

* Update instrumentation/grails-3.0/javaagent/build.gradle.kts

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-03-09 15:07:41 -08:00
Mateusz Rzeszutek f6cca58f1f
Deprecate CapturedHttpHeaders and replace it with builder methods (#5533) 2022-03-09 12:21:32 -08:00
Lauri Tulmin c461d22d83
Define helper classes in loadClass (#5528)
* Define helper classes in loadClass similarly to regular classes

* fix test

* spotless

* address review comments
2022-03-09 09:12:25 -08:00
Anuraag Agrawal 9e5fdcebd5
Migrate gRPC tests to Java (#5521)
* Migrate gRPC tests to Java

* check

* clean
2022-03-09 14:37:59 +09:00
Lauri Tulmin b3496381f1
Write http server tests in java (#5501)
* Write http server tests in java

* typo

* Apply suggestions from code review

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* add comments

* address review comments

* use Predicate

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-03-08 14:21:59 -08:00
Fabian Stäber b6a5f2876b
Avoid conflicts in Micrometer description mapping (#5452)
* Avoid conflicts in Micrometer description mapping

Signed-off-by: Fabian Stäber <fabian@fstab.de>

* fix formatting

* Update instrumentation/micrometer/micrometer-1.5/library/src/main/java/io/opentelemetry/instrumentation/micrometer/v1_5/Bridging.java

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2022-03-08 14:20:57 -08:00
Mateusz Rzeszutek 4a98dae431
Add builders for setting optional attributes on HTTP extractors (#5347)
* Add builders for setting optional attributes on HTTP extractors

* errorprone

* fix compilation failure
2022-03-08 17:21:14 +01:00
Patrice Chalin 9904352ef6
Drop manual-instrumentation and redirect to otel website pages (#5516) 2022-03-08 09:53:49 +01:00
Mateusz Rzeszutek 4ef6d165a9
Disable the messaging receive span telemetry by default (#5500)
* Disable the messaging receive span telemetry by default

* fix spring-kafka tests

* remove no longer needed link from the kafka-clients library instrumentation

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-03-07 22:30:40 -08:00
Lauri Tulmin 3c11cd44a0
Fix flaky micrometer test (#5514) 2022-03-07 08:56:38 -08:00
Trask Stalnaker 44b04210ff
Convert azure sdk tests to java (#5504)
* Convert azure sdk tests to java

* Better assertj
2022-03-05 08:41:21 -08:00
Trask Stalnaker e52752e251
Fix azure sdk 1.14 testLatestDeps (#5509) 2022-03-05 14:07:24 +02:00
Trask Stalnaker e67c9c4796
Fix jboss-logmanager testLatestDeps (#5503) 2022-03-04 21:01:38 -08:00
Trask Stalnaker ab9169cd25
Add Azure SDK instrumentation (#5467)
* Add Azure SDK instrumentation

* Add to supported libraries table

* Keep suppression for 1.19
2022-03-04 13:08:50 -08:00