Commit Graph

7396 Commits

Author SHA1 Message Date
Mateusz Rzeszutek 6eeb6ccfd0
Fix flaky micrometer tests (#5106)
* Fix flaky micrometer tests

* Add comment
2022-01-13 11:47:37 -08:00
Nikita Salnikov-Tarnovski d81049a174
Make nightly-no-cache.yml send scans to GE (#5107) 2022-01-13 10:55:24 -08:00
jason plumb 963b5cc087
Connect AgentLogEmitterProvider global during OpenTelemetryInstaller (#5088)
* during install, hook up the log emitter provider for instrumentation to use.

* spotless

* Fix tests

* Default instrumentation name to ROOT when logger name null/empty

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-01-13 08:31:02 -08:00
Trask Stalnaker fce227785f
Fix smoke test servlet image publishing (#5102) 2022-01-13 08:41:53 +02:00
Trask Stalnaker 6043e065d4
Use github action env files (#5099) 2022-01-12 20:09:56 -08:00
Mateusz Rzeszutek 9299567a96
Micrometer library instrumentation (#5063) 2022-01-12 20:06:27 -08:00
Trask Stalnaker 00e0920913
Apply gradle github action everywhere (#5089) 2022-01-12 19:35:18 -08:00
Trask Stalnaker 26e93e4068
Merge 1.9.2 change log entry (#5090) 2022-01-12 16:57:44 -08:00
Lauri Tulmin 0624b6561e
Add debug logging to SpringTemplateJms1Test (#5087) 2022-01-12 16:13:32 -08:00
Trask Stalnaker f7da97bd9d
Move appender api to internal (#5080)
* rename artifacts and packages

* Library users shouldn't need to use internal

* Update docs

* Rename in order to simplify HelperClassPredicate

* Spotless

* Move AgentLogEmitterProvider to javaagent-instrumentation-api
2022-01-12 08:38:28 -08:00
Lauri Tulmin f60f7e2cc1
Attempt to fix flaky micrometer test (#5085) 2022-01-12 17:29:54 +02:00
Mateusz Rzeszutek 8324b51c04
Micrometer instrumentation, part 3 (#5017)
* Micrometer instrumentation, part 3

* fix compilation

* add comment

* code review comments
2022-01-12 16:25:49 +01:00
Lauri Tulmin 0eb3156420
Increase timeout for redisson test (#5084) 2022-01-12 17:25:19 +02:00
Trask Stalnaker b8ea362112
Don't capture http.target as metrics attribute (#5081) 2022-01-12 17:24:47 +02:00
Anuraag Agrawal 5577afbf45
Update dependencies (#5083)
* Update dependencies

* Downgrade jackson for jax test
2022-01-12 17:21:13 +02:00
Anuraag Agrawal 3804968898
Apply spotless to conventions scripts (#5082)
* Apply spotless to conventions scripts

* Apply spotless
2022-01-12 17:42:50 +09:00
Trask Stalnaker 39d20b5fbc
Fix lettuce testLatestDeps (#5079) 2022-01-11 14:16:19 -08:00
Trask Stalnaker 61cc276264
Remove unnecessary verification (#5057) 2022-01-11 11:37:43 -08:00
Nikita Salnikov-Tarnovski 2d71fc9d53
Do not run jApiCmp tasks automatically (#5068) 2022-01-11 19:49:33 +02:00
Mateusz Rzeszutek 929b6808dd
End redisson span when the operation actually ends (#5073) 2022-01-11 09:41:06 -08:00
Anuraag Agrawal 1f5bb7dc20
Predeclare spotless deps to allow high concurrency (#5067)
* Predeclare spotless deps to allow high concurrency

* Comment
2022-01-11 16:46:48 +09:00
Trask Stalnaker db8cd050a7
Add spotless to standalone subprojects (#5058)
* Update spotless version

* Add spotless to benchmark-overhead

* Add spotless to smoke-test images

* Add spotless to examples

* Apply spotless

* Resolve log4j conflict

* Apply spotless after upgrade
2022-01-10 12:46:52 -08:00
Lauri Tulmin c6fe6b8252
Fix flaky log4j appender test (#5062) 2022-01-10 09:16:15 -08:00
Mateusz Rzeszutek 6d221e160a
Micrometer instrumentation, part 2 (#5001)
* Micrometer instrumentation, part 2

* use double counter instead of gauge in FunctionTimer

* code review suggestions

* fix errorprone

* rebase and fix compilation failure
2022-01-10 13:22:32 +01:00
Trask Stalnaker 2ac6d2231e
Add OTLP logs exporters (#5060) 2022-01-10 13:31:09 +02:00
Trask Stalnaker 642f2c1614
Peer service optimization (#5056) 2022-01-10 10:01:28 +02:00
Trask Stalnaker c3e0c258d7
Update style guide regarding final local vars (#5055) 2022-01-10 10:01:08 +02:00
Nikita Salnikov-Tarnovski 1a9c633b4b
Rename some packages, move some classes (#5043)
* Rename some packages, move some classes
2022-01-09 13:26:51 +02:00
Trask Stalnaker 68c3f17edd
Allow running smoke tests locally on windows (#5046)
* Allow running smoke tests locally on windows

* Groovy

* codenarc

* Invert condition

* Fix
2022-01-08 11:28:59 -08:00
Lauri Tulmin dcbc2b3866
Retry elasticsearch startup (#5044) 2022-01-08 14:01:54 +02:00
Nikita Salnikov-Tarnovski 3144859396
Stop using deprecated NetPeerAttributes outside of the deprecated package (#5024) 2022-01-08 14:01:09 +02:00
Anuraag Agrawal c75c01f871
Update to OTel 1.10 (#5035)
* Update to OTel 1.10

* Fix metric smoke test

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-01-07 15:45:20 -08:00
Nikita Salnikov-Tarnovski daeda5dcfc
Don't extract deprecated cassandra keyspace attribute (#5041) 2022-01-07 15:19:59 -08:00
Nikita Salnikov-Tarnovski 25550e0a63
Stop using deprecated constructor (#5040)
* Stop using deprecated constructor

* Try to fix the build
2022-01-07 11:47:54 -08:00
Lauri Tulmin d5bd3cb91b
Fix NPE in rmi server instrumentation (#5042) 2022-01-07 11:47:23 -08:00
Anuraag Agrawal 478800e5de
Update byte buddy (#5037) 2022-01-07 20:30:08 +09:00
Anuraag Agrawal 46a885c4e8
Set bytebuddy task's classFileVersion (#5036) 2022-01-07 20:29:55 +09:00
Nikita Salnikov-Tarnovski 1745e7bb55
Stop using deprecated AttributeSetter outside of the deprecated package (#5038) 2022-01-07 12:57:39 +02:00
Trask Stalnaker 0c5812951f
Remove another unused gradle file (#5028) 2022-01-06 22:54:02 -08:00
Anuraag Agrawal f6bcd76219
Update errorprone (#5016)
* Update errorprone

* gwt

* Remove unnecessary final

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-01-06 14:21:56 -08:00
Lauri Tulmin 55e44d790c
ktor net attribute extraction (#5027)
* ktor net attribute extraction

* spotless
2022-01-06 12:03:59 -08:00
Lauri Tulmin 12c15b226f
Capture servlet request parameters at the end of the request (#5019)
* Capture servlet request parameters at the end of the request

* add comment
2022-01-06 12:02:42 -08:00
Trask Stalnaker 07ce0b5909
Support log4j map messages (#4966)
* Support log4j map messages

* Cache attribute keys

* Review

* Add tests

* Fix test

* Codenarc

* Better tests

* Remove sysout
2022-01-06 12:02:12 -08:00
Lauri Tulmin acaa5e687a
Remove grails lates dep restriction (#5025) 2022-01-06 08:56:41 -08:00
Lauri Tulmin c45b4ea5be
Fix redefinition failure on openj9 (#5009)
* Fix redefinition failure on openj9

* isntead of remembering the list of interfaces the class has remember whether it has any of the virutal field marker interfaces

* address review comment

* ensure virtual field detection works when internal-reflection instrumentation is disabled
2022-01-06 08:54:32 -08:00
Trask Stalnaker 9d68a9f004
Remove unused file (#5020) 2022-01-06 09:31:59 +02:00
Lauri Tulmin 175d1bfdcb
Create producer span from spring integration instrumentation (#4932)
* Add an option to create producer span from spring integration instrumentation

* Update instrumentation/spring/spring-integration-4.1/library/src/main/java/io/opentelemetry/instrumentation/spring/integration/TracingChannelInterceptor.java

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

* add null check

* add doc

* Update instrumentation/spring/README.md

Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
2022-01-05 13:00:22 -08:00
Mateusz Rzeszutek 4fb6c35436
Bump the SDK version in examples (#5018) 2022-01-05 12:35:54 -08:00
Trask Stalnaker 83b5156963
Use team alias in CODEOWNERS file (#5011) 2022-01-05 10:01:08 +02:00
Trask Stalnaker 55eb157645
Fix ktor testLatestDeps (#5014) 2022-01-04 21:51:24 -08:00