Commit Graph

7884 Commits

Author SHA1 Message Date
Mateusz Rzeszutek c978ce22f5
Update (rewrite) the javaagent structure doc; document bootstrap modules (#6227) 2022-06-28 20:23:27 -07:00
Lauri Tulmin bb25a6c47c
Expunge stale entries on computeIfAbsent (#6235) 2022-06-28 20:21:05 -07:00
Will Li 661af204d9
add runtime metrics for buffer pool (#6177)
* add runtime metrics for buffer pool

Signed-off-by: Cuichen Li <cuichli@cisco.com>

* update based on comments

Signed-off-by: Cuichen Li <cuichli@cisco.com>

* update based on comment

Signed-off-by: Cuichen Li <cuichli@cisco.com>

* add missing unit test

Signed-off-by: Cuichen Li <cuichli@cisco.com>
2022-06-28 13:31:54 +03:00
Lauri Tulmin 30248684d1
Capture enduser.id in servlet instrumentation (#6225)
* Capture enduser.id in servlet instrumentation

* delete TomcatAdditionalAttributesExtractor

* spotless

* spotless
2022-06-27 21:03:54 -07:00
Mateusz Rzeszutek 72e0b26b2b
Always pass Context when recording HttpServerMetrics (#6223) 2022-06-27 10:23:36 -07:00
Trask Stalnaker 4f7c2416fd
Fix deprecated gradle warnings (#6221) 2022-06-27 10:22:58 -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 c1c108c870
Remove checkstyle CommentsIndentation (#6219) 2022-06-27 10:45:55 +03:00
Trask Stalnaker 65251c4e8a
Use addSamplerCustomizer in demo extension (#6204)
* Use addSamplerCustomizer in demo extension

* Switch to ConfigurableSamplerProvider
2022-06-26 14:45:38 -07: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
Trask Stalnaker ca3664613f
Fix gwt groupId (#6215) 2022-06-25 06:09:15 +02:00
Mateusz Rzeszutek 8a83844245
Log a warning when GlobalOpenTelemetry#resetForTest() is called (#6212) 2022-06-24 13:38:38 -07:00
Mateusz Rzeszutek dc6833afab
Fix GWT latestDepTest (#6213) 2022-06-24 11:57:35 +02:00
Trask Stalnaker e9bb03173b
Update azure-sdk instrumentation (#6194) 2022-06-23 12:29:56 -07:00
Trask Stalnaker c8a68155c7
Update releasing doc (#6205) 2022-06-23 12:29:26 -07:00
Mateusz Rzeszutek defa530c72
Remove deprecated TimeExtractor (#6196)
* Remove deprecated TimeExtractor

* forgot to add one more class
2022-06-22 16:42:50 -07:00
Trask Stalnaker 3dda14afc4
Extract reusable create-operator-pull-request workflow (#6193)
* Extract reusable create-operator-pull-request workflow

* Renames

* Fix

* Sync
2022-06-21 11:02:30 +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
Trask Stalnaker 11dd0797f6
Make rpc.grpc.status_code required (#6184) 2022-06-17 13:50:57 -07:00
Lauri Tulmin c2f9e7ae55
Update GraphQL instrumentation to match spec (#6179)
* Update GraphQL instrumentation to match spec

* add back removed method as deprecated

* revert accidental change

* change method order
2022-06-17 14:14:19 +03:00
Trask Stalnaker 84aa843b60
Fix javaagent jar not being found when making release (#6183)
* Sync

* Fix

* More small updates

* Fix
2022-06-17 09:54:49 +03:00
OpenTelemetry Java Bot 8687fc6de4
Update version to 1.16.0-SNAPSHOT (#6180) 2022-06-16 14:47:27 -07:00
Trask Stalnaker 9d628d13c4
Update change log (#6176)
* Update change log

* Add one more
2022-06-16 13:17:44 -07: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
Trask Stalnaker 1e439e73d3
Update to OpenTelemetry SDK 1.15.0 (#6170) 2022-06-14 09:44:42 -08:00
Lauri Tulmin 36788c4910
Fix vaadin latest dep tests (#6173) 2022-06-14 09:00:49 -08:00
Lauri Tulmin 91dcad68bd
Run tests with play 2.4 (#6145)
* Run tests with play 2.4

* restore comment
2022-06-14 12:10:53 +03:00
Trask Stalnaker 0bdf26af51
Release workflow simplifications (#6169)
* Release workflow simplifications

* Remove now unused workflow

* Fix

* Remove prerelease support
2022-06-14 10:29:56 +03: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
jack-berg 9b8f74515a
Rename p.r.j.memory.max to p.r.j.memory.limit (#6161)
* Rename p.r.j.memory.max to p.r.j.memory.limit

* Fix build
2022-06-13 13:17:04 -07:00
Lauri Tulmin 3726c54c40
Enable read timeout test for reactor netty (#6156) 2022-06-13 13:16:42 -07:00
Lauri Tulmin 8d89904e86
Enable read timeout test for armeria (#6155) 2022-06-13 13:14:02 -07:00
Lauri Tulmin 1c388d46fc
Revert workaround for a spock bug (#6154) 2022-06-13 13:12:45 -07:00
Lauri Tulmin b992e894bc
Run tests with latest play mvc (#6157)
* Run tests with latest play mvc

* restart build

* spotless
2022-06-13 13:02:15 -07:00
Lauri Tulmin 46b7273483
Fix vaadin latest dep tests (#6146)
* Fix vaadin latest dep tests

* trigger build
2022-06-08 22:02:40 +03:00
Lauri Tulmin 71e19d83e4
Show correct runnable name in spring scheduling actuator (#6140)
* Show correct runnable name in spring scheduling actuator

* spotless
2022-06-08 13:34:55 +03:00
Lauri Tulmin 091197a128
Allow specifying a comma separated list of extensions (#6137)
* Allow specifying a comma separated list of extensions

* update doc

* typo

* Update examples/extension/README.md

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-06-08 13:34:37 +03:00
Lauri Tulmin 532e08fdfe
Fix struts latest dep tests (#6143) 2022-06-07 10:52:17 -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
ET aca80bee40
Make gRPC metadata available to AttributeExtractors (#6125)
* Allow GrpcTelemetryBuilder to be customized to add Extractors, etc

* fixup! Allow GrpcTelemetryBuilder to be customized to add Extractors, etc

* Call GrpcRequest.setMetadata() in TracingClientInterceptor.start()

* stop spotless from complaining

* Checkstyle satisfaction

* Spotless

* Suggestions (#6)

* Suggestions

* Apply suggestions from code review

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-06-03 12:51:12 +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
jack-berg cbf5bc31da
Add jvm cpu metrics (#6107)
* Add jvm cpu metrics

* Spotless

* PR feedback
2022-06-02 17:30:49 -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
Alexander Schwartz 0274fc844c
Instrumentation for jboss-logmanager getMdcCopy() (#6111) (#6112)
This allows, for example, in JSON logs to have the MDC to contain span and trace information.
2022-06-02 15:15:28 -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
jason plumb 30710ba294
Refactor DbConnectionPoolMetricsAssertions (#6101)
* refactor the DbConnectionPoolMetricsAssertions for improved readability and code reuse

* Middle ground option

* factor out duplicate verification

* address PR comments.

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-06-02 12:47:02 -07:00