Lauri Tulmin
e7d0278fc8
Improve security manager support ( #11466 )
2024-05-29 09:11:22 +03:00
Lauri Tulmin
3a9972b16f
Remove incubating semconv dependency from library instrumentation ( #11324 )
2024-05-15 11:44:21 -07:00
Lauri Tulmin
defd7cb083
Test undertow and armeria http2 server ( #11361 )
2024-05-15 10:48:43 -07:00
Lauri Tulmin
b33ccb4058
Fix failing tests on openj9 ( #11247 )
2024-04-29 11:39:13 +03:00
renovate[bot]
22adefcbd0
fix(deps): update errorproneversion to v2.27.0 (main) (minor) ( #11238 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2024-04-28 13:56:53 +03:00
Lauri Tulmin
17f58ed20a
Run tests with jdk 22 ( #11191 )
2024-04-22 18:11:36 -07:00
Gregor Zeitlinger
96c4922753
Update the OpenTelemetry SDK version to 1.37.0 ( #11066 )
...
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2024-04-10 11:08:42 +03:00
SylvainJuge
955470a63a
Semconv 1.25.0 migration ( #10983 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-09 11:25:52 -07:00
John Bley
b381b016bf
Reduce iterator allocations on hot paths ( #10745 )
2024-04-04 16:58:35 -07:00
Lauri Tulmin
c1dd65ffc9
Improve warning text ( #10844 )
2024-03-14 08:25:10 -07:00
Lauri Tulmin
e67d73edaa
Disable http and rpc metrics when advice can not be applied ( #10671 )
2024-02-27 11:35:14 +02:00
Lauri Tulmin
4f0baff3f8
Set route only on the SERVER span ( #10290 )
2024-02-14 09:25:33 +02:00
Trask Stalnaker
d4435c9bc8
Use direct peer address in `client.address` when X-Forwarded-For is not present ( #10370 )
...
Co-authored-by: heyams <heya@microsoft.com>
2024-02-05 19:09:28 -08:00
Lauri Tulmin
b57c1a023b
Update semconv ( #10272 )
2024-01-30 17:10:35 +00:00
Mateusz Rzeszutek
bdeec9fc0d
Enable stable JVM semconv by default ( #9963 )
...
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2023-12-14 09:20:27 -08:00
Mateusz Rzeszutek
1ac8c4d606
Implement `error.type` in `spring-webflux` and `reactor-netty` instrumentations ( #9967 )
2023-12-05 12:27:09 +00:00
Mateusz Rzeszutek
65ee9510f5
Rename the `instrumentation-api-semconv` module into `instrumentation-api-incubator` ( #9985 )
2023-12-04 08:28:10 +01:00
Mateusz Rzeszutek
95dde7f331
Add since tag to instrumentation-api javadocs ( #9986 )
2023-12-01 15:03:49 -08:00
Mateusz Rzeszutek
dc81aae72f
Move HTTP classes to instrumentation-api ( #9977 )
2023-12-01 12:04:06 +01:00
Mateusz Rzeszutek
7cd705b555
Remove old HTTP semconv code ( #9968 )
2023-11-29 08:04:31 -08:00
Mateusz Rzeszutek
280c1ea4c1
Enable stable HTTP semconv by default ( #9925 )
2023-11-28 10:43:51 -08:00
César
683c311de9
Suppress instrumentation based on suppress Context key ( #9739 )
2023-11-17 14:55:46 -08:00
Mateusz Rzeszutek
4da8fbbc99
Stable JVM semconv implementation: classes ( #9821 )
2023-11-16 15:42:27 +01:00
Lauri Tulmin
ff97f6cce8
Implement capturing message headers for aws1 sqs spans ( #9824 )
2023-11-09 16:18:05 +02:00
Mateusz Rzeszutek
e9026cd591
Deprecate old server/client socket getter methods ( #9716 )
2023-10-19 17:36:57 +02:00
Lauri Tulmin
3dbc301614
Generate only consumer span for sqs receive message ( #9652 )
2023-10-18 12:24:57 +03:00
Jonas Kunz
10480adc64
Implement invokedynamic advice bootstrapping ( #9382 )
2023-09-13 17:44:47 -07:00
Lauri Tulmin
57e957d7a0
Add context propagation debug info in ContextPropagatingRunnable ( #9339 )
2023-08-30 20:20:30 -07:00
renovate[bot]
211069774e
Update dependency jacoco to v0.8.10 ( #9101 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-08-02 13:08:57 -07:00
Mateusz Rzeszutek
d81630331b
Make `HttpClientAttributesGetter` extend `NetClientAttributesGetter` ( #9015 )
2023-07-31 11:09:09 -07:00
Mateusz Rzeszutek
cc8160cffb
Support the `http.request.method_original` attribute ( #8779 )
2023-07-17 09:41:41 +00:00
Mateusz Rzeszutek
1947c0fe42
Add support for schemaUrls auto-computed from `AttributesExtrator`s ( #8864 )
2023-07-06 12:40:52 +00:00
Mateusz Rzeszutek
cde2e70148
Implement new stable server semantic conventions ( #8663 )
2023-06-13 11:07:59 +02:00
OpenTelemetry Bot
bbb05276be
Update the OpenTelemetry SDK version to 1.27.0 ( #8688 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-06-13 12:02:11 +03:00
Mateusz Rzeszutek
506ccb6b7d
Implement new stable network semantic conventions ( #8616 )
2023-06-12 16:51:47 +02:00
Mateusz Rzeszutek
5b03ae655f
Implement new stable HTTP semantic conventions ( #8632 )
2023-06-08 20:02:45 -07:00
Mateusz Rzeszutek
8ee63d4441
Implement new stable URL semantic conventions ( #8491 )
2023-06-05 15:22:22 +00:00
Mateusz Rzeszutek
eeb6ffd6e3
Deprecate InetSocketAddressNetClientAttributesGetter and move its met… ( #8591 )
2023-05-31 08:30:56 +02:00
Lauri Tulmin
ed9cac6fa2
Change context propagation debug failures from error to warn ( #8601 )
2023-05-30 11:56:41 +00:00
Mateusz Rzeszutek
13fa025de8
Use histogram advice in the Micrometer bridge ( #8334 )
2023-05-11 12:45:53 -07:00
dependabot[bot]
3122897b2e
Bump errorProneVersion from 2.18.0 to 2.19.0 ( #8459 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-05-10 09:49:55 -07:00
Mateusz Rzeszutek
d22dd8c5f1
Introduce new incubating `InstrumenterBuilder` methods ( #8392 )
2023-04-28 14:19:15 -07:00
Lauri Tulmin
0f258c669a
Use hasAttributesSatisfyingExactly instead of hasAttributesSatisfying ( #8336 )
2023-04-24 11:57:45 +02:00
Mateusz Rzeszutek
e3944a53a5
Make net.transport an optional attribute ( #8279 )
2023-04-20 08:14:03 -07:00
Mateusz Rzeszutek
f501569106
Switch from http.flavor to net.protocol.* in HTTP client instrumentat… ( #8131 )
2023-04-07 13:39:42 +02: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
Lauri Tulmin
f1411d1cb3
Share timer class used by messaging instrumentations ( #8009 )
...
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/4514
There is also a slightly different timer class in netty instrumentation
https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/netty/netty-common/library/src/main/java/io/opentelemetry/instrumentation/netty/common/internal/Timer.java
that I didn't touch.
2023-03-10 10:40:41 +02:00
Jean Bisutti
ff73e9577c
Make the OpenTelemetry Logback appender work with GraalVM native images ( #7989 )
...
I have tried the [OpenTelemetry Logback
appender](https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/logback/logback-appender-1.0/library )
with GraalVM native images. The GraalVM configurations of this PR are
required to make it work.
It's my first GraalVM-related PR in this repo. In future works, adding
automatic tests with GraalVM on some [programmatic instrumentation
libraries](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/supported-libraries.md#libraries--frameworks )
may be interesting.
2023-03-08 07:58:37 -08:00
Mateusz Rzeszutek
ea237e3a80
Update HTTP span name extractors ( #7730 )
...
Implements
https://github.com/open-telemetry/opentelemetry-specification/issues/2998
---------
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-02-14 07:40:05 -08:00
Mateusz Rzeszutek
e1895e548c
Rename all methods in all Getters to use the `get*()` naming scheme ( #7619 )
...
Resolves #6562
This PR only contains renames; the actual content is in the `*Getter`
interfaces, the rest of changes is just IntelliJ doing its job.
2023-01-23 09:28:11 +00:00