Commit Graph

76 Commits

Author SHA1 Message Date
Lauri Tulmin f4990be6ff
Add db client metrics for aws sdk2 dynamodb (#13283) 2025-02-13 07:03:54 -08:00
renovate[bot] b1eb1fd3d9
fix(deps): update dependency io.opentelemetry.semconv:opentelemetry-semconv to v1.30.0-rc.1 (#13116)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2025-01-30 14:18:43 -08:00
Gregor Zeitlinger 44bea8dacf
add db client metrics for dynamo db (#13033) 2025-01-15 09:34:46 -08:00
Trask Stalnaker 1a506cb246
Document (and remove some) upper version test limits (#12945) 2024-12-27 08:54:10 -08:00
Trask Stalnaker 6b9e68ebfd
Change `setCaptured*Headers(List)` to `setCaptured*Headers(Collection)` (#12901) 2024-12-23 15:49:55 -08:00
Alex Kats 6fa9553674
Added dynamodb instrumenter for aws v1_11 sdk (#12756)
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2024-11-29 19:18:27 -08:00
Jay DeLuca ad21efb378
Convert aws 1.11 client tests from groovy to java (#12606) 2024-11-12 07:02:15 -08:00
renovate[bot] 855c7a0fad
fix(deps): update dependency io.opentelemetry.semconv:opentelemetry-semconv to v1.28.0-alpha (#12292)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2024-10-28 10:55:06 -07:00
Jay DeLuca 2986b570b4
Update AWS SDK request id to match semantic conventions (#12352) 2024-10-09 17:40:13 +03:00
Lauri Tulmin 3a9972b16f
Remove incubating semconv dependency from library instrumentation (#11324) 2024-05-15 11:44:21 -07:00
Lauri Tulmin 145839b6ab
Remove unneeded @SuppressWarnings(deprecation) (#11316) 2024-05-09 15:58:00 +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
Jay DeLuca 042d0e4d8c
Convert aws 1.11 SQS receive span suppression tests from groovy to java (#10660) 2024-02-27 11:31:07 +02:00
Jay DeLuca 6a0b363a38
Convert aws 1.11 SQS tests from groovy to java (#10657) 2024-02-27 11:30:53 +02:00
Lauri Tulmin b57c1a023b
Update semconv (#10272) 2024-01-30 17:10:35 +00:00
Thomas Duncan 1c1ca91643
Capture the SNS topic ARN under the 'messaging.destination.name' span attribute. (#10096) 2024-01-03 10:50:28 -08:00
Lauri Tulmin 37ca15b76f
Add http client response attributes to aws sqs process spans (#10074) 2023-12-14 08:07:54 -08:00
Lauri Tulmin c7fd4d4b1c
Implement forEach support for aws sqs tracing list (#10062) 2023-12-13 08:32:55 -08:00
Paurush Garg dac9bdd9b9
Null check for nullable response object (#10029) 2023-12-07 23:00:03 +02:00
renovate[bot] 0c05fd73ac
fix(deps): update jackson packages to v2.16.0 (#9875)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-12-05 19:10:18 +02: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 dc81aae72f
Move HTTP classes to instrumentation-api (#9977) 2023-12-01 12:04:06 +01:00
Lauri Tulmin 0b5615f9e6
Capture message id in aws1 sqs instrumentation (#9841) 2023-11-15 12:46:12 -08:00
Lauri Tulmin ff97f6cce8
Implement capturing message headers for aws1 sqs spans (#9824) 2023-11-09 16:18:05 +02:00
Lauri Tulmin b6c6521d64
Pin aws sqs version to fix latest dep tests (#9832) 2023-11-09 13:58:22 +01:00
Lauri Tulmin 23a6a3e2c0
Add process spans to aws-1 sqs instrumentation (#9796) 2023-11-07 08:25:50 -08:00
Lauri Tulmin 6719ba358e
Add messaging conventions to sqs spans (#9712) 2023-10-23 07:56:58 -07:00
Lauri Tulmin 3dbc301614
Generate only consumer span for sqs receive message (#9652) 2023-10-18 12:24:57 +03:00
Lauri Tulmin 04436a13b3
Don't log stack trace for expected exceptions (#9279) 2023-08-22 11:58:40 -07:00
Trask Stalnaker 67f91b8833
Update network.protocol.version 2.0 -> 2 and 3.0 -> 3 (#9145) 2023-08-13 10:01:47 -07:00
Mateusz Rzeszutek d81630331b
Make `HttpClientAttributesGetter` extend `NetClientAttributesGetter` (#9015) 2023-07-31 11:09:09 -07:00
Christian Neumüller ba2f8d209f
aws-sdk-1.1: Copy SQS plugin/NoMuzzle approach from 2.2 (#8866)
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2023-07-06 13:17:13 +02:00
Lauri Tulmin fac22533f1
Fix context leak on call to AmazonS3.generatePresignedUrl (#8815) 2023-06-28 10:56:38 +02:00
Mateusz Rzeszutek cde2e70148
Implement new stable server semantic conventions (#8663) 2023-06-13 11:07:59 +02: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
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 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 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 95ec4a8c1f
HTTP semconv: filter out default peer/host ports (#7258)
After a loooong break, the next part of the HTTP semconv implementation:
filtering out default HTTP ports, client and server.

>  [5]: If not default (80 for http scheme, 443 for https).


https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/semantic_conventions/http.md#http-client
2022-11-22 17:14:20 +00:00
jack-berg 94ba33e395
Use contrib AwsXrayPropagator (#7234)
Reflects move of `AwsXrayPropagator` to
[opentelemetry-java-contrib/aws-xray-propagator](https://github.com/open-telemetry/opentelemetry-java-contrib/tree/main/aws-xray-propagator).
2022-11-21 11:31:17 -08:00
Trask Stalnaker 61ed2d14db
Update SDK version (#7223)
Resolves #7221 
Resolves #7222
2022-11-18 18:13:39 +00:00
Mateusz Rzeszutek 77035fc88c
Extract `net.peer.{name,port}` on start for CLIENT spans (#6828)
The [HTTP
spec](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/semantic_conventions/http.md#http-client)
says these two attributes must be provided at span creation time - I
think it makes sense to extend it over to all `net`-related
instrumentations, cause these are supposed to be the logical peer
name/port, which are supposed to be known before the connection is
started/exchange is made.
2022-10-10 16:00:19 -07:00
Trask Stalnaker 429ecfc713
Update error prone (#6646)
(note that change from BDDMockito is due to
https://github.com/google/error-prone/issues/3396)
2022-09-23 11:24:40 -07:00
Trask Stalnaker f1774cabe2
Update net semantic convention changes (#6268)
* New net conventions: option a

* Feedback + sock.family + sock.peer.name

* peer.service + tests

* server net attributes attempt 1

* server net attributes attempt 2

* Javadoc

* Revisions

* Apply to instrumentations

* Feedback

* One more default method

* Spotless

* Fix javadoc
2022-08-18 09:02:23 -07:00
Mateusz Rzeszutek 6cd79b2a94
Deprecate the 2-arg variant of HttpCommonAttributesGeter#statusCode() (#6466)
* Deprecate the 2-arg variant of HttpCommonAttributesGeter#statusCode()

* fix liberty
2022-08-12 17:11:11 -07:00
Mateusz Rzeszutek b2c90c79b5
Extract HTTP request & response content length from headers (#6415)
* Extract HTTP request & response content length from headers

* remove unused method

* fix camel tests

* fix google http client tests

* fix HttpUrlConnection tests

* fix k8s and jaxrs tests

* fix aws tests

* actually fix aws tests 🤞

* fix elasticsearch tests

* fix ratpack tests

* fix spring webflux tests

* fix vertx tests

* fix reactor netty tests
2022-08-05 10:55:47 -07:00
Mateusz Rzeszutek 5a152cd289
Deprecate uncompressed content length HTTP attributes (#6383) 2022-07-29 06:17:38 +02:00