Commit Graph

7437 Commits

Author SHA1 Message Date
Trask Stalnaker 134b983201
Bump download link to 1.11.0 (#5362) 2022-02-12 13:04:45 +02:00
Trask Stalnaker ea3e140e8f
Update release date (#5360) 2022-02-12 13:01:58 +02:00
github-actions[bot] ede66d3321
Bump snapshot version (#5355)
Co-authored-by: opentelemetry-java-bot <97938252+opentelemetry-java-bot@users.noreply.github.com>
2022-02-11 14:29:39 -08:00
Trask Stalnaker 335a7cbaf2
Update change log (#5345)
* Update change log

* more
2022-02-11 11:06:43 -08:00
Lauri Tulmin fc5b0e9a02
Remove and ignore .attach_pid files (#5348) 2022-02-11 09:37:52 -08:00
Lauri Tulmin e9b9fcc4a7
Increase couchbase timeout (#5349) 2022-02-11 09:33:12 -08:00
Lauri Tulmin ec36dbf7bd
Add more sleep to weak gauge test (#5350) 2022-02-11 09:32:39 -08:00
Trask Stalnaker 54e6b1223e
Weak cache optimization (#5344) 2022-02-11 09:31:34 -08:00
Anuraag Agrawal 36b758e600
Add jaeger remote sampler to agent (#5346) 2022-02-11 16:40:26 +09:00
Anuraag Agrawal 791083eedf
Remove separate exporter configuration which we always have in distro… (#5331)
* Remove separate exporter configuration which we always have in distro now.

* Actually remove
2022-02-11 12:11:35 +09:00
Anuraag Agrawal aeee5b4fae
Publish gradle-plugins to Maven Central (#5333)
* Publish gradle-plugins to Maven Central

* Update .github/workflows/release-gradle-plugins.yml

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-02-11 11:37:01 +09:00
Anuraag Agrawal 7e5fa5ee93
Add all AWS SDK api libraries referenced in testing to latestDepTest (#5280)
* Add all AWS SDK api libraries referenced in testing in latestDepTest

* Fix merge
2022-02-11 10:48:52 +09:00
Anuraag Agrawal 7b38845a47
Avoid having two tasks producing the same file (#5334) 2022-02-11 10:31:12 +09:00
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