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
Lauri Tulmin
b5bbc62fa1
Always create a JMS consumer span ( #10604 )
2024-02-22 09:13:25 +02:00
Lauri Tulmin
b57c1a023b
Update semconv ( #10272 )
2024-01-30 17:10:35 +00:00
Mateusz Rzeszutek
65ee9510f5
Rename the `instrumentation-api-semconv` module into `instrumentation-api-incubator` ( #9985 )
2023-12-04 08:28:10 +01:00
Lauri Tulmin
70e3962a87
Always set messaging operation ( #9791 )
2023-11-06 12:30:27 +02:00
LMarkie
331aa04e35
Convert JMS Groovy tests to Java ( #9476 )
2023-09-18 14:39:34 +02:00
Trask Stalnaker
3b77cc4b2d
Semconv 1.21 ( #9408 )
...
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-09-13 19:20:23 +00:00
jason plumb
55368a52d7
Rename messaging operation "send" to "publish" per spec ( #8929 )
...
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-07-12 08:59:38 -07: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
1263e47ec2
Fix JMS tests by disabling ActiveMQ Artemis persistence (2nd try) ( #8667 )
2023-06-07 16:58:44 +02:00
Mateusz Rzeszutek
7b0918ef18
Fix JMS tests by disabling ActiveMQ Artemis persistence ( #8666 )
2023-06-07 14:48:45 +02:00
Mateusz Rzeszutek
c74fa61b5d
Add wait strategy to the artemis container in spring jms 6 tests ( #8646 )
2023-06-05 11:07:01 +02:00
Lauri Tulmin
0f258c669a
Use hasAttributesSatisfyingExactly instead of hasAttributesSatisfying ( #8336 )
2023-04-24 11:57:45 +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
Mateusz Rzeszutek
1649a90e29
Add protocol name&version to net attribute getters ( #7994 )
...
In preparation for
https://github.com/open-telemetry/opentelemetry-specification/pull/3272
2023-03-09 11:37:52 +00:00
Mateusz Rzeszutek
998e781009
Remove deprecated messaging.url attribute from messaging getter ( #8008 )
2023-03-09 11:41:51 +01:00
Lauri Tulmin
07f621caf7
Convert jms tests to test suites ( #7933 )
...
Part of
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7911
2023-03-01 07:51:15 +02:00
OpenTelemetry Bot
f074b93110
Update the OpenTelemetry SDK version to 1.23.0 ( #7800 )
...
Update the OpenTelemetry SDK version to `1.23.0`.
---------
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-02-13 20:22:09 +00:00
Mateusz Rzeszutek
a9c065930d
Return interface instead of concrete implementation in instrumentatio… ( #7658 )
...
…n-api-semconv
We're already doing that for `SpanNameExtractor`, `OperationMetrics`,
`ContextCustomizer`, etc., so I figured we should do the same for
`AttributesExtractor` implementation. Also, none of the implementations
have any additional public surface - aside from the builder/factory
method users can just simply use the interface everywhere.
2023-01-31 13:21:28 +01: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
Mateusz Rzeszutek
6603b5d836
Instrument JMS 3.0 (Jakarta) ( #7418 )
...
There were so many changes in the tests that extracting a base class
wouldn't really improve the readability; so I just reimplemented them in
Java.
The instrumentation itself is pretty much a copy-paste of the `jms-1.1`
instrumentation, with `s/javax/jakarta/` applied.
2023-01-11 19:54:42 -08:00
Mateusz Rzeszutek
d971e26501
Extract a common JMS module before implementing Jakarta JMS instrumen… ( #7377 )
...
…tation
We need to instrument Jakarta JMS (3.0) before instrumenting Spring JMS
6.0
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-12-12 10:22:00 -08:00
Trask Stalnaker
efed5ae682
Standardize instrumentation module names ( #145 )
...
* Rename vertx module
* Rename glassfish module
* Rename google-http-client module
* Rename jms module
* Rename twilio module
* Move dropwizard-testing to top-level
Since it's not related to dropwizard-views.
* Rename dropwizard-views modules
* Rename aws-java-sdk-1.11.0 module
* Rename apache-httpasyncclient-4 module
* Rename apache-httpclient-4 module
* Rename datastax-cassandra-3 module
* Rename elasticsearch:rest-5 module
* Rename elasticsearch:transport-2 module
* Rename elasticsearch:transport-5 module
* Rename elasticsearch:transport-6 module
* Rename grizzly-2 module
* Rename jax-rs-annotations-1 module
* Rename jax-rs-annotations-2 module
* Rename filter-jersey module
* Rename jetty module
* Rename lettuce-5 module
* Rename okhttp-3 module
* Rename play-ws-1 module
* Rename play-ws-2 module
* Rename rxjava-1 module
* Rename request-2 module
* Rename request-3 module
* Rename spring-webflux-5 module
2020-02-07 16:34:36 -08:00
Trask Stalnaker
faec4901d2
Set span kind and remove prior "span.kind" attribute ( #132 )
...
* Set span kind in instrumentation
* Do not set span kind attribute
* Validate span kind in tests
* Remove unused constants
2020-02-05 15:12:33 -08:00
Trask Stalnaker
16ebd812d7
Rename SpanScopePair to SpanWithScope ( #124 )
...
* Rename SpanScopePair to SpanWithScope
* Add closeScope() method and remove getScope()
* Rename spanAndScope parameters to spanWithScope
* A few more renames
2020-02-04 18:20:29 -08:00
Trask Stalnaker
2b11b37d0f
Remove trace-api artifact ( #116 )
...
* Remove unused Trace annotations
* Remove Trace annotation from benchmark code
* Remove Trace annotation from instrumentation tests
* Remove Trace annotation from smoke tests
* Remove Trace annotation from agent tests
* Remove Trace annotation from testing tests
* Remove Trace annotation from hystrix tests
* Remove Trace annotation from netty tests
* Remove Trace annotation from webflux tests
* Remove Trace annotation from reactor tests
* Remove unnecessary conditional
* Remove Trace annotation from trace annotation instrumentation
* Remove Trace annotation from akka http tests
* Remove Trace annotation from java concurrent tests
* Delete Trace annotation
* Move classes out of trace-api
* Remove trace-api artifact
* Move trace-api classes to better packages
2020-02-01 13:07:51 -08:00
Pontus Rydin
d22f38b320
Changed names of getters and removed instrumentationNames() ( #112 )
2020-01-31 10:33:24 -08:00
Trask Stalnaker
e4b8c579b2
Change netty-*, play-*, rabbitmq, ratpack, rmi, jms instrumentation to use OpenTelemetry API directly ( #102 )
...
* Fix gRPC conversion to OpenTelemetry API
* Fix Akka conversion to OpenTelemetry API
* Convert JMS to use OpenTelemetry API directly
* Convert Netty 4.0 to use OpenTelemetry API directly
* Convert Netty 4.1 to use OpenTelemetry API directly
* Convert Play 2.4 to use OpenTelemetry API directly
* Convert Play 2.6 to use OpenTelemetry API directly
* Convert Play WS 1 to use OpenTelemetry API directly
* Convert Play WS 2 to use OpenTelemetry API directly
* Convert Play WS 2.1 to use OpenTelemetry API directly
* Convert RabbitMQ to use OpenTelemetry API directly
* Convert Ratpack to use OpenTelemetry API directly
* Convert RMI to use OpenTelemetry API directly
2020-01-29 11:19:23 -08:00
Trask Stalnaker
819ca7c256
Simplify directory/module structure ( #77 )
...
* Move things up a directory
* Scripted mass update
find -type f -name "*.gradle" | xargs sed -i 's/:java-agent:/:/g'
* Remove plugin version now that it's in root module
* Update java-agent and instrumentation configs
* Misc
2020-01-22 13:55:47 -08:00