Commit Graph

7 Commits

Author SHA1 Message Date
Trask Stalnaker bd97110dd7
Validate javaagent suppression keys (#12955)
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2024-12-30 11:22:02 +00:00
Lauri Tulmin 8eef5ca6b5
Fix latest dep tests (#12774) 2024-11-22 14:12:42 +02:00
Lauri Tulmin 3dd0925081
Honor default enabled for instrumentation modules (#10211) 2024-01-11 07:49:51 -08:00
Mateusz Rzeszutek eaa0b8791f
Revert "Fix application logger latestDepTest (#9169)" (#9176) 2023-08-10 10:46:11 +02:00
Mateusz Rzeszutek a1c60f6ea0
Fix application logger latestDepTest (#9169) 2023-08-09 12:49:36 +00:00
Mateusz Rzeszutek 17702d6e98
Application logger bridge: Spring Boot support (#8228) 2023-04-12 08:25:28 -07:00
Mateusz Rzeszutek 04f2e3e9e5
Bridge agent logs into application's slf4j logger (#7339)
Related discussion #7257
Resolves #3413
Resolves #5059
Resolves #6258
Resolves #7179

Adds a logging implementation that'll collect agent logs in memory until
slf4j is detected in the instrumented application; and when that happens
will dump all the logs into the application slf4j and log directly to
the application logger from that time on.

It's still in a POC state, unfortunately: while it works fine with an
app that uses & initializes slf4j directly, Spring Boot applications
actually reconfigure the logging implementation (e.g. logback) a while
after slf4j is loaded; which causes all the startup agent logs (debug
included) to be dumped with the default logback pattern.

Future work:
* ~~Make sure all logs produces by the agent are sent to loggers named
`io.opentelemetry...`
(https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7446)~~
DONE
* Make this work on Spring Boot
* Documentation
* Smoke test?
2023-04-04 17:29:43 +02:00