Commit Graph

7374 Commits

Author SHA1 Message Date
Anuraag Agrawal f236b2d4c9
Split lambda instrumentation into core and events (#5326)
* Split out lambda core instrumentation

* More

* Remove request wrapper from core

* Split events

* Dedupe

* More

* More renames

* Finish

* Clean

* README

* Rename more

* Finish

* Fix README

* Fix README

* Fix

* Comments
2022-02-10 17:27:22 -08:00
Lauri Tulmin 51b88c7bce
Muzzle fails for elasticsearch 8 (#5343)
* Muzzle fails for elasticsearch 8

* Muzzle fails for elasticsearch 8
2022-02-10 13:48:41 -08:00
Anuraag Agrawal 85f9f0192b
Use internal Marshaler in testing exporters instead of gRPC. (#5332) 2022-02-10 09:58:03 -08:00
Lauri Tulmin c7f9715f34
Wait for kafka to start (#5341) 2022-02-10 09:55:49 -08:00
ralphgj e551d99db3
fix: add attributes of net.peer.* for grpc client span (#5324) 2022-02-10 09:54:43 -08:00
Lauri Tulmin afdeb1a557
Change rxjava version that is used in hystrix tests (#5335) 2022-02-10 08:58:32 -08:00
Mateusz Rzeszutek 956b5660de
Implement NamingConvention support in Micrometer bridge (#5328)
* Implement NamingConvention support in Micrometer bridge

* default naming convention
2022-02-09 17:48:13 -08:00
Mateusz Rzeszutek 2cf853dba3
Fix base time unit in Micrometer FunctionTimer (#5321) 2022-02-09 10:29:58 +01:00
Anuraag Agrawal 407e86df2b
Update to Otel 1.11.0 (#5322)
* Update to OTel 1.11

* Suppress gRPC export usage warning
2022-02-09 12:53:09 +09:00
Oleg Zasymenko eeac67bdb1
Fix WeakConcurrentMap memory leak (#5316) 2022-02-08 10:36:12 -08:00
Mateusz Rzeszutek ea31ca8be2
Make HttpClientMetrics report low cardinality metrics (#5319) 2022-02-08 10:32:44 -08:00
Mateusz Rzeszutek edfd842185
Fix time units in Micrometer Timer max measurements (#5320) 2022-02-08 14:00:13 +01:00
Mateusz Rzeszutek 0b7f466724
Make it possible to configure base time unit used by the Micrometer bridge (#5304)
* Make it possible to configure base time unit used by the Micrometer bridge

* add readme
2022-02-08 10:39:02 +01:00
Mateusz Rzeszutek 551418c283
Refactor AttributesExtractor so that it extracts route from Context (#5288)
* Refactor AttributesExtractor so that it extracts route from Context

* typo

* fix tests

* Update instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/instrumenter/http/HttpRouteHolder.java

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

* fix all AttributesExtractors

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-02-08 10:38:41 +01:00
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