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
ec26d54928
add lettuce db client metrics ( #13032 )
...
Co-authored-by: Steve Rao <raozihao.rzh@alibaba-inc.com>
2025-01-17 07:34:20 -08:00
Trask Stalnaker
5059f9a0fd
Map lettuce 5.1 `db.namespace` to `db.name` (unless using experimental database semconv stability opt-in) ( #12609 )
2024-11-12 18:51:24 -08:00
Lauri Tulmin
4efd454b4d
Fix lettuce latest dep tests ( #12552 )
2024-11-01 14:18:42 +02:00
Helen
61c99cf73d
Implement some of the stable database semantic conventions ( #11575 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-10-29 10:32:37 -07: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
Lauri Tulmin
3a9972b16f
Remove incubating semconv dependency from library instrumentation ( #11324 )
2024-05-15 11:44:21 -07: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
Helen
36ed20366e
Apply both serverAttributes & networkAttributes to Lettuce 5.1 ( #10197 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-01-12 08:38:47 -08:00
Jay DeLuca
0973f335c5
Convert lettuce 5.1 SyncClientAuthTest from groovy to java ( #10045 )
2023-12-12 12:50:50 -08:00
Jay DeLuca
d6d6528526
Convert lettuce 5.1 Async client tests from groovy to java ( #9994 )
2023-12-05 08:41:16 -08: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
Mateusz Rzeszutek
280c1ea4c1
Enable stable HTTP semconv by default ( #9925 )
2023-11-28 10:43:51 -08:00
Jay DeLuca
f6b63dac7b
Convert lettuce 5.1 reactive client tests from groovy to java ( #9876 )
2023-11-20 15:44:28 -08:00
Jay DeLuca
976ca64fae
Convert lettuce 5.1 SyncClientTest from groovy to java ( #9697 )
2023-11-09 16:18:42 +02:00
Mateusz Rzeszutek
9cb157492c
Replace `(client|server).socket.(address|port)` attributes with `network.(peer|local).(address|port)` ( #9676 )
2023-10-18 10:36:32 +00:00
Trask Stalnaker
3b77cc4b2d
Semconv 1.21 ( #9408 )
...
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-09-13 19:20:23 +00:00
Mateusz Rzeszutek
0c40a4466b
Fix serializing key to string in Lettuce instrumentation ( #9347 )
2023-08-30 08:33:16 -07:00
Mateusz Rzeszutek
65451b6529
Deprecate `NetClientAttributesExtractor` ( #9165 )
2023-08-16 11:21:10 +02:00
jason plumb
600c5873dd
Lettuce instrumentation - optimization to avoid extra toString() ( #8984 )
2023-07-20 08:06:42 -07:00
Lauri Tulmin
70247f095b
Extract query arguments without regex on lettuce 6 ( #8932 )
2023-07-12 11:00:49 -07:00
Mateusz Rzeszutek
cde2e70148
Implement new stable server semantic conventions ( #8663 )
2023-06-13 11:07:59 +02:00
Mateusz Rzeszutek
eeb6ffd6e3
Deprecate InetSocketAddressNetClientAttributesGetter and move its met… ( #8591 )
2023-05-31 08:30:56 +02:00
Mateusz Rzeszutek
e3944a53a5
Make net.transport an optional attribute ( #8279 )
2023-04-20 08:14:03 -07:00
Mateusz Rzeszutek
4fd52c5a7c
Encode version in library instrumentations' package names ( #7764 )
...
Another part of #932
In this PR I changed all the library instrumentation packages -- these
are breaking changes, so I figured the earlier we do this the less
painful it'll be to the users. I know that at least some of them are
actively used, so we'll need to spell this out in the release notes.
---------
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-02-14 23:25:59 +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
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
Mateusz Rzeszutek
cfdbe758f2
Net attributes getters changes (in preparation for HTTP spec impl) ( #6503 )
...
* Net attributes getters changes: instrumentation-api-semconv changes
* Net attributes getters changes: getter implementations
* Net attributes getters changes: test fixes
* Remove net.sock.host.name
* code review comments
* default getter methods & getPeerSocketAddress() method name
* set authority in grpc earlier
2022-09-12 09:20:27 -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
8d1ba17d29
InstrumentationConfig part 4: DB sanitization ( #6317 )
...
* InstrumentationConfig part 4: DB sanitization
* fix couchbase unit tests
* code review comments
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-07-15 21:47:33 -07:00
Anuraag Agrawal
980746ae44
Update errorprone ( #5776 )
...
* Update errorprone
* Fix errorprone on java 17
* Fix oshi test
* Spot
* Fix merge
2022-04-11 12:48:16 -07:00
Mateusz Rzeszutek
8e722cc264
Library instrumentation should read its version from a file ( #5692 )
...
* Library instrumentation should read its version from a file
* errorprone
* animalsniffer
* code review comments
* add name as task input too
* code review comments
2022-04-04 11:52:23 -07:00
Anuraag Agrawal
cd528e98fb
Rename library entrypoints to Telemetry ( #5624 )
...
* Rename library entrypoints to Telemetry
* Renames
2022-03-22 14:39:23 +09:00
Mateusz Rzeszutek
551418c283
Refactor AttributesExtractor so that it extracts route from Context ( #5288 )
...
* Refactor AttributesExtractor so that it extracts route from Context
* typo
* fix tests
* Update instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/instrumenter/http/HttpRouteHolder.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* fix all AttributesExtractors
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-02-08 10:38:41 +01:00
jason plumb
c5c0a2bcdf
NetClientAttributesAdapter - favor composition over inheritance ( #5030 )
...
* first pass at separating NetAttributesAdapter interface and make NetClientAttributesExtractor concrete
* rename the implementations extractor -> adapter
* hide constructor and make factory method
* rename to client and add javadoc
* spotless
* finish javadoc thought
* rebase
* renamed NetClientAttributesAdapter to NetClientAttributesGetter
* fix lettuce
* code review comments
* code review comments -- renaming for consistency
* adapter -> getter
* fix ratpack
* adapter -> getter
2022-01-20 10:51:13 -08:00
Nikita Salnikov-Tarnovski
3144859396
Stop using deprecated NetPeerAttributes outside of the deprecated package ( #5024 )
2022-01-08 14:01:09 +02:00
Martin
ac91dc090a
Type annotation placement ( #4406 )
...
* switch annotation `org.checkerframework.checker.nullness.qual.Nullable` to `javax.annotation.Nullable`
* code format
2021-10-17 17:38:43 -07:00
Liudmila Molkova
1dfae9fd02
Allow reactor instrumentation to pick up spans from reactor context ( #4159 )
...
* Allow reactor instrumentation to pick up spans from reactor context in addition to current tracing context
* And fix nested WithSpan with defer
* up
* Review comments
* move ReactorTracing to Operation and rename to ContextPropagationOperator
* fix build
* Add reactor-netty client test nested under WithSpan
* Add link to the issue in comments
* clean up
2021-10-12 11:02:57 -07:00
Lauri Tulmin
8c175d4fce
Propagate context to lettuce callbacks ( #3839 )
2021-08-17 10:02:23 +03:00
Mateusz Rzeszutek
15ed01d4fc
Change all instrumentation names to io.opentelemetry.{libName}-{libVersion} ( #3411 )
...
* Change all instrumentation names to io.opentelemetry.{libName}-{libVersion}
* minumum supported version
2021-06-30 15:34:36 +02:00
HaloFour
1402d11592
End span on cancellation of subscription to reactive publishers ( #3153 )
...
* Stop span on cancellation of subscription to reactive publisher
* Add semantic attribute on cancelation of reactive publisher
* Change TracingOperator and TracingAssembly to accept configuration from Javaagent
2021-06-02 19:18:40 -07:00
Trask Stalnaker
df0d028a32
Remove db.connection_string from redis instrumentation ( #3094 )
2021-05-26 23:13:55 -07:00
Trask Stalnaker
10db083e77
Update to OTel API/SDK 1.2.0 ( #2945 )
...
* Update to OTel API/SDK 1.2.0
* TCP.IP -> tcp_ip
* Fix smoke tests
2021-05-10 10:14:07 -07:00
Anuraag Agrawal
2fd933b578
Support Lettuce 6 ( #2589 )
...
* Add support for Lettuce 6
* Finish
* Remove unnecessary null check
2021-03-18 12:21:47 +09:00
Mateusz Rzeszutek
ae23b97ec4
Move and rename NetPeerUtils ( #2548 )
...
* Move and rename NetPeerUtils
* Rename NetPeerUtils to NetPeerAttributes; inject instance instead of using a global var
* Rename SpanAttributeSetter to AttributeSetter (might be used to set on AttributesBuilder in the future, who knows)
* Deprecate default BaseTracer constructor: library instrumentations are supposed to inject all dependencies, the javaagent should explicitly pass globals
* fix compilation failure
* Remove peer.service customization from library instrumentation
2021-03-16 13:50:19 +01:00
Anuraag Agrawal
cf6d9deb4e
Extract library instrumentation for lettuce 5.1 ( #2533 )
2021-03-10 10:03:53 +09:00