Commit Graph

7275 Commits

Author SHA1 Message Date
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
Trask Stalnaker 1d453debe3
Update log4j instrumentation docs (#4915)
* Update log4j instrumentation docs for 1.10.0 release

* More log4j doc changes for 0.10.0

* Updates for #4937

* Fix log4j documentation

* Update instrumentation/log4j/log4j-2.16/library/README.md

Co-authored-by: jack-berg <jberg@newrelic.com>
2022-01-04 20:55:36 -08:00
Anuraag Agrawal e08ed9d448
Add library instrumentation for ktor. (#4983) 2022-01-04 20:14:31 -08:00
Trask Stalnaker 7c58220d65
Fix logback testLatestDeps (#5010) 2022-01-04 16:20:21 -08:00
Trask Stalnaker dad9cbb556
Update triagers and maintainers (#5005)
* Update triagers and maintainers

* Update CODEOWNERS
2022-01-04 14:59:52 -08:00
Lauri Tulmin 97f110405d
Instrumentation for rxjava3.1.1 (#4954)
* Instrumentation for rxjava3.1.1

* Move common test classes

* spotless

* move rxjava 3.1.1 classes to separate package
2022-01-04 14:15:35 -08:00
Lauri Tulmin 26d2634beb
Convert camel instrumentation to instrumenter api (#4973) 2022-01-04 13:29:41 -08:00
jack-berg 935cb88ff4
Add logback appender (#4984) 2022-01-03 20:42:28 -08:00
Trask Stalnaker 1a9b37525c
Add support for capturing logback mdc attributes (#4968)
* Add support for capturing logback mdc attributes

* Spotless
2022-01-03 10:32:49 -08:00
Fabrizio Ferri-Benedetti 4d7a5d5062
Add settings docs for instrumentations (#4981)
* First commit

* Add other instrumentation docs

* Peer edits

* Update instrumentation/kafka/kafka-clients/README.md

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

* Update instrumentation/methods/README.md

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

* Update instrumentation/netty/README.md

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

* Update instrumentation/reactor/reactor-netty/README.md

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

* Update instrumentation/servlet/README.md

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

* Fixes

* Update instrumentation/couchbase/README.md

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

* Update instrumentation/rocketmq-client-4.8/README.md

Well spotted!

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

* Update instrumentation/spring/README.md

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

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2022-01-03 10:24:48 -08:00
Mateusz Rzeszutek a022f0ce59
Micrometer bridge instrumentation (#4919)
* Micrometer bridge instrumentation

* gauges with the same name and different attributes

* weak ref gauge

* one more test

* disable by default + muzzle

* code review comments

* log one-time warning

* make AsyncInstrumentRegistry actually thread safe

* code review comments

* one more minor fix
2022-01-03 13:33:39 +01:00
Nikita Salnikov-Tarnovski 606f39c9c7
Remove deprecated module (#4976) 2022-01-03 12:17:40 +02:00
Lauri Tulmin a45aaf34fb
Fix oshi latest dep test (#4993) 2022-01-03 08:44:33 +02:00
Anuraag Agrawal 83c94e9554
Update Gradle and build dependencies (#4971) 2021-12-23 16:01:39 +02:00
Trask Stalnaker 39a9a2f8e2
Fix codenarc (#4969)
* Fix codenarc

* Fix violations
2021-12-22 16:15:38 -08:00
Trask Stalnaker d0fb7d5c83
Fix spring-ws muzzle (#4970) 2021-12-22 14:57:08 -08:00
Trask Stalnaker 589ae4ccfa
Fix vertx modules (#4967) 2021-12-22 12:39:22 -08:00
Trask Stalnaker 5bc64a1b8b
Capture log4j2 context data (mdc) attributes (#4959)
* Capture log4j2 context data (mdc) attributes

* Spotless

* Remove system.out.println

* Switch to allow-list

* Spotless
2021-12-22 10:16:45 -08:00
Trask Stalnaker 6884d66c09
Reduce top level instrumentation directories (#4965)
* akka

* dropwizard

* kafka

* reactor

* vertx
2021-12-22 10:16:13 -08:00
Mateusz Rzeszutek 9e3bd5c18d
Remove a few `ServerSpanNaming` usages (#4900)
* Remove a few ServerSpanNaming usages

* revert vaadin changes
2021-12-21 12:49:03 -08:00
Lauri Tulmin 2531b6e569
Context propagation for undertow async dispatch (#4950) 2021-12-21 12:47:54 -08:00
Anuraag Agrawal a9aee8ed45
Fix some gauge types (#4962) 2021-12-21 12:40:13 -08:00