dependabot[bot]
653291c116
Bump com.gradle.plugin-publish from 1.0.0 to 1.1.0 ( #7147 )
2022-11-11 17:33:57 -08:00
sharp-pixel
31f4d12d31
Add support for OpenSearch 1.x and 2.x auto-instrumentation ( #6998 )
...
This PR adds support for OpenSearch 1.x and 2.x Java clients
auto-instrumentation.
This is made possible by OpenTelemetry specification v1.14.0 and
OpenTelemetry Java SDK v1.19.0.
Testing is being done using
org.opensearch:opensearch-testcontainers:2.0.0
(https://github.com/opensearch-project/opensearch-testcontainers )
Resolves #7007
Signed-off-by: Cédric Pelvet <cedric.pelvet@gmail.com>
Signed-off-by: Cédric Pelvet <cedric.pelvet@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-11-09 20:44:14 -08:00
Trask Stalnaker
09f3a51efa
Update kotlin plugin version ( #7111 )
2022-11-09 08:13:25 -08:00
dependabot[bot]
4ef01a6fb2
Bump com.gradle.enterprise from 3.11.3 to 3.11.4 ( #7103 )
2022-11-08 23:05:18 +00:00
Trask Stalnaker
8642097424
Update jflex version ( #7036 )
...
instead of #7035
2022-11-03 11:35:28 +02:00
dependabot[bot]
7134856dd8
Bump com.gradle.enterprise from 3.11.2 to 3.11.3 ( #7013 )
2022-10-31 23:23:54 +00:00
Trask Stalnaker
d0e2ec8f11
Update jib version ( #7003 )
...
#7001 should be automatically closed once this is merged and that PR is
rebased
2022-10-28 13:14:47 +03:00
Trask Stalnaker
892f8daea8
Remove unused plugin ( #7002 )
...
#6994 should get closed by this automatically after this is merged and
it is rebased
2022-10-28 13:13:16 +03:00
Aaron Ai
029ed3d98b
Implement producer part of RocketMQ new client instrumentation ( #6884 )
...
Fix #6764 . This pull request is about the producer part.
2022-10-27 19:25:22 -07:00
Trask Stalnaker
56229fbdf7
Update dependencies ( #7000 )
2022-10-27 14:28:26 -07:00
Trask Stalnaker
1a16ef1bf9
Fix dependabot ( #6986 )
...
Follow-up to #6977
Dependabot started failing after this because it was looking for all of
the relative includes that were inside of
`.github/project-root-duplicates/settings.gradle.kts`.
The solution that seems to work (I've tested on my fork) is to split
those includes out into a separate file, and `apply` that file.
Also fixes a busted markdown link (probably should have sent that in a
separate PR).
Resolves #6989
2022-10-27 13:31:38 +03:00
Trask Stalnaker
7f5d747001
Remove unused gradle config ( #6965 )
...
(not sure, let's see what CI says?)
2022-10-24 21:02:46 -07:00
dependabot[bot]
c211e2faaf
Bump com.gradle.common-custom-user-data-gradle-plugin from 1.8.1 to 1.8.2 ( #6895 )
2022-10-17 23:07:31 +00:00
dependabot[bot]
a8b0c33fcb
Bump com.gradle.enterprise from 3.11.1 to 3.11.2 ( #6864 )
2022-10-12 18:19:44 -07:00
jack-berg
aeac361816
Upgrade to otel java 1.19.0 ( #6757 )
...
Working PR to capture all the changes required to update to otel java
1.19.0. The new log API force allows
`:instrumentation-appender-api-internal` and
`:instrumentation-appender-sdk-internal`, but necessitates a decent
amount of refactoring as a result.
The PR points at the `1.19.0-SNAPSHOT`, which I'll update upon
publication.
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2022-10-12 09:19:37 -07:00
jack-berg
fcd5876e1a
Add HTTP client and server tests ( #6836 )
...
Resolves #6835 .
2022-10-11 20:12:48 +00:00
jack-berg
d5aadbab04
Split out :instrumentation:netty:netty-4.1 library ( #6820 )
...
Resolves #6734 . Builds on #6811 .
2022-10-10 16:01:14 -07:00
jack-berg
1fcea2017b
Publish :instrumentation:netty:netty-4-common as library instrumentation ( #6811 )
...
Related to #6734 . Builds on #6805 .
I'll follow it up by splitting out `:instrumentation:netty:netty-4.1` in
a separate PR.
2022-10-06 08:50:25 -07:00
Mateusz Rzeszutek
891ec8c491
Rename restlet-1.0 to restlet-1.1 ( #6814 )
2022-10-06 08:49:55 -07:00
jack-berg
4c91ec9f42
Publish :instrumentation:netty:netty-common as library instrumentation ( #6805 )
...
Related to #6734 .
This first stage splits out the shared utilities in
`:instrumentation:netty:netty-common`. I'll follow it up by splitting
out `:instrumentation:netty:netty-4-common`,
`:instrumentation:netty:netty-4.1` in separate PRs. If there is
appetite, I can also split out library instrumentation for
`:instrumentation:netty:netty-4.0` and
`:instrumentation:netty:netty-3.8`, though I have no need for these.
2022-10-05 09:24:44 -07:00
Aaron Ai
4e59f10687
Rearrange the file structure of RocketMQ instrumentation ( #6762 )
...
Fixes #6761
2022-09-28 13:45:59 -07:00
jack-berg
6b607c1e18
Add resource providers ( #6574 )
...
* Add resource providers
* Use autoservice annotation
2022-09-14 15:45:24 -07:00
Trask Stalnaker
512e9f700c
Optimize ReactorNettyNetClientAttributesGetter ( #6600 )
...
* Optimize ReactorNettyNetClientAttributesGetter
* Update
2022-09-13 08:33:23 -07:00
dependabot[bot]
d779a6399a
Bump com.gradle.common-custom-user-data-gradle-plugin from 1.8 to 1.8.1 ( #6596 )
...
Bumps com.gradle.common-custom-user-data-gradle-plugin from 1.8 to 1.8.1.
---
updated-dependencies:
- dependency-name: com.gradle.common-custom-user-data-gradle-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 19:29:41 -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
1ab62654f2
Introduce non-alpha bom ( #6576 )
2022-09-11 12:17:38 -07:00
jack-berg
886f5032c4
Move micrometer shim library instrumentation back ( #6538 )
...
* Move micrometer shim library instrumentation back
* Switch package to io.opentelemetry.instrumentation.micrometer.v1_5
* Change instrumentation name
2022-09-07 14:20:27 -07:00
jason plumb
56f4e52a64
Add Spring Boot service name guesser / ResourceProvider ( #6516 )
...
* Add spring boot service name guesser.
* add encoding
* improve commandline handling
* move guesser to own module
* use readAllBytes which exists in java 8
* spotless
* add note and link to spring docs
* group for readability
* repackage
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* code review comments
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-09-07 08:15:47 -07:00
Trask Stalnaker
facd39230e
Fix the build ( #6482 )
2022-08-17 12:55:57 -07:00
Mateusz Rzeszutek
5862ace233
Tweak naming of spring autoconfigure and starter modules ( #6453 )
2022-08-15 22:07:08 -07:00
dependabot[bot]
fa1d11691c
Bump com.gradle.enterprise from 3.10.3 to 3.11.1 ( #6474 )
...
Bumps com.gradle.enterprise from 3.10.3 to 3.11.1.
---
updated-dependencies:
- dependency-name: com.gradle.enterprise
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 22:06:17 -07:00
dependabot[bot]
c374450116
Bump com.gradle.common-custom-user-data-gradle-plugin ( #6473 )
...
Bumps com.gradle.common-custom-user-data-gradle-plugin from 1.7.2 to 1.8.0.
---
updated-dependencies:
- dependency-name: com.gradle.common-custom-user-data-gradle-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 21:53:51 -07:00
Trask Stalnaker
3ed6fd9d46
Add liberty base version ( #6456 )
...
* Add liberty base version
* instrumentation name too
2022-08-10 22:31:06 +03:00
Mateusz Rzeszutek
0d1cc8ea0a
Set http.route in spring-autoconfigure webmvc instrumentation ( #6414 )
...
* Set http.route in spring-autoconfigure webmvc instrumentation
* Bump spring-webmvc library instrumentation version to 5.3
* nit: protected -> private
* Remove duplicated test (already covered by HttpSpanStatusExtractorTest)
* Move the README to the correct module
* fix link
* fix more links
* liiiiiiinks
* fix tests
* remove not needed weakref
2022-08-09 09:36:28 -07:00
Trask Stalnaker
c3d0498030
Change akka-actor base version from 2.5 to 2.3 ( #6439 )
...
* Change akka-actor base version
* Updates
* spotless
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2022-08-08 08:27:54 -07:00
Mateusz Rzeszutek
61aef2e413
Clean up spring-boot-autoconfigure exporter logic ( #6374 )
2022-08-02 09:35:19 +02:00
Mateusz Rzeszutek
5bc7abf178
Spring Kafka library instrumentation ( #6283 )
...
* Spring Kafka library instrumentation
* Merge and fix prior merge
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-07-18 14:38:44 -07:00
Mateusz Rzeszutek
db1250d8c9
Add a dropwizard-metrics -> OTel metrics bridge ( #6259 )
...
* Add a dropwizard-metrics -> OTel metrics bridge
* disable by default
* enable metrics for test
2022-07-15 14:48:52 -07:00
Trask Stalnaker
2a59d0faee
Add (more) Spring JMS support ( #6308 )
...
* Add (more) Spring JMS support
* Remove duplication
* Better advice matcher
2022-07-13 15:37:26 -07:00
dependabot[bot]
9aaec2930e
Bump com.gradle.enterprise from 3.10.2 to 3.10.3 ( #6307 )
...
Bumps com.gradle.enterprise from 3.10.2 to 3.10.3.
---
updated-dependencies:
- dependency-name: com.gradle.enterprise
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 17:01:26 -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
Mateusz Rzeszutek
7bbe918008
InstrumentationConfig part 2 ( #6292 )
2022-07-11 09:47:19 +02:00
Trask Stalnaker
177f0aec7c
Rename instrumentation-api-annotation-support ( #6288 )
2022-07-08 17:07:41 -07:00
Trask Stalnaker
c699a6c508
Move instrumentation annotations to this repo ( #6248 )
2022-07-07 14:31:27 -07:00
dependabot[bot]
814985e620
Bump com.gradle.plugin-publish from 1.0.0-rc-3 to 1.0.0 ( #6262 )
...
Bumps com.gradle.plugin-publish from 1.0.0-rc-3 to 1.0.0.
---
updated-dependencies:
- dependency-name: com.gradle.plugin-publish
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 11:03:23 +03:00
Ago Allikmaa
ba912bc382
Implement C3P0 connection pool metrics ( #6174 )
...
* C3P0 connection pool metrics
* Use PooledDataSource instead of specific implementation
* Add C3P0 readme
* RuntimeException in case of underlying SQLException
* Use ISE instead of RuntimeException
2022-06-20 14:21:54 +03:00
Lauri Tulmin
b4a1e2e9ee
Fix ClassCastException in JDBC instrumentation ( #6088 )
...
* Move DbInfo to boot loader
* add comment
* add test
* spelling
2022-06-16 12:09:24 -07:00
Ago Allikmaa
fae88de680
Implement Apache DBCP2 datasource metrics ( #6175 )
...
* Apache DBCP2 datasource metrics
* Fix issues from PR
* Add readme for autoinstrumentation
2022-06-15 15:00:46 -07:00
dependabot[bot]
cc30b5218b
Bump com.gradle.plugin-publish from 1.0.0-rc-2 to 1.0.0-rc-3 ( #6167 )
...
Bumps com.gradle.plugin-publish from 1.0.0-rc-2 to 1.0.0-rc-3.
---
updated-dependencies:
- dependency-name: com.gradle.plugin-publish
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 19:38:01 -07:00
dependabot[bot]
52f6e24780
Bump com.gradle.enterprise from 3.10.1 to 3.10.2 ( #6168 )
...
Bumps com.gradle.enterprise from 3.10.1 to 3.10.2.
---
updated-dependencies:
- dependency-name: com.gradle.enterprise
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 19:37:38 -07:00
dependabot[bot]
a9cc02a677
Bump com.gradle.common-custom-user-data-gradle-plugin from 1.7 to 1.7.2 ( #6141 )
...
Bumps com.gradle.common-custom-user-data-gradle-plugin from 1.7 to 1.7.2.
---
updated-dependencies:
- dependency-name: com.gradle.common-custom-user-data-gradle-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07 08:54:09 +03:00
Lauri Tulmin
cd2e11a9d6
Add instrumentation for JAX-RS 3.0 ( #6136 )
...
* Add instrumentation for JAX-RS 3.0
* set min java version to 11 for jax-rs 3.0
* exclude broken version
* fix muzzle range
* include correct api
* fix muzzle
* fix muzzle
* remove generics
* share test code
2022-06-03 12:49:14 +03:00
Lauri Tulmin
157ab7f754
Implement Oracle UCP connection pool metrics ( #6099 )
...
* Implement Oracle UCP connection pool metrics
* add additional instrumentation name
* change asserting no metrics reported after shutdown
2022-06-02 22:47:04 -07:00
jason plumb
f1a746dca5
Add tomcat-jdbc connection pool metrics instrumentation ( #6102 )
...
* add tomcat-jdbc connection pool metrics instrumentation
* use duration
* code review comments
* remove unnecessary awaits
* udpate supported-libraries.md
* add comment about weakmap
* add sleeps for safety
2022-06-02 16:18:07 -07:00
jason plumb
ee90c7c716
Change play instrumentation name to play-mvc and restructure dirs ( #6106 )
...
* restructure play instrumentation dirs
* change instrumentation name from play -> play-mvc
* Revert "change instrumentation name from play -> play-mvc"
This reverts commit 2174e0935f
.
* spring-mvc names
2022-06-02 12:48:36 -07:00
Lauri Tulmin
efd40f8cdf
Instrumentation for redisson 3.17.2 ( #6096 )
...
* Instrumentation for redisson 3.17.2
* cross test instrumentation
* split at 3.17.0, assert inverse
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-05-26 09:44:34 -07:00
Lauri Tulmin
b95b64ba88
Implement Vibur DBCP connection pool metrics ( #6092 )
...
* Implement Vibur DBCP connection pool metrics
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* address review comments
* don't check for metircs that aren't reported
* rework library test setup
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-05-26 11:26:02 +03:00
dependabot[bot]
fb69a98efe
Bump com.gradle.common-custom-user-data-gradle-plugin from 1.6.5 to 1.7 ( #6080 )
...
Bumps com.gradle.common-custom-user-data-gradle-plugin from 1.6.5 to 1.7.
---
updated-dependencies:
- dependency-name: com.gradle.common-custom-user-data-gradle-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-05-24 12:43:51 +03:00
dependabot[bot]
c10d8b2905
Bump com.gradle.enterprise from 3.10 to 3.10.1 ( #6079 )
...
Bumps com.gradle.enterprise from 3.10 to 3.10.1.
---
updated-dependencies:
- dependency-name: com.gradle.enterprise
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-05-24 10:42:55 +03:00
Trask Stalnaker
a54631f00e
Centralize all plugin versions ( #6064 )
2022-05-18 20:22:24 -07:00
Trask Stalnaker
88ba8d3e6d
Rename jboss-logmanager module to jboss-logmanager-appender ( #6045 )
...
* Rename jboss-logmanager module
* Package names too
2022-05-17 14:18:57 -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
dependabot[bot]
20aeb582a6
Bump com.gradle.plugin-publish from 1.0.0-rc-1 to 1.0.0-rc-2 ( #6037 )
...
Bumps com.gradle.plugin-publish from 1.0.0-rc-1 to 1.0.0-rc-2.
---
updated-dependencies:
- dependency-name: com.gradle.plugin-publish
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 22:48:54 -07:00
Mateusz Rzeszutek
dd5e30defd
Implement HikariCP library instrumentation ( #6023 )
2022-05-13 10:22:35 -07:00
Mateusz Rzeszutek
5bcab32379
Implement HikariCP connection pool metrics ( #6003 )
...
* Implement HikariCP connection pool metrics
* rebase after SDK update
* fix muzzle
* code review comments
2022-05-12 18:48:07 -07:00
Trask Stalnaker
cfe4a22307
Remove netty-4.1-common ( #5985 )
...
* Remove netty-4.1-common
* reactor-netty-1.0
2022-05-06 11:51:02 -07:00
Mateusz Rzeszutek
2a7700351d
Implement vertx-kafka-client instrumentation; single record handler ( #5973 )
...
* Implement vertx-kafka-client instrumentation; single record
* add muzzle
* Update baseline to 3.6
* Set baseline to 3.6 everywhere
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-05-05 12:06:39 -07:00
Trask Stalnaker
f2ed9bfbcc
Consolidate jboss-logmanager directories ( #5983 )
2022-05-05 08:54:48 -07:00
Trask Stalnaker
400bd5af3f
Update log4j package names ( #5978 )
2022-05-05 08:39:21 -07:00
dependabot[bot]
e85dba4375
Bump com.gradle.enterprise from 3.9 to 3.10 ( #5977 )
...
Bumps com.gradle.enterprise from 3.9 to 3.10.
---
updated-dependencies:
- dependency-name: com.gradle.enterprise
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 13:18:28 -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
Mateusz Rzeszutek
1345a6665e
Test spring-kafka instrumentation with receive telemetry disabled ( #5913 )
...
* Test spring-kafka instrumentation with receive telemetry disabled
* checkstyle and code review comment
2022-04-25 15:56:55 +02:00
Mateusz Rzeszutek
2bb7873f99
Add javaagent<->application context bridge for HttpRouteHolder ( #5838 )
...
* Add javaagent<->application context bridge for HttpRouteHolder
* remove comments
* fix broken http.route bridge
* spotless
* Move to a separate module
2022-04-22 08:29:54 -07:00
Mateusz Rzeszutek
4e3f19d469
Enable span suppression by SpanKey by default ( #5779 )
...
* Enable span suppression by SpanKey by default
* fix HTTP tests (probably)
* add exception for camel
* remove suppression tests from @WithSpan instrumentations
* remove suppression tests from @WithSpan instrumentation; spring boot autoconfigure
* fix twilio tests
* fix netty-based HTTP clients, remove AWS SDK 1.11 unit test
* fix elasticsearch tests
* codenarc
* spotless
* fix AWS SDK 1.11 tests
* remove a TODO
* code review comments
* fix merge conflict
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-04-19 14:13:09 -07:00
Mateusz Rzeszutek
1ab173755f
Delete deprecated micrometer library instrumentation ( #5884 )
2022-04-19 12:22:45 -07:00
Trask Stalnaker
85061691fe
Bump log4j version for library instrumentation to 2.17 ( #5849 )
...
* Bump log4j library version to 2.17
* muzzle
2022-04-19 12:11:10 -07:00
Will Li
c7f6eab664
Add jboss-logmanager mdc support ( #5842 )
...
* add support for jboss-logmanager-mdc
Signed-off-by: Cuichen Li <cuichli@cisco.com>
* update based on feedback
Signed-off-by: Cuichen Li <cuichli@cisco.com>
* update
* check spanContext is valid
2022-04-19 12:10:40 -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
Anuraag Agrawal
784f4b6704
Integrate servlet smoke into main build ( #5829 )
...
* Integrate servlet smoke test into main build.
* errorprone
* Update updater
2022-04-14 17:01:58 +09:00
Anuraag Agrawal
ed0b17df21
Integrate fake-backend project into main build. ( #5828 )
2022-04-14 15:33:10 +09:00
Anuraag Agrawal
1ca700525f
Integrate smoketests into the normal build ( #5825 )
...
* Integrate grpc, play, quarks, spring boot projects into main build.
* Apply spotless
* Apply spotless
* Fix spring-boot
* Fix quarkus
* README drift
* Update updater
2022-04-14 14:37:42 +09:00
Trask Stalnaker
7b6b31ff88
Extract instrumentation out of jaxrs-common module ( #5788 )
...
* Extract instrumentation out of jaxrs-common module
* dropwizard
* Move jaxrs annotation test too
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2022-04-11 16:59:15 -07:00
Lauri Tulmin
91066a8073
Add library instrumentation for ktor 2 ( #5797 )
2022-04-11 13:05:00 +03:00
Anuraag Agrawal
496c6cfb0a
Fix WithSpan initialization ordering requirement for SpanAttribute and Flux ( #5764 )
...
* Add shared tests for async end strategy WithSpan
* WIP
* WIP
* Finally
* dump
* Oops
* namedOneOf
2022-04-08 20:01:39 +09:00
Anuraag Agrawal
a48ecd0365
Upgrade Gradle and build dependencies ( #5775 )
2022-04-08 14:31:38 +09:00
Will Li
4815f1e7d1
Add support for jboss-logmanager ( #5737 )
...
* initialize the package
Signed-off-by: Cuichen Li <cuichli@cisco.com>
* add jboss-logmanger 2.1 instrumentation
Signed-off-by: Cuichen Li <cuichli@cisco.com>
* rename the test
Signed-off-by: Cuichen Li <cuichli@cisco.com>
* clean comment
Signed-off-by: Cuichen Li <cuichli@cisco.com>
* Revert "Add JBoss java.util.logging support (#5498 )"
This reverts commit 8b26cef666
.
* Remove extra directory
* Remove old jboss log manager test
* Ensure no cross interference
* Change base version to 1.1
* fix styles
Signed-off-by: Cuichen Li <cuichli@cisco.com>
* run spotless apply
Signed-off-by: Cuichen Li <cuichli@cisco.com>
* fix codenarc
Signed-off-by: Cuichen Li <cuichli@cisco.com>
* change the package version and additional module name
Signed-off-by: Cuichen Li <cuichli@cisco.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-04-04 14:23:31 -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
f2587ba248
Apply micrometer instrumentation to spring-boot-actuator apps ( #5666 )
...
* Apply micrometer instrumentation to spring-boot-actuator apps
* fix a bug
* code review comments
2022-03-23 10:25:51 -07:00
Anuraag Agrawal
9f3ad23a9a
Migrate scala executor tests to Java ( #5618 )
2022-03-18 13:49:03 +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
487a01eb3e
Update Gradle and build dependencies ( #5531 )
2022-03-09 09:09:20 -08:00
Trask Stalnaker
e67c9c4796
Fix jboss-logmanager testLatestDeps ( #5503 )
2022-03-04 21:01:38 -08:00
Trask Stalnaker
ab9169cd25
Add Azure SDK instrumentation ( #5467 )
...
* Add Azure SDK instrumentation
* Add to supported libraries table
* Keep suppression for 1.19
2022-03-04 13:08:50 -08:00
Trask Stalnaker
c06d70d174
Remove JAXRS HttpClient instrumentation ( #5430 )
2022-02-28 22:47:26 -08:00
Lauri Tulmin
e6a8bdf697
Add peer service support back to couchbase26 ( #5451 )
...
* Add peer service support back to couchbase26
* extract common module
* move tests
* fix tests
* address review comments
* remove CouchbaseRequestInfoHolder
2022-02-28 10:00:27 -08:00
Anuraag Agrawal
791083eedf
Remove separate exporter configuration which we always have in distro… ( #5331 )
...
* Remove separate exporter configuration which we always have in distro now.
* Actually remove
2022-02-11 12:11:35 +09:00
Anuraag Agrawal
f236b2d4c9
Split lambda instrumentation into core and events ( #5326 )
...
* Split out lambda core instrumentation
* More
* Remove request wrapper from core
* Split events
* Dedupe
* More
* More renames
* Finish
* Clean
* README
* Rename more
* Finish
* Fix README
* Fix README
* Fix
* Comments
2022-02-10 17:27:22 -08:00
Jérôme Prinet
0b60069e0b
Bump up Gradle plugin dependencies ( #5148 )
2022-02-07 17:30:17 +02: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
Mateusz Rzeszutek
3bbc41a6ce
Enable oshi ProcessMetrics in javaagent (and refactor oshi instrumentation) ( #5281 )
...
* Enable oshi ProcessMetrics in javaagent (and refactor oshi instrumentation)
* Get rid of double async instrument registration logs
* spotless
2022-02-01 09:57:48 +01:00
Lauri Tulmin
8240a5f66f
End jedis span when operation actually ends ( #5256 )
...
* End jedis span when operation actually ends
* address review comments
2022-01-31 20:20:44 -08:00
Trask Stalnaker
c54a823bae
Rename vertx-reactive module ( #5274 )
2022-01-31 09:42:09 -08:00
Trask Stalnaker
aa2ac33b70
Rename scala-executors module ( #5273 )
2022-01-29 13:27:16 -08:00
Samudraneel Dasgupta
3b0c49094d
Spring RMI instrumentation ( #5033 )
...
* Spring RMI instrumentation
* Change the order of import statements
* remove extra separation in import statements
* stylistic changes
* Fix groovy rule violations
* Formatting changes in groovy file
* Spotless fixes and muzzle check version change
* Fixed minimum version in filenames and fixed muzzle check
* single InstrumentationModule and added context propagation test
* Merged singletons, use random port in test and add stricter matchers.
* Remove unused import
2022-01-14 13:56:40 -08:00
Mateusz Rzeszutek
9299567a96
Micrometer library instrumentation ( #5063 )
2022-01-12 20:06:27 -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
5577afbf45
Update dependencies ( #5083 )
...
* Update dependencies
* Downgrade jackson for jax test
2022-01-12 17:21:13 +02: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
Anuraag Agrawal
e08ed9d448
Add library instrumentation for ktor. ( #4983 )
2022-01-04 20:14:31 -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
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
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
Anuraag Agrawal
83c94e9554
Update Gradle and build dependencies ( #4971 )
2021-12-23 16:01:39 +02:00
Trask Stalnaker
589ae4ccfa
Fix vertx modules ( #4967 )
2021-12-22 12:39:22 -08:00
Trask Stalnaker
6884d66c09
Reduce top level instrumentation directories ( #4965 )
...
* akka
* dropwizard
* kafka
* reactor
* vertx
2021-12-22 10:16:13 -08:00
Trask Stalnaker
88121c1583
Rename log4j-thread-context modules to log4j-context-data ( #4957 )
2021-12-21 11:40:03 -08:00
Trask Stalnaker
460c079619
Add ratpack top-level folder ( #4951 )
2021-12-21 10:17:45 +02:00
Trask Stalnaker
47aacd3318
Add java.util.logging javaagent instrumentation ( #4941 )
...
* java.util.logging
* Update instrumentation/java-util-logging/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/jul/JavaUtilLoggingInstrumentationModule.java
* sync
* Update instrumentation/java-util-logging/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/jul/JavaUtilLoggingHelper.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Remove unused code
* Simplification
* Remove JBoss logger instrumentation
* Spotless
* Unroll
* Remove unused dependency
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-12-20 12:36:30 -08:00
Trask Stalnaker
0302e9b921
Add log4j2 appender javaagent instrumentation ( #4944 )
...
* log4j2
* Spotless
* Target 2.16 for javaagent instrumentation and share
* review feedback
* Add comment
* Remove unnecessary configuration
* Fix comment
2021-12-20 12:28:29 -08:00
Trask Stalnaker
b5df9bab83
Add log4j 1.2 appender javaagent instrumentation ( #4943 )
...
* log4j1
* review feedback
* final
2021-12-20 12:28:05 -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
5d2cc7eed3
Rename (and move around) log4j instrumentation modules ( #4937 )
...
* Rename to log4j-thread-context
* Rename to log4j-mdc-1.2
* move
* update
* subdir
2021-12-19 19:58:37 -08:00
Trask Stalnaker
cc9d2877c9
Add a logging appender API ( #4917 )
...
* Add logging appender api
* noop
* Add global
* drift
* Feedback
* compileOnly
* fix
* fix
* Rename instrumentation-appender-api to instrumentation-api-appender
* Rename package
* Optimization
* Split out instrumentation-sdk-appender
* Fix
* Update instrumentation-api-appender/src/main/java/io/opentelemetry/instrumentation/api/appender/LogEmitter.java
Co-authored-by: jason plumb <75337021+breedx-splk@users.noreply.github.com>
* Fix
* Fix
* Fix
* Fix sdk-appender package name
Co-authored-by: jason plumb <75337021+breedx-splk@users.noreply.github.com>
2021-12-17 16:09:32 -08:00
Anuraag Agrawal
5e1e0c2642
Update to OTel 1.10 ( #4866 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-12-16 18:46:17 +09:00
Trask Stalnaker
88f11d0525
Update log4j library base version ( #4914 )
...
* Update log4j-2.7 javaagent instrumentation to match up through 2.15.0
* Rename log4j 2.13.2 to 2.16
* Update one more location
2021-12-15 20:47:26 -08:00
Trask Stalnaker
b01efec0fd
Split out log4j appender ( #4907 )
2021-12-15 10:02:40 -08:00
Mateusz Rzeszutek
0bab0c2aa3
Move `ServletContextPath` to `servlet-common:bootstrap` ( #4824 )
...
* Move ServletContextPath to servlet-common:bootstrap
* fix tests
* Simplify ServletContextPath calls in restlet instrumentation
2021-12-08 15:59:31 +01:00
Javier Salinas
ebe4c6538c
Bump ratpack to 1.7 ( #4796 )
2021-12-07 07:27:03 -08:00
Mateusz Rzeszutek
075434c5bc
Move `AppServerBridge` and `MappingResolver` to `servlet-common:bootstrap` ( #4817 )
...
* Move AppServerBridge and MappingResolver to servlet-common:bootstrap
* Introduce additional gradle configuration for bootstrap libs
2021-12-07 10:20:33 +01:00
Anuraag Agrawal
ca3919ea31
Update Gradle and build dependencies ( #4808 )
...
* Update Gradle and build dependencies
* Add spotless + Java 17 workaround
* Revert spotless for now
* Fix merge
* jvmTarget
2021-12-07 14:42:52 +09:00
Nikita Salnikov-Tarnovski
b994497ec0
Add requested java and smoke test suite as build tags ( #4811 )
...
* Add requested java and smoke test suite as build tags
* spotless
2021-12-06 16:27:40 +02:00
Mateusz Rzeszutek
0dc410a2e3
Reorganize shared servlet code (intro to #4317 ) ( #4785 )
...
* Reorganize shared servlet code (intro to #4317 )
* Fix dropwizard tests
* fix compile error
2021-12-06 13:49:55 +01:00
Nikita Salnikov-Tarnovski
a70682c390
Remove unhelpful benchmarks ( #4766 )
...
* Remove unhelpful benchmarks
* Restore one more benchmark
* spotless
2021-12-02 17:17:39 +02:00
Trask Stalnaker
a9980cd014
Rename autoconfigure modules ( #4779 )
2021-12-01 22:03:12 -08:00
Nikita Salnikov-Tarnovski
08e92a5374
Rework build scan configuration ( #4763 )
2021-12-01 09:27:45 -08:00
Lauri Tulmin
f5142f24e9
Remove internal-proxy instrumentation ( #4749 )
2021-11-30 07:56:26 -08:00
Nikita Salnikov-Tarnovski
05e163e595
Allow using GE if locally authenticated ( #4742 )
2021-11-30 17:00:22 +02:00
Trask Stalnaker
9b49fc5ae8
Publish gradle scans from PRs ( #4696 )
2021-11-29 09:32:56 -08:00
Nikita Salnikov-Tarnovski
0aa888a014
Upgrade plugins versions ( #4723 )
2021-11-28 14:38:54 +02:00
Trask Stalnaker
195c1f733e
Remove nebula references ( #4704 )
2021-11-24 13:07:54 -08:00
Mateusz Rzeszutek
9a4a68d836
Add Android API-friendliness checks ( #4505 )
...
* Add Android API-friendliness checks
* Improve comments
* Remove ignores
* Handle CompletionException
* Spotless
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-24 12:59:11 -08:00
Nikita Salnikov-Tarnovski
821a4b870b
Drop instrumentation-api-caching module and move weak cache implementation to instrumentation-api ( #4667 )
...
* Drop instrumentation-api-caching module and move weak cache implementation to instrumentation-api
* Some test fixes
* Some cleanup
* Temporary workaround for using weak values in FutureListenerWrappers
* Spotless
* Update ClassNames and SpanNames
* Compilation and comment
* Add bounded cache and clean interface
* Polish
* Add comment
* Vendor ConcurrentLinkedHashMap in
* Let errorprone ignore vendored CLHM for now
* Keep license in java files too
* Convert Netty wrapper cache to VirtualField
* Work around lambda instrumentation failure
Ideally we would ignore instrumenting helper classes...
* Revert "Work around lambda instrumentation failure"
This reverts commit 6d63815b44
.
* Revert "Convert Netty wrapper cache to VirtualField"
This reverts commit dac1522a3f
.
* Handle cleared weak values
* Fix comment
* Delete instrumentation-api-caching
* Copy in weak-lock-free
* Remove caffeine remnants
* Fix checkstyle
* Rename BoundedCache to MapBackedCached
* Remove duplicate LICENSE
* Remove outdated comment
* Sync with SDK copy of weaklockfree
* Enable checkstyle:off comment
* Re-generate license report
* Move NOTICE file to package-info.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-24 09:05:12 -08:00
Trask Stalnaker
336a73b0b3
Remove gradle scan publishing from CI ( #4689 )
...
* Remove gradle scan publishing from CI
* Remove doc too
2021-11-22 13:36:14 -08:00
Steven Aerts
e01422736b
Automatic AWS library instrumentor ( #4607 )
...
Like AWS X-Ray, provide an instrumentor which automatically registers
opentelemetry instrumentation in the AWS SDK without any code changes.
Those instrumentors are separate libraries published as
opentelemetry-aws-sdk-1.11-instrumentor and opentelemetry-aws-sdk-2.2-instrumentor
2021-11-22 11:15:44 -08:00
Nikita Salnikov-Tarnovski
254a26745a
Start using Gradle Enterprise instance ( #4663 )
...
* Start using Gradle Enterprise instance
* Require opt-in to publish build scan from local machine
* Publish build scan only if authenticated
* Switch to GE cache
2021-11-21 18:53:55 +02:00
Mateusz Rzeszutek
cd119f491d
Trace DNS resolution in reactor-netty ( #4627 )
...
* Trace DNS resolution in reactor-netty
* Code review comments
* removed a little too much
* implementation -> api
* revert and make muzzle happy
2021-11-16 08:34:27 +01:00
Anna Nosek
8b7c097912
Restlet 2.0 instrumentation ( #4535 )
...
* add restlet 2.0 instrumentation
* add restlet 2.0 instrumentation
* revies: testLibrary, create RestletInstrumenterFactory
2021-11-09 11:52:04 -08:00
Lauri Tulmin
609795184f
Jedis 4 instrumentation ( #4555 )
2021-11-01 17:54:53 -07:00