Commit Graph

7410 Commits

Author SHA1 Message Date
Mateusz Rzeszutek 99f8c8d1cd
Add max measurements to Micrometer Timer & DistributionSummary (#5303) 2022-02-08 08:17:28 +01:00
Anuraag Agrawal b9fac11c90
Migrate AWS Lambda tests to Java (#5315)
* Migrate AWS Lambda tests to Java

* Only assert OTLP fields for links
2022-02-08 15:27:20 +09:00
Trask Stalnaker 186c657b4e
Avoid potential for reverse name lookup (#5305) 2022-02-07 17:39:16 -08:00
Lauri Tulmin 1bdd88d10c
Propagate context into redisson async callback (#5313)
* Propagate context into redisson async callback

* Apply suggestions from code review

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

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2022-02-07 17:35:42 -08:00
Trask Stalnaker a0f3ad7279
Add code attributes to spring-scheduling spans (#5306) 2022-02-07 17:31:11 -08:00
Jérôme Prinet 0b60069e0b
Bump up Gradle plugin dependencies (#5148) 2022-02-07 17:30:17 +02:00
Marc Pichler db20a5344f
Fix artifactID in log4j-context-data-2.16 documentation (#5310) 2022-02-04 08:56:58 -08:00
Anuraag Agrawal 78f21294ea
Apply conventions to custom-checks project (#5308) 2022-02-04 15:57:24 +09:00
Trask Stalnaker 3d0ebce2ba
Fix triggering of DNS lookup (#5297)
* Fix triggering of DNS lookup

* Update test

* Update test
2022-02-03 08:39:52 -08:00
Trask Stalnaker 449af9b88f
Fix a sporadic CI failure (#5301) 2022-02-03 08:18:05 -08:00
Nikita Salnikov-Tarnovski a3ce5d5e2a
Use "--add-opens" to allow test to run on java 16+ (#5290)
* Use "--add-opens" to allow test to run on java 16+

* Update instrumentation/executors/javaagent/build.gradle.kts

Co-authored-by: Lauri Tulmin <tulmin@gmail.com>

* Update instrumentation/executors/javaagent/build.gradle.kts

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
2022-02-03 08:22:49 +02:00
Trask Stalnaker 6f38a42a97
Replace nameMatches with named (#5296) 2022-02-02 16:19:07 -08:00
Mateusz Rzeszutek 21f968abb4
Add missing return type matchers to the executor instrumentation (#5294) 2022-02-02 13:19:42 -08:00
Trask Stalnaker 1077258263
Add InternalJavadoc custom error prone check (#5277)
* Add InternalJavadoc custom error prone check

* Add example usage

* Move to conventions

* Revert "Move to conventions"

This reverts commit d8a8209b59.

* Just get it working

* Clearer error message

* versions

* Apply almost everywhere

* feedback

* Always at the end of javadoc

* Fix test

* Missed (at least) one

* No longer internal

* Fix NPE

* Spotless

* Convert awslambda Java test to JUnit 5 so can reduce visibility

* Reduce visibility

* Rename the check

* More

* Move into errorprone-convention

* Fix UserExcludedClassesConfigurerTest
2022-02-01 17:54:57 -08:00
Lauri Tulmin 3cb1efceb3
Remove struts2 latest dep restriction (#5289) 2022-02-01 09:52:23 -08:00
Trask Stalnaker 022914139e
test latest deps cleanup (#5269)
* test latest deps cleanup

* Revert currently irrelevant change

* Update instrumentation/lettuce/lettuce-4.0/javaagent/build.gradle.kts

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2022-02-01 09:49:07 -08:00
Mateusz Rzeszutek 3bbc41a6ce
Enable oshi ProcessMetrics in javaagent (and refactor oshi instrumentation) (#5281)
* Enable oshi ProcessMetrics in javaagent (and refactor oshi instrumentation)

* Get rid of double async instrument registration logs

* spotless
2022-02-01 09:57:48 +01:00
Lauri Tulmin 8240a5f66f
End jedis span when operation actually ends (#5256)
* End jedis span when operation actually ends

* address review comments
2022-01-31 20:20:44 -08:00
Lauri Tulmin fbf00761cc
Use VirtualField for associating netty listener with wrapper (#5282)
* Use VirtualField for associating netty listener with wrapper

* Move ignoring lambas for injected classes to LambdaTransformer
2022-01-31 14:45:12 -08:00
Mateusz Rzeszutek 666c22eb2a
Use `http.route` in `HttpServerMetrics` (#5266)
* Use http.route in HttpServerMetrics

* remove http.target fallback
2022-01-31 10:33:59 -08:00
Trask Stalnaker c54a823bae
Rename vertx-reactive module (#5274) 2022-01-31 09:42:09 -08:00
Trask Stalnaker e2b7354290
Add option to run testLatestDeps on PRs (#5270) 2022-01-31 09:41:12 -08:00
Mateusz Rzeszutek 8b767ac435
Refactor HTTP attributes extractors to use composition over inheritance (#5267)
* Refactor HTTP attributes extractors to use composition over inheritance

* Rename remaining variables: *Extractor to *Getter
2022-01-31 09:25:27 -08:00
Mateusz Rzeszutek cf6f9b7631
Log a warning whenever GlobalOpenTelemetry.set() is called (#5264) 2022-01-31 09:24:01 -08:00
Trask Stalnaker 3bee90a69b
Use BatchSpanProcessor (#5275) 2022-01-31 09:14:03 -08:00
Mateusz Rzeszutek 236a42f111
Make HttpStatusConverter package private (#5268) 2022-01-31 09:35:48 +02:00
Trask Stalnaker aa2ac33b70
Rename scala-executors module (#5273) 2022-01-29 13:27:16 -08:00
Trask Stalnaker c3f7b15fbf
Use opentelemetry-java-bot as author for auto-generated commits (#5271)
* Use opentelemetry-java-bot as author for benchmark commits

* And prepare release branch workflow
2022-01-29 13:16:22 -08:00
Trask Stalnaker 23b33adb0a
Auto-format groovy files in Intellij (#5260)
* Auto-format groovy files in Intellij

* A bit of clean up
2022-01-28 09:29:46 -08:00
Lauri Tulmin 72afa5a8ed
Fix serialization fo quartz JobExecutionContext (#5263)
* Fix serialization fo quartz JobExecutionContext

* address review comments
2022-01-28 09:19:59 -08:00
Lauri Tulmin 014624e196
kotlinx-coroutines-reactor context propagation (#5196)
* kotlinx-coroutines-reactor context propagation

* extract context from reactor

* add generics

* muzzle

* actually use the context extracted from reactor

* test context propagation operator

* typo

* used named instead of namedOneOf

* instrument newCoroutineContext, remove reactor specific code

* revert changes
2022-01-28 09:16:47 -08:00
Trask Stalnaker 7df2b0e2df
Don't run testLatestDeps on alpha/beta/rc versions (#5258)
* Don't run testLatestDeps on alpha/beta/rc versions

* More logback
2022-01-28 08:21:53 -08:00
Mateusz Rzeszutek 16335a0c47
Use HttpRouteHolder in spring-webflux instrumentation (#5239) 2022-01-28 10:07:19 +01:00
Trask Stalnaker a379687496
Update change log (#5257) 2022-01-28 08:28:31 +02:00
Mateusz Rzeszutek 7b04b9c707
Remove a couple of TODOs from instrumentation-api metrics tests (#5255) 2022-01-28 13:56:04 +09:00
Trask Stalnaker 0510ca6188
Remove slim artifact (#5251)
* Remove slim artifact

* Fix build

* Revert one change
2022-01-27 08:31:46 -08:00
Trask Stalnaker 51742bdd5a
Post 1.10.1 update to main (#5250)
* Update change log for 1.10.1 (#5221)

* Post 1.10.1 release updates to main

* Explain inclusion in patch release better
2022-01-27 12:40:10 +01:00
Mateusz Rzeszutek 817b3d2671
Use HttpRouteHolder in spark instrumentation (#5241) 2022-01-27 12:38:59 +01:00
Mateusz Rzeszutek 9ff7b92841
Use HttpRouteHolder in camel instrumentation (#5242) 2022-01-27 12:38:42 +01:00
Mateusz Rzeszutek 6c855d9789
Use HttpRouteHolder in vertx-web instrumentation (#5240)
* Use HttpRouteHolder in vertx-web instrumentation

* Fix vertx-reactive tests
2022-01-27 12:38:01 +01:00
Trask Stalnaker 8edd8f49a3
Only publish snaphots from main (#5252) 2022-01-27 11:11:18 +02:00
Trask Stalnaker b6b5b35bf3
Reduce release branch maintenance overhead (#5245)
* Reduce release branch maintenance overhead

* Fix the var name

* Check if condition needed on downstream job

* Remove unnecessary condition
2022-01-26 17:41:37 -08:00
Trask Stalnaker 51e52427bb
Fix logback testLatestDeps (#5248) 2022-01-26 12:09:31 -08:00
Trask Stalnaker 477f7163f0
Some testLatestDeps cleanup (#5226) 2022-01-26 09:27:53 -08:00
Trask Stalnaker a5e0696af2
Improve log4j ContextDataProvider injection (#5216) 2022-01-26 09:26:49 -08:00
Trask Stalnaker 920c0327e0
Update release instructions (#5222) 2022-01-26 09:26:36 -08:00
Trask Stalnaker 953fd106a7
Fix vertx-http-client testLatestDeps Xlint errors (#5228)
* Fix vertx-http-client testLatestDeps

* fix
2022-01-25 20:58:48 -08:00
Trask Stalnaker 25d914f74b
Run CI on release branches (#5230) 2022-01-25 20:53:34 -08:00
Anuraag Agrawal d79c26f23d
Support AWS SDK v1 request object subclasses. (#5231) 2022-01-26 13:47:34 +09:00
Trask Stalnaker 5f4fc25a37
Update to OTel SDK 1.10.1 (#5218) 2022-01-25 13:42:45 -08:00