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
Trask Stalnaker
0f3fd2e69d
More dep updates ( #6555 )
2022-09-07 08:18:08 +02: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
Lauri Tulmin
c04a6a3471
Don't bundle slf4j-api inside testing-commons ( #6520 )
2022-08-30 00:04:26 +03:00
Mateusz Rzeszutek
fdc325e209
Deprecate agent config SPIs ( #6476 )
2022-08-18 10:28:16 +02:00
Lauri Tulmin
07d7cfd551
Capture messaging header value as span attribute ( #6454 )
...
* Capture messaging header value as span attribute
* add comment
2022-08-11 17:28:04 -07: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
b917b3bf9c
Use ConfigProperties instead of Config in the agent code ( #6322 )
...
* Use ConfigProperties instead of Config in the agent code
* Fix merge conflict
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-07-18 19:04:48 -07:00
Mateusz Rzeszutek
b23db97a28
Use ConfigProperties in javaagent SPIs ( #6285 )
...
* Use ConfigProperties in javaagent SPIs
* remove deprecated
* errorprone
* fix javaagent build
* fix javaagent-tooling tests
* spotless
2022-07-12 08:41:01 +02:00
Mateusz Rzeszutek
cb7421c592
Add an SPI for customizing Config just before it's set ( #6010 )
...
* Add an SPI for customizing Config just before it's set
* deprecate ConfigPropertySource in favor of ConfigCustomizer
* errorprone
2022-05-16 11:55:01 -07:00
Lauri Tulmin
c166c937b3
Disable periodic metric reading in tests ( #6025 )
2022-05-13 10:24:59 -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
Anuraag Agrawal
d1ee692479
Update to OTel 1.14 ( #5999 )
...
* Update to OTel 1.14
* Fix test
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-05-10 14:23:56 -07:00
Trask Stalnaker
6cf5d5efcc
Simply logging test configuration ( #5996 )
2022-05-10 11:02:49 +03:00
Trask Stalnaker
8dc6e2f327
Suppress PeriodicMetricReader debug logging ( #5934 )
2022-04-26 11:22:11 +03:00
Lauri Tulmin
35d5f58e5a
Suppress logging from PeriodicMetricReader during tests ( #5929 )
2022-04-25 16:47:07 -07:00
jack-berg
6fe3299f52
Add metric support for grpc ( #5923 )
...
* Add metric support for grpc
* Spotless
2022-04-25 10:36:26 -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
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
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
85f9f0192b
Use internal Marshaler in testing exporters instead of gRPC. ( #5332 )
2022-02-10 09:58:03 -08:00
Anuraag Agrawal
407e86df2b
Update to Otel 1.11.0 ( #5322 )
...
* Update to OTel 1.11
* Suppress gRPC export usage warning
2022-02-09 12:53:09 +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
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
Trask Stalnaker
e5da618196
Add logs to testing infra ( #4927 )
...
* Add logs to testing infra
* Drift
2021-12-17 18:23:42 -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
Anuraag Agrawal
6b6b22de96
Update Armeria for testing ( #4730 )
...
* Update Armeria for testing
* Fix aws sdk and netty tests for armeria update (#4841 )
* Fix aws sdk tests for armeria update
* fix flaky aws11 test
* send path instread of full uri
* send path instread of full uri
* fix flaky aws11 test
* fix netty tests
* spotless
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2021-12-09 08:53:56 +09:00
Nikita Salnikov-Tarnovski
99e82d70fa
Make gradle cache work when used from different locations ( #4794 )
2021-12-04 19:55:30 +02:00
Nikita Salnikov-Tarnovski
d20961621e
Cleaner manifest preservation ( #4750 )
...
* Cleaner manifest preservation
* Add explicit dependency
2021-11-30 07:57:14 -08:00
Anuraag Agrawal
6063a16f54
Update to OTel 1.9 ( #4634 )
...
* Update to OTel 1.9
* Check null
2021-11-15 17:56:53 +09:00
Mateusz Rzeszutek
1d1d9ac4eb
Remove micrometer from armeria-shaded-for-testing ( #4571 )
...
* Remove micrometer from armeria-shaded-for-testing
* relocate instead
2021-11-03 11:32:01 +01:00
Lauri Tulmin
73a28dadb4
Fail tests on muzzle failre ( #4545 )
2021-11-02 16:06:34 +02:00
Mateusz Rzeszutek
05a391459b
Stabilize HTTP headers capturing configuration property names ( #4459 )
...
* Stabilize HTTP headers capturing configuration property names
* code review comments
2021-10-21 21:56:20 -07:00
Martin
6d9e3618d3
rename `newBuilder()` to `builder()` ( #4407 )
...
* rename `newBuilder()` to `builder()`
* code format
2021-10-18 10:00:49 -07:00
Anuraag Agrawal
f208ba72b7
Update to OTel 1.7 ( #4340 )
...
* Update to OTel 1.7
* Fix metrics tests
2021-10-11 19:52:50 +09:00
Mateusz Rzeszutek
581a5e3980
Test captured HTTP headers - HTTP server tests, part 1 ( #4320 )
...
* Test captured HTTP headers - HTTP server tests, part 1
* Upgrade undertow in resteasy tests (Undertow 1.0 had a bug where it thrown NPE on getHeaders())
2021-10-07 13:41:48 -07:00
Mateusz Rzeszutek
3e93dc8f29
Move Trie back to javaagent-tooling ( #4300 )
...
* Move Trie back to javaagent-tooling
* Code review comments
2021-10-05 16:07:33 -07:00
Trask Stalnaker
34a631965b
Update spotless version ( #4296 )
...
* Update spotless version
* Apply new spotless version
2021-10-05 15:44:03 +09:00
Nikita Salnikov-Tarnovski
2eadca8c83
Move AgentExtension to the tooling module ( #4253 )
2021-09-30 18:57:39 +03:00
Anuraag Agrawal
971ca8b19c
Update to OTel 1.6 ( #4120 )
...
* Update to OTel 1.6
* Example build
* More example
* More example
2021-09-14 20:12:18 +09:00
Nikita Salnikov-Tarnovski
3ae6b46930
Simpler test agent ( #3974 )
...
* Trying to simplify testing agent
* Simplified and verified it works
* spotless
* Code review comments
* spotless
2021-09-08 14:11:02 -07:00
Lauri Tulmin
564f51c706
Hide our generated fields and methods from reflection ( #3948 )
2021-08-25 09:24:27 -07:00
Trask Stalnaker
20c72f3e98
Format kotlin gradle files ( #3942 )
...
* Add ktlint for kotlinGradle
* ktlint fails on wildcard imports
* Auto-format kotlin gradle files
2021-08-25 13:43:57 +09:00
Trask Stalnaker
6ceeacd381
Fix examples build ( #3899 )
...
* Fix examples build
* Publish main repo artifacts locally
* Sync builds
* Fix init script?
* Fix publishing of agent-for-testing
2021-08-22 17:26:51 -07:00
Mateusz Rzeszutek
e5ddbfec0d
Refactor javaagent buildscript ( #3682 )
2021-07-29 08:35:37 -07:00
Mateusz Rzeszutek
af1aa540a2
Refactor agent-for-testing build ( #3600 )
2021-07-19 10:12:00 -07:00
Anuraag Agrawal
d3b62de8a5
Replace most uses of TraceUtils with testRunner runWithSpan. ( #3582 )
2021-07-15 10:30:34 -07:00
Mateusz Rzeszutek
9a3734f8ed
Clean up bootstrap dependencies and build scripts ( #3570 )
...
* Clean up bootstrap dependencies and build scripts
* add evaluationDependsOn()
* Resolve configuration later
* remove the javaagentLibs config
* Fix muzzle bootstrap classpath
* Fix after rebase
* Try javaagentLibs once again
2021-07-15 18:56:36 +02:00
Mateusz Rzeszutek
3d1e782fc5
Instrumentation-specific bootstrap classes ( #3495 )
...
* Instrumentation-specific bootstrap classes
* try to move bootstrap modules dependency to javaagent
2021-07-13 09:34:02 +02:00