jack-berg
6b607c1e18
Add resource providers ( #6574 )
...
* Add resource providers
* Use autoservice annotation
2022-09-14 15:45:24 -07:00
Mateusz Rzeszutek
8b2b3281fe
Encapsulate logging ( #6543 )
...
* Encapsulate actual logging implementation better
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* code review comments
* revert to the old slf4j package name
* spotless
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-09-12 13:22:26 -07:00
Trask Stalnaker
24e92b228c
Fix jApiCmp CI check ( #6577 )
2022-09-12 08:38:44 -07:00
Trask Stalnaker
1ab62654f2
Introduce non-alpha bom ( #6576 )
2022-09-11 12:17:38 -07:00
Mateusz Rzeszutek
edf421ede5
Stabilize instrumentation-api and introduce jApiCmp checks ( #6566 )
...
* Stabilize instrumentation-api and introduce jApiCmp checks
* Update
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-09-09 15:26:39 -07:00
Mateusz Rzeszutek
f63eae5ad0
Add gradle plugin for SDK extensions ( #6558 )
2022-09-08 15:06:32 -07:00
Lauri Tulmin
73b4b5b5c8
Update groovy and spock versions ( #6521 )
...
* Update groovy and spock versions
* testing-common shouldn't bundle junit api
2022-08-31 10:43:36 +03:00
Trask Stalnaker
68a9f20eb3
Enable PrivateConstructorForUtilityClass errorprone check ( #6427 )
...
* PrivateConstructorForUtilityClass
* Advice
* More advice
* More
* More advice
* More
* Spotless
* Fix
* Fix
* Fix
* A better solution
* Revert
* More
* Fix
* Spotless
* Fix
2022-08-10 11:30:22 +03:00
Mateusz Rzeszutek
6b1d415174
Update spotless version ( #6421 )
2022-08-05 09:19:37 -07:00
Trask Stalnaker
f41dee250a
Sync errorprone configurations ( #6418 )
...
* Sync errorprone configurations
* Fix
2022-08-04 08:48:30 -07:00
Trask Stalnaker
0b15109107
Keep licenses up-to-date ( #6399 )
...
* Keep licenses in sync
* Oops
* Wording
* Wording
* Update
2022-08-02 12:41:02 -07:00
Sam Xie
2e1d683d16
Fix build error on M1 Mac ( #6355 )
2022-07-21 12:57:18 +03:00
Lauri Tulmin
07f787693c
Fix build failure on M1 mac ( #6324 )
2022-07-14 08:58:45 -07:00
Trask Stalnaker
fb784aa877
Support new annotations (and change of instrumentation name for opentelemetry-annotations) ( #6296 )
...
* Support new annotations
* Consistency
* Simplify
* Annotation
* oops
2022-07-11 14:34:26 -07:00
Trask Stalnaker
177f0aec7c
Rename instrumentation-api-annotation-support ( #6288 )
2022-07-08 17:07:41 -07:00
Trask Stalnaker
8fac01e736
Enable error prone's UnusedVariable check ( #6217 )
...
* Enable error prone's UnusedVariable check
* Spotless
2022-06-27 10:55:27 +02:00
Trask Stalnaker
b0eae3461c
Update spotless ( #6218 )
...
* Update spotless
* Update spotless
2022-06-26 14:44:29 -07:00
Trask Stalnaker
c90f01094b
Update error prone ( #6216 )
2022-06-26 14:25:52 -07:00
Lauri Tulmin
ef0395ff55
Set file/dir access flags for reproducible build ( #6072 )
2022-05-20 09:12:48 -07:00
Anuraag Agrawal
528360db8c
Update dependencies ( #6007 )
...
* Update dependencies
* Add maven to plugin repos
* Fix tests that fail with groovy 4.0.2 (#42 )
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
2022-05-17 14:12:36 -07:00
Trask Stalnaker
d17a0d7d9a
Instrument SpanKey directly ( #5933 )
...
* Instrument SpanKey directly
* feedback
* Make muzzle work
* Revert unrelated change
2022-05-03 14:56:33 -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
Trask Stalnaker
8dc6e2f327
Suppress PeriodicMetricReader debug logging ( #5934 )
2022-04-26 11:22:11 +03: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
Anuraag Agrawal
980746ae44
Update errorprone ( #5776 )
...
* Update errorprone
* Fix errorprone on java 17
* Fix oshi test
* Spot
* Fix merge
2022-04-11 12:48:16 -07:00
Anuraag Agrawal
7e428168ff
Update dependencies ( #5777 )
...
* Update dependencies
* Update licenses
* Exclude licenses from link check
* Exclude licenses from link check?
2022-04-08 20:00:53 +09:00
Anuraag Agrawal
a48ecd0365
Upgrade Gradle and build dependencies ( #5775 )
2022-04-08 14:31:38 +09:00
Mateusz Rzeszutek
8e722cc264
Library instrumentation should read its version from a file ( #5692 )
...
* Library instrumentation should read its version from a file
* errorprone
* animalsniffer
* code review comments
* add name as task input too
* code review comments
2022-04-04 11:52:23 -07:00
Mateusz Rzeszutek
5fb2261a82
Split out instrumentation-api-semconv ( #5721 )
...
* Split out instrumentation-api-semconv
* fix tests
* Moved LoggingContextConstants to semconv module too
2022-04-01 10:04:52 -07:00
Mateusz Rzeszutek
b668e73e13
Convert all logging statements from slf4j to jul ( #5674 )
...
* Convert all logging statements from slf4j to jul
* code review comments
* fix tests
* Fix randomly failing test
2022-03-25 10:02:51 -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
Mateusz Rzeszutek
56f65e4fab
Convert all logging statements from slf4j to jul - part 1 ( #5628 )
...
* Convert all logging statements from slf4j to jul - part 1
* fix tests
* use placeholders
* fixed all comments, added static imports for Level
2022-03-22 10:35:27 -07:00
Anuraag Agrawal
cf805d87e0
Run Gradle and compile code with Java 17 ( #5623 )
...
* Run Gradle and compile code with Java 17
* Fix examples
* Update spotless version
* Add spotless Java 17 workaround
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-03-18 15:38:51 -07:00
Anuraag Agrawal
fafa0b4350
Migrate remaining scala tests to scala ( #5620 )
...
* Migrate remaining scala tests to scala
* Remove another groovy hack
2022-03-18 09:57:17 -07:00
Anuraag Agrawal
75b75e7737
Migrate executors test to java ( #5596 )
2022-03-18 08:46:17 +09:00
Lauri Tulmin
2ebe912fe4
GraphQL java instrumentation ( #5583 )
...
* GraphQL Java Initial Commit
* [WIP] First steps for GraphQL instrumentation, totally not ready
[skip ci]
* GraphQL Java instrumentation
* address review comments
* Apply suggestions from code review
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* review feedback
* scope handling
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* use spotless:off
* trigger build
* review comments
Co-authored-by: Jordie <xd@jrdie.nl>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-03-17 08:55:45 -07:00
Anuraag Agrawal
47508330ba
Fix akka actors testLatestDeps ( #5589 )
...
* Fix akka actors testLatestDeps
* latest dep test scala version differs by module
* Don't bother with compat library since doesn't look good anyways
2022-03-16 15:36:01 +09:00
Anuraag Agrawal
d2401e14a9
Migrate AkkaActorTest to scala ( #5582 )
2022-03-16 08:08:10 +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
Anuraag Agrawal
487a01eb3e
Update Gradle and build dependencies ( #5531 )
2022-03-09 09:09:20 -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
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
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
Anuraag Agrawal
74d428dbd2
Disable deprecation lint for testLatestDeps ( #5208 )
2022-01-24 16:48:46 +09:00
Anuraag Agrawal
e04f52b9db
Enable java lint ( #5182 )
...
* Enable java lint
* Compile internal-lambda-java9 withot using --release flag (#34 )
* Fix some custom testsets
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
2022-01-24 12:45:42 +09:00
Anuraag Agrawal
ec375116be
Fix more lint warnings ( #5174 )
...
* Fix more lint warnings
* Redisable lint
* Drift
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-01-20 12:48:46 +09:00
Anuraag Agrawal
b7a95857c7
Fix some java lint warnings ( #5120 )
...
* Convert InstrumentationTestRunner from interface to abstract class
* Foo
* Commit
* Revert unintended
2022-01-17 10:26:03 -08:00
Trask Stalnaker
eea7c0f1dc
Fix publishing gradle plugins ( #5132 )
2022-01-17 18:33:26 +01:00
Trask Stalnaker
f9a9dcb769
Fix release failure ( #5129 )
...
* Revert "Disable jar task in javaagent module (#4765 )"
This reverts commit 63c8b55d68
.
* Add comment
2022-01-17 18:32:59 +01: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