Anuraag Agrawal
f9671e70af
Sign artifacts in build instead of in bintray. ( #1778 )
2020-11-28 15:39:52 +09:00
Anuraag Agrawal
31f1a73d59
Upgrade build plugin versions. ( #1774 )
2020-11-26 18:16:14 +09:00
Anuraag Agrawal
91a9e1885e
Replace java test version rule with property. ( #1769 )
...
* Replace java test version rule with property.
* Fix enabled check
* Update java.gradle
2020-11-26 16:53:20 +09:00
Anuraag Agrawal
822be11dbc
Use Kotlin context element in agent instrumentation ( #1618 )
...
* Use SDK helper
* Revert unintended.
2020-11-25 18:45:00 +09:00
Anuraag Agrawal
c202c9c9e6
Update to Gradle 6.7.1 ( #1760 )
2020-11-25 17:36:30 +09:00
Trask Stalnaker
0c5c4caaa4
Rename java-concurrent and java-classloader instrumentation modules ( #1733 )
...
* Rename java-concurrent instrumentation to executors
* Rename java-classloader to classloaders
2020-11-23 17:49:10 -08:00
Trask Stalnaker
5f7d1706c2
Remove special CI build dir ( #1738 )
...
* Remove special CI build dir
* Add isCI directly to spotbugs.gradle
2020-11-23 15:41:45 +02:00
Ago Allikmaa
e5f0779d1a
ByteBuddy tasks no longer resolve dependencies at config time. ( #1715 )
2020-11-20 19:24:52 -08:00
Anuraag Agrawal
7bfb6b6dbd
Update to SDK 0.11.0 ( #1690 )
2020-11-19 19:37:49 -08:00
Trask Stalnaker
d183692699
Enable checkstyle type var naming rule ( #1666 )
2020-11-19 11:00:31 -08:00
Nikita Salnikov-Tarnovski
bd52a5f428
Remove scala from runtime dependencies ( #1694 )
2020-11-19 20:05:02 +02:00
Trask Stalnaker
2e51003900
Enable checkstyle overload method ordering rule for Google Java Style ( #1656 )
2020-11-17 14:41:14 -08:00
Trask Stalnaker
b35c0b28cc
Java 7 and CircleCI cleanup ( #1654 )
...
* Java 7 and CircleCI cleanup
* Bring back and increment version instead
2020-11-17 10:36:23 +02:00
Trask Stalnaker
6d5ec329d6
Enable checkstyle for google style guide ( #1641 )
2020-11-16 18:46:59 -08:00
Anuraag Agrawal
d435da4638
Update to Gradle 6.7 and use new toolchains feature for testing on Ja… ( #1627 )
...
* Update to Gradle 6.7 and use new toolchains feature for testing on Java versions.
* Update docs
* Add back sum
* Use GitHub test JDK for toolchain.
* Use maxJavaVersionForTests for default test version when set.
* Fix RMI
* Fix configs
* Go back to rule
* Extract variable for default Java version.
2020-11-16 10:29:36 +02:00
Ago Allikmaa
995e2caee0
Update ByteBuddy to 1.10.18, adjust to new ByteBuddy gradle plugin ( #1596 )
...
* Adjust for use with ByteBuddy 1.10.18
* Fix language choices for ByteBuddy transformation.
* Remove no longer used MuzzleCodeGenerationPlugin$NoOp
2020-11-12 12:34:06 +02:00
Nikita Salnikov-Tarnovski
7f012c585d
Update publish.gradle ( #1611 )
...
Do not automatically publish to Bintray after upload
2020-11-10 15:04:24 +02:00
Anuraag Agrawal
3d21c26632
Update to SDK 0.10.0 ( #1564 )
2020-11-05 13:17:47 -08:00
Anuraag Agrawal
d9e978c8d8
Update to latest snapshot ( #1560 )
2020-11-05 20:49:32 +09:00
Anuraag Agrawal
e1c7baab42
Upgrade to latest SDK snapshot ( #1549 )
2020-11-05 17:45:59 +09:00
Jakub Wach
049358e81b
apache camel 2.20.x instrumentation ( #1397 )
...
* apache camel 2.20.x instrumentation
* removed instrumentation advice from helper classes
* code review #1
* code review #2 / experimental server name update
* code review changes / new tests, improved direct, new license header
* rebase changes
* code review changes
* code review changes, REST tests added
* changes after rebase to newest master
* code review changes
* code review
* code review
* rebase to master
2020-11-03 11:42:33 +02:00
Anuraag Agrawal
a528daee52
Update to latest snapshot ( #1544 )
2020-11-03 17:08:17 +09:00
Anuraag Agrawal
5d2cb459df
Update to latest SDK snapshot ( #1539 )
2020-11-02 16:07:53 +09:00
Anuraag Agrawal
7132757792
Update to latest snapshot ( #1532 )
2020-11-01 16:19:12 +09:00
Anuraag Agrawal
c6eee70660
Update to latest snapshot. ( #1524 )
2020-10-29 18:54:09 -07:00
Anuraag Agrawal
fd03a4b1e1
Replace ContextStore for context bridge with a custom context storage… ( #1493 )
...
* Replace ContextStore for context bridge with a custom context storage provider.
* Handle context mapping at storage layer.
* Cleanup
* Add interop test
* Small comment
* No threads
* Groovy
2020-10-29 15:42:50 +09:00
Anuraag Agrawal
a2dccf2316
Update to latest SDK snapshot. ( #1479 )
2020-10-26 19:29:46 -07:00
Anuraag Agrawal
f6ad05b8e3
Update to latest SDK snapshot ( #1384 )
...
* Update to latest SDK snapshot
* Use published snapshot
* Fixes
* Cleans
* spotless
* Most
* Clean
* Merge
* Temporarily remove context interop
* WIP
* Prepare for intercepting propagated span
* Bump SDK
* IDE updates
* Lots
* compileJava
* Done?
* bar
* Spot
* drugs
* Groovy--
* green for me
* Spot
* Remove grpc import
* Scrub
2020-10-25 15:14:32 +09:00
Mateusz Rzeszutek
50990a7c17
Cassandra instrumentations should store normalised CQL queries as db.statement ( #1427 )
...
* Move `DbSystem` to package `...instrumentation.api.db`
* Move `SqlNormalizer` to `javaagent-api` package ...api.db.normalizer
* Refactor Cassandra tests so that they use testcontainers (and run on Java 11)
* Implement Cassandra statement normalization
2020-10-22 17:56:06 +02:00
Ioannis Mavroukakis
9b91236775
ensure all published artifacts have a groupId ( #1438 )
...
* ensure all published artifacts have a groupId
* put exporters in to the javaagent group
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-10-22 13:33:16 +03:00
Nikita Salnikov-Tarnovski
7d77b2dc37
Prefer mavenCentral over jcenter ( #1440 )
...
* Prefer mavenCentral over jcenter
* Skip broken version for muzzle
2020-10-21 18:59:29 +03:00
Nikita Salnikov-Tarnovski
15e0b2ff32
Run build without warnings ( #1387 )
2020-10-15 16:10:22 -07:00
Mateusz Rzeszutek
ee0e0a9697
Muzzle improvements: docs, javadocs, renamings and minor refactoring ( #1379 )
2020-10-14 16:49:51 -07:00
Trask Stalnaker
7ecc9bb37b
Rename "auto" to "javaagent" in modules ( #1370 )
2020-10-13 12:32:13 -07:00
Trask Stalnaker
1b51d4a6b1
Rename packages ( #1367 )
2020-10-11 13:54:35 -07:00
Pavol Loffay
3f5c644885
Add Prometheus metric exporter ( #1262 )
2020-10-09 12:06:51 -07:00
Ioannis Mavroukakis
020d445dd3
spotbugs upgrade and fixes for JMS1 tests ( #1346 )
...
* spotless upgrade and fixes for JMS1 tests
* includes missed bugs in KotlinCoroutineTests
* create spotBugs XML reports on CI, HTML locally
* use updatedCodeNarc rules with lowercase tolerance
* remove if and move bool to each property
* allow spotBugs gradle plugin to upgrade the spotbugs tool
* revert to original test
* exclude all kotlin source from spotbugs
* remove default location for spotBugs report
* do not pass null to a Span's attribute
2020-10-09 11:19:00 +03:00
Trask Stalnaker
4624584979
Update spotless config ( #1349 )
...
* Apply spotless to buildSrc
* Apply spotless
* Update spotless version
* Apply spotless
* Another spotless update
* Apply spotless
2020-10-09 07:21:28 +03:00
Anuraag Agrawal
9c030591f2
Update to SDK 0.9.1 ( #1344 )
2020-10-08 17:50:25 +09:00
Trask Stalnaker
71511d8dbf
Update codenarc config ( #1335 )
2020-10-07 21:49:07 +03:00
Ioannis Mavroukakis
9523f9ffe6
fix and/or ignore spotbugs errors ( #1325 )
2020-10-06 19:39:17 -07:00
Anuraag Agrawal
46b04087ee
Allow parenting with the AWS Lambda span itself. ( #1323 )
...
* Allow parenting with the AWS Lambda span itself.
* Merge
* Fix propagator only set in library
2020-10-07 09:42:34 +09:00
Nikita Salnikov-Tarnovski
a4fab1396b
Fix compatibility problem with Docker for Mac 2.4 ( #1332 )
...
* Fix compatibility problem with Docker for Mac 2.4
* Polish
2020-10-06 13:54:31 +03:00
Anuraag Agrawal
5bba5d8482
Update to latest snapshot ( #1331 )
...
* Update to latest snapshot
* Update to latest snapshot
* instrumentation-api
* spotless
2020-10-06 17:47:41 +09:00
Nikita Salnikov-Tarnovski
aa79224f32
Ported JMS 1.x tests to testcontainers ( #1327 )
...
* Ported JMS 1.x tests to testcontainers
* Polish
* Debug
* Fix test
* spotless
* Remove otel.trace.classes.exclude properties
* codenarc
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-10-06 09:05:51 +03:00
Anuraag Agrawal
dadaac9a8c
Use 2-line license header to match SDK repo ( #1321 )
...
* Use 2-line license header to match SDK repo
* Apply change
2020-10-05 14:29:56 +09:00
Anuraag Agrawal
f2194a928c
Update to latest snapshot. ( #1304 )
2020-10-04 19:41:10 -07:00
Nikita Salnikov-Tarnovski
86961d496a
Compile error workaround ( #1305 )
...
* Compile error workaround
* Better workaround
2020-10-02 13:36:16 +03:00
Mateusz Rzeszutek
9e591bb01a
Refactoring Config into @AutoValue POJO ( #1254 )
2020-09-28 22:08:45 -07:00
Trask Stalnaker
8954f222c0
Update to the latest opentelemetry-java 0.9.0-SNAPSHOT ( #1266 )
2020-09-26 20:44:28 -07:00
Pavol Loffay
91b177165c
Bump Java from 14 to 15 in CI ( #1252 )
...
* Bump Java from 14 to 15 in CI
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Review comments
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* adjust comment
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Bump jacoco to 0.8.6
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* maxJavaVersionForTests
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-09-24 15:27:33 +03:00
Nikita Salnikov-Tarnovski
e74ffe2e52
Remove support for java7 from buildscripts ( #1229 )
...
* Remove support for java7 from buildscripts
* Remove support for java7 from buildscripts
2020-09-23 15:40:21 +03:00
Anuraag Agrawal
4c54656f1e
Add configuration for error prone / nullaway to allow opting in packa… ( #1203 )
...
* Add configuration for error prone / nullaway to allow opting in package by package.
* Guava annotated too
2020-09-15 18:59:50 +09:00
Anuraag Agrawal
912a159c19
Update to latest SDK snapshot. ( #1202 )
2020-09-15 17:49:10 +09:00
Anuraag Agrawal
5289520203
Fix groups / base name for javaagent artifacts ( #1173 )
2020-09-09 09:38:29 +03:00
John Bley
030e9fe107
Properly track causality of kotlin suspend functions ( #1168 )
...
* Initial work on kotlin suspend functions.
Introduce new instrumentation to capture kotlin suspended coroutines
and track/update Context appropriately. Add high-concurrency test
showing the issue and that it is solved.
* spotlessApply
* Fix spelling of continuation.
* Fix kotlin style
* Add kotlin dependencies to muzzle
* Fix muzzle in another package that pulls in java-concurrent.
* Use runBlocking instead of a sleep to finish test
* Clarify and improve comments on how/why
* Move kotlin coroutines instrumentation to top-level instrumentation module
* Properly build muzzle check for kotlin-coroutines
* Merge kotlin-testing into regular src/test rather than separate module
* Clean up attach/detach logic
* Tighten bounds and skipVersions on kotlin muzzle
* Rename fields and clean up attach logic
* Clean up types/side-effect code
* spotlessApply
* Enhance muzzle testing to properly test latest kotlin.
Required updating a few kotlin-y things to latest version to properly resolve the jvm
variant of their new multiplatform stuff.
2020-09-09 14:11:00 +09:00
Anuraag Agrawal
1217882a30
Move archivesBaseName into instrumentation gradle in a way that supports both old and new folder scheme. ( #1169 )
2020-09-04 12:38:58 +03:00
Anuraag Agrawal
5c86bcc20d
Update SDK dependency to released 0.8.0 ( #1162 )
...
* Update SDK dependency to released 0.8.0
* Update exporter
* Fix fake-backend proto reference
2020-09-03 17:09:51 +09:00
Anuraag Agrawal
7ec06e2d26
Add missing constraint on opentelemetry-proto ( #1154 )
2020-09-02 14:29:48 +09:00
Anuraag Agrawal
4c3e99fec8
Set instrumentation groups to unique values when using auto/library/testing pattern. ( #1145 )
2020-09-01 20:04:32 +09:00
Trask Stalnaker
f738a50323
Fix build due to snapshot issue ( #1127 )
2020-08-29 21:24:50 -07:00
Anuraag Agrawal
770502eed9
Merge exporter auto config into javaagent-tooling. ( #1120 )
...
* Merge exporter auto config into javaagent-tooling.
* Update javadoc
2020-08-30 11:07:48 +09:00
Nikita Salnikov-Tarnovski
e20cba57c2
Telemetry auto version ( #1112 )
...
* Provide telemetry.auto.version
* Report instrumentation library version
* Rename class
* Format
2020-08-27 23:16:17 +03:00
Nikita Salnikov-Tarnovski
c0cd7ca23b
Removing some gralde warnings ( #1094 )
2020-08-26 19:58:55 -07:00
Nikita Salnikov-Tarnovski
bc98955176
Update to latest otel-java snapshot ( #1057 )
...
* Update to latest otel-java snapshot
* Upgrade to working otel-java snapshot
* Update to latest otel-java snapshot
* Update to latest otel-java snapshot
2020-08-26 22:03:28 +03:00
Anuraag Agrawal
9cd2d627ca
Upgrade to Gradle 6.6 ( #1073 )
2020-08-20 16:30:47 +09:00
Trask Stalnaker
269b3575ef
Format gradle files ( #1070 )
2020-08-19 19:05:45 -07:00
Anuraag Agrawal
bbfdbb39c0
Create abstraction for library dependencies for instrumentation. ( #977 )
...
* Create abstraction for library dependencies for instrumentation.
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-19 08:57:31 +09:00
Trask Stalnaker
6a07b173af
Rename auto exporters module ( #1022 )
2020-08-17 21:04:13 -07:00
Nikita Salnikov-Tarnovski
f3c049f2ff
Some tweaks to improve gradle cacheability ( #1030 )
2020-08-17 22:57:49 +03:00
Trask Stalnaker
f893ca540b
Scripted package renaming ( #988 )
2020-08-15 21:55:01 -07:00
Nikita Salnikov-Tarnovski
08b4303d93
Try CiMate ( #980 )
2020-08-14 23:23:52 +03:00
Trask Stalnaker
f46ba88c29
Rename library-api artifact to instrumentation-api ( #969 )
2020-08-13 22:43:39 -07:00
Trask Stalnaker
bf9c160570
Rename javaagent modules ( #952 )
2020-08-12 22:50:14 -07:00
Trask Stalnaker
d778297b55
Only retry tests in CI ( #950 )
2020-08-13 07:53:19 +09:00
Anuraag Agrawal
e9d456d616
Instrument DefaultSpan.create to return a bridged span. ( #947 )
2020-08-12 10:39:47 -07:00
Nikita Salnikov-Tarnovski
a222676a3e
Improved smoke tests ( #934 )
...
* Preping smoke tests
* Improved smoke tests
* Make it work in Linux
* Add workflow to run tests on PR
* Build Smoke tests
* Fix PR workflow trigger
* Fix smoke test apps trigger
* Disable smoke tests in CircleCI and let them run in Github Actions only
* Fix smoke test apps docker image names
* Polish
2020-08-12 12:34:14 +03:00
Anuraag Agrawal
0eafc28608
Run tests using JUnit5 platform and remove SpockRunner ( #770 )
...
* Run tests with JUnit platform
* Matcher
* Restore
* Don't mix JUnit4 with JUunit5 in spring tests
* Separate out tests that need custom class loader.
* Separate out test for a couple classes that need it, try to remove SpockRunner, but Grizzly?
* Remove SpockRunner
* Fix grizzly
* Remove assumeTrue workaround.
* Comments
2020-08-12 11:05:26 +09:00
Trask Stalnaker
275fab6ea5
Retry all tests ( #941 )
2020-08-11 00:20:47 -07:00
Trask Stalnaker
b5fbf90977
Extract instrumentation api module ( #884 )
2020-08-09 22:52:33 -07:00
Trask Stalnaker
2c786ab1a1
Fix WithSpan annotation instrumentation ( #929 )
2020-08-09 21:46:50 -07:00
Trask Stalnaker
f9f6d1f6b3
Change library shading approach ( #930 )
2020-08-09 11:16:34 -07:00
Anuraag Agrawal
2ac65a67d5
Replace Spock retry with Gradle retry. ( #908 )
...
* Replace Spock retry with Gradle retry.
* Retry akka for real
* Warning
2020-08-06 17:59:40 +09:00
Munir Abdinur
906d80be12
clean up spring dependencies ( #878 )
2020-08-03 19:07:36 -07:00
Trask Stalnaker
eed2359803
Update to SDK version 0.7.0 ( #881 )
2020-08-03 16:06:25 -07:00
Anuraag Agrawal
ad3963303d
Merge integration tests back into test. ( #871 )
2020-08-02 15:41:47 +09:00
Anuraag Agrawal
87bf97da70
Generate bootstrap jar with gradle instead of when running tests. ( #840 )
...
* Generate bootstrap jar with gradle instead of when running tests.
* kill all semicolons
* docs
* docs
* ByteCodeTest
* Use latestDepTest classpath for its bootstrap jar
* Rename package
* Reformat comment
* Bootstrap jar absolute path
* Save bootstrap jar to reports dir.
* Debug
* Debug
* Use project.getBuildDir
* Restore
* Revert
* testFieldInjection is instrumentation test too.
* Split out bytecode tests for testing-common
* Apply jacoco configuration to all tests.
* Add note that jacoco may be causing frustration.
* YOLO alert - Hope my guess at the reason is correct
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-02 10:17:52 +09:00
dengliming
d362691100
Use new exporter public constants in spring boot starters ( #863 )
2020-08-01 10:01:09 -07:00
Trask Stalnaker
48da19b8a1
Faster spotless ( #844 )
2020-07-31 12:30:21 -07:00
Anuraag Agrawal
d092125ed4
Use dependson instead of finalizedby for integrationTest ( #848 )
2020-07-31 08:23:47 +03:00
Trask Stalnaker
f4ada08c49
Use default zipkin endpoint from otel-java ( #837 )
2020-07-30 11:56:35 -07:00
Helen Y
b659ee8223
Apply new database semantic attributes ( #823 )
2020-07-28 17:31:33 -07:00
Trask Stalnaker
48ef644c90
Run integrationTest as part of test ( #817 )
2020-07-28 15:21:40 +09:00
Munir Abdinur
03dce2ab2a
Create exporter starters ( #815 )
2020-07-27 22:19:30 -07:00
Anuraag Agrawal
91f8e8c199
Use archivesBaseName when publishing. ( #809 )
...
* Use archivesBaseName when publishing.
* Fix auto name
2020-07-27 15:01:55 +03:00
Anuraag Agrawal
688733ad43
Update OTel snapshot to 723 for recordException ( #786 )
...
* Update OTel snapshot to 723 for recordException
* Fix various servlet issues
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-07-27 14:32:05 +09:00
Anuraag Agrawal
5fa1efd38c
Target OTel SDK snapshot ( #746 )
2020-07-22 10:37:56 -07:00
Nikita Salnikov-Tarnovski
fcf4319aac
Faster tests ( #725 )
...
🎉
2020-07-22 10:10:34 -07:00
Anuraag Agrawal
d8355c672d
Docs for writing new instrumentation... ( #652 )
...
* Docs for writing new instrumentation
2020-07-19 14:21:19 +09:00
Alexey Zhokhov
f3421e91a0
Remove Lombok ( #672 )
...
* Gradle 6.5.1.
* Skip download javadoc and sources automatically in IntelliJ IDEA.
* Added mavenLocal to repositories.
* Removed Lombok usage.
* Removed duplicated idea config.
* Code format.
* Removed useless usage of Objects.requireNonNull.
* Use instanceof to comparing objects.
* Code format.
* Code format.
* Fixes after merge.
* Fixed sneakyThrow exception.
* Code format.
2020-07-18 15:52:55 +03:00