Mateusz Rzeszutek
6a0ca530b7
Instrumentation API changes: VirtualField ( #6017 )
...
* Instrumentation API changes: VirtualField
* change class name in string constant
2022-05-12 11:17:24 -07:00
Lauri Tulmin
d5b935a92c
Correct artifact name in logback-mdc readme ( #5963 )
2022-05-02 19:12:17 -07:00
Mateusz Rzeszutek
d919f84cf8
Merge javaagent-instrumentation-api into javaagent-extension-api ( #5936 )
...
* Merge javaagent-instrumentation-api into javaagent-extension-api
* remove some leftover references to javaagent-instrumentation-api
* add missing instrumentation-api to distro example
2022-04-28 20:11:15 -07:00
Mateusz Rzeszutek
b702a9d4d1
Fix logging instrumentation to pass Context instead of Span ( #5881 )
2022-04-19 12:24:10 -07:00
Mateusz Rzeszutek
7c760acea6
Move some classes out of `javaagent-instrumentation-api` ( #5841 )
...
* Move concurrent instrumentation utils out from javaagent-instrumentation-api
* Move AgentLogEmitterProvider, InstrumentedTaskClasses and OpenTelemetrySdkAccess out of javaagent-instrumentation-api
2022-04-15 12:09:28 -07:00
Lauri Tulmin
5946813a68
Use UnsynchronizedAppenderBase as base class for our logback appender ( #5818 )
2022-04-13 10:11:00 -07:00
Anuraag Agrawal
e58d39d4ad
Update to OTel 1.13 ( #5799 )
...
* Update to OTel 1.13
* Fix test
* Foo
* Fix app server test and start yak shaving
* Yak
* Yak
* groovy fail
* Yak
* GROOVY
* yak farm
2022-04-13 13:16:32 +03:00
Mateusz Rzeszutek
519024485c
Move Cache and related classes to internal package ( #5759 )
...
* Move Cache and related classes to internal package
* fix imports
2022-04-06 18:12:11 -07:00
Anuraag Agrawal
14372adb68
Migrate Guava tests to Java ( #5668 )
...
* Migrate Guava tests to Java
* Update instrumentation/guava-10.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/guava/ListenableFutureTest.java
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
* Workaround inline mock issue
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
2022-03-24 14:14:09 +09:00
Lauri Tulmin
e9c1efece2
Update to Groovy 4 ( #5532 )
...
* Update to Groovy 4
* exclude spock from grails tests, update comment
* Update instrumentation/grails-3.0/javaagent/build.gradle.kts
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-03-09 15:07:41 -08:00
Trask Stalnaker
b0e4be0e5f
Capture logback formatted message ( #5497 )
2022-03-04 13:10:55 +02:00
Trask Stalnaker
627f5d3e1c
Add experimental thread attributes for logs ( #5474 )
2022-03-02 09:06:08 -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
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
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
Mateusz Rzeszutek
4f29770f73
Remove old TraceUtils and use InstrumentationTestRunner#run*Span() (almost) everywhere ( #5160 )
...
* Remove old TraceUtils and use InstrumentationTestRunner#run*Span() (almost) everywhere
* Fix HTTP server tests
* Fix compilation failure
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-01-18 13:42:53 -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
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
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
Trask Stalnaker
7c58220d65
Fix logback testLatestDeps ( #5010 )
2022-01-04 16:20:21 -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
Trask Stalnaker
39a9a2f8e2
Fix codenarc ( #4969 )
...
* Fix codenarc
* Fix violations
2021-12-22 16:15:38 -08:00
Trask Stalnaker
484ae6be17
Fix logback testLatestDeps ( #4953 )
2021-12-20 15:45:40 -08:00
Trask Stalnaker
ea359e61fb
Add logback appender javaagent instrumentation ( #4939 )
...
* logback
* Use assertInverse
* sync
* sync
* Update instrumentation/logback/logback-appender-1.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/logback/appender/v1_0/LogbackHelper.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation/logback/logback-appender-1.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/logback/appender/v1_0/LogbackHelper.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Unroll
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-12-20 12:27:54 -08:00
Trask Stalnaker
935eeae544
Update folder structure ( #3174 )
...
* Update apache-dubbo-2.7 folder structure
* Update logback-1.0 folder structure
2021-06-02 23:46:52 -07:00
Anuraag Agrawal
c3dedbb64e
Enable all errorprone checks ( #3155 )
...
* Enable all errorprone checks
* Fixes
* Finish
* Finish
* Add flag to disable error prone
2021-06-01 17:41:08 +09:00
Anuraag Agrawal
c358a35414
Use dependency management pattern for dependency versions ( #3113 )
...
* Use dependency management pattern for dependency versions.
* Add groovy bom too
* Update dependencyManagement/dependencyManagement.gradle.kts
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-28 11:32:08 +09:00
Mateusz Rzeszutek
bb8f515083
Refactor TypeInstrumentation#transformers() method ( #3019 )
...
* Refactor TypeInstrumentation#transformers() method part 1
Add TypeInstrumentation and its implementations
* Refactor TypeInstrumentation#transformers() method part 2
Use the new method in all existing TypeInstrumentation implementations
* Drift
* Spotless
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-18 09:50:26 +02:00
Anuraag Agrawal
fe41885ee6
Switch to colon notation for dependencies. ( #2994 )
...
* Switch to colon notation for dependencies.
* Even more cleanup
* Revert mistake
2021-05-15 15:31:06 +09:00
Mateusz Rzeszutek
9c7fae3b04
Extract javaagent-extension-api from tooling & spi ( #2879 )
2021-05-06 23:30:25 -07:00
Trask Stalnaker
9bd028f767
Remove unnecessary genericness ( #2797 )
2021-04-14 00:01:28 -07:00
Mateusz Rzeszutek
078603caf5
Generate InstrumentationModule#contextStore() with muzzle ( #2775 )
2021-04-13 20:05:01 -07:00
Mateusz Rzeszutek
1406855bb7
Revert "Prevent duplicate telemetry when using both library and auto instrumentation ( #2661 )" ( #2689 )
2021-04-01 16:11:15 -07:00
Mateusz Rzeszutek
30434696ae
Prevent duplicate telemetry when using both library and auto instrumentation ( #2661 )
...
* Prevent duplicate telemetry when using both library and auto instrumentation
* Add unit test
* Fix Oshi tests
* Fix couchbase 3.1 tests
2021-03-31 10:57:04 -07:00
Anuraag Agrawal
c1718baf23
Add logback classloader optimization ( #2581 )
2021-03-16 14:36:24 +02:00
Mateusz Rzeszutek
fc4d640e1a
Update log4j & logback library instrumentation README ( #2369 )
2021-02-22 16:47:12 +02:00
Mateusz Rzeszutek
f127a972dc
Add 'trace_flags' to logging MDC ( #2312 )
...
* Add 'trace_flags' to logging MDC
* Remove 'sampled' flag
* Rename MDC keys to the current logging spec convention: trace_id instead of traceId
* Fix smoke tests
2021-02-18 16:47:26 +09:00
Trask Stalnaker
54e9cd5d5f
Update MDC docs to reflect log spec naming ( #2303 )
2021-02-17 14:52:10 +02:00
Anuraag Agrawal
fc410706d0
Update to Sdk 0.16.0 ( #2221 )
...
* Update to 0.16.0-SNAPSHOT
* Finish
* Finish
* Update to 0.16.0
* Finish
2021-02-09 18:00:54 +09:00
Mateusz Rzeszutek
93b3a3b289
testing-common refactoring: replace direct AgentTestRunner usage with… ( #2134 )
...
* testing-common refactoring: replace direct AgentTestRunner usage with spock spec
* Updated instrumentation docs
* Fix reactor-core library tests
ReactorCoreTest was getting a tracer from GlobalOpenTelemetry before LibraryTestTrait had a change to initialize the SDK
2021-02-01 11:32:25 +01:00
Vladimir Šor
92dbb410eb
Remove armeria notice from logback instrumentation library. ( #1983 )
2021-01-06 00:30:13 +09:00
Mateusz Rzeszutek
9a64a628ea
Make instrumentations non final ( #1752 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-11-26 11:22:25 -08:00
Mateusz Rzeszutek
50c8ab499d
Remove no longer needed helperClassNames() methods ( #1755 )
2020-11-24 20:50:32 -08:00
Mateusz Rzeszutek
1a23ac3027
Standardize instrumentation names in InstrumentationModules ( #1648 )
...
* Standardize instrumentation names in InstrumentationModules
* rename gradle modules:
* vertx-3.0 to vertx-web-3.0
* spark-web-framework-2.3 to spark-2.3
* add JavaDoc describing the naming rules to InstrumentationModule
2020-11-17 13:30:28 -08:00
Trask Stalnaker
6d5ec329d6
Enable checkstyle for google style guide ( #1641 )
2020-11-16 18:46:59 -08:00
Mateusz Rzeszutek
ef58ec1770
Refactor Instrumenters into InstrumentationModules - K, L, M ( #1563 )
2020-11-09 14:41:55 -08:00
Anuraag Agrawal
5d2cb459df
Update to latest SDK snapshot ( #1539 )
2020-11-02 16:07:53 +09:00
Anuraag Agrawal
c6eee70660
Update to latest snapshot. ( #1524 )
2020-10-29 18:54:09 -07:00