Marcin Grzejszczak
6c23dfb179
Caches executor wrappers ( #2033 )
...
without this change whenever a traced executor is created (either via a proxy or directly) we create a new instance of that traced wrapper. The problem with that is such that we create a lot of objects (e.g. each getExecutor() would return a new instance of the traced version). There are projects such as Micrometer that create WeakReferences to those objects. That means that if we don't cache the traced instance then we will lose the WeakReference upon the first GC.
with this change we're introducing new static wrapper methods that cache the traced instance for a given delegate. That means that not only will we create fewer objects but also we will honour the WeakReference mechanisms.
fixes gh-2020
2021-10-04 10:10:45 +02:00
buildmaster
e295ff9214
Bumping versions to 3.0.5-SNAPSHOT after release
2021-09-21 15:23:29 +00:00
buildmaster
4ff72048cf
Going back to snapshots
2021-09-21 15:23:29 +00:00
buildmaster
bffa4ab7db
Update SNAPSHOT to 3.0.4
2021-09-21 15:17:41 +00:00
Marcin Grzejszczak
0cdf31de7b
Updated the docs with how to set the trace id in the response
...
fixes gh-2002
2021-08-09 13:57:39 +02:00
Oleg Zhurakousky
1b091f7772
Fix previous commit
2021-07-28 12:39:42 +02:00
Oleg Zhurakousky
3793c58fe8
Add reactive Supplier test
2021-07-09 16:39:39 +02:00
Oleg Zhurakousky
c896158804
GH-1975 Fix test after SCF change
...
Fix sleuth tests related to the change in SCF - c86890806e
2021-06-28 19:22:58 +02:00
Marcin Grzejszczak
b876551a78
Fixing sc function ( #1983 )
...
- Removed an unnecessary child span; the parent span was never ended
- Added tests
2021-06-23 17:20:01 +02:00
Oleg Zhurakousky
aa87398787
GH-1975 Add tracing support for Supplier function
...
This is an extension to SCF fix 293ccd7425
which allows Suppliers to generate initial tracing information
Resolves #1975
2021-06-17 14:32:31 +02:00
robotmrv
81322756a4
simplify ON_EACH reactor instrumentation ( #1969 )
...
* simplify ON_EACH reactor instrumentation
remove custom Publisher decorators that
were mostly copy of reactor-core Lift Publishers
and use new LIFTER Scannable Attribute instead
* change constant scope
* add note about test constant origin
2021-06-08 13:23:59 +02:00
buildmaster
58eb56d796
Going back to snapshots
2021-05-27 21:49:30 +00:00
buildmaster
c8da912f85
Update SNAPSHOT to 3.0.3
2021-05-27 21:44:52 +00:00
buildmaster
e478f2eb11
Bumping versions to 3.0.4-SNAPSHOT after release
2021-05-27 09:05:42 +00:00
buildmaster
92b857ad33
Going back to snapshots
2021-05-27 09:05:42 +00:00
buildmaster
837ef78089
Update SNAPSHOT to 3.0.3
2021-05-27 09:01:00 +00:00
Marcin Grzejszczak
30b17f7576
Don't cache the bean factory as key;fixes gh-1958
2021-05-25 13:18:09 +02:00
Marcin Grzejszczak
39617c6cf6
Updated the project to work with jdk16 ( #1902 )
...
* Updated the project to work with jdk16
* Updates build for jdk8
* Added tests
2021-04-14 15:25:13 +02:00
buildmaster
bf467a9a15
Bumping versions
2021-03-18 05:29:41 +00:00
buildmaster
d2c29938b8
Bumping versions to 3.0.3-SNAPSHOT after release
2021-03-17 22:12:44 +00:00
buildmaster
dfc5674cea
Going back to snapshots
2021-03-17 22:12:44 +00:00
buildmaster
551094af4a
Update SNAPSHOT to 3.0.2
2021-03-17 22:09:09 +00:00
Artem Ptushkin
39094e1614
#1874 : make message header getter case insensitive for propagated headers ( #1884 )
2021-03-17 10:46:55 +01:00
Marcin Grzejszczak
93b59a6d75
Don't allow double Gateway instrumentation ( #1882 )
...
* Don't allow double Gateway instrumentation
with this change we're doing both HeaderFilter based Gateway instrumentation and the Netty Client one.
with this change we're conditionally enabling the HeaderFilter instrumentation only when there is no Netty Client one present on the classpath.
fixes gh-1840
2021-03-16 14:42:44 +01:00
Marcin Grzejszczak
3d8012fc56
Parameterized the path key (OTel uses http.route)
2021-03-09 08:50:32 +01:00
Marcin Grzejszczak
cb9d45d3fe
Merge branch '2.2.x'
2021-02-26 14:17:34 +01:00
Marcin Grzejszczak
ba31f58d2a
Polish
2021-02-26 10:30:12 +01:00
Marcin Grzejszczak
985e669f02
Added missing scope clearing
2021-02-25 16:02:00 +01:00
Marcin Grzejszczak
899410a2b0
Updated copyrights
2021-02-25 15:24:10 +01:00
Marcin Grzejszczak
05d5678eba
New reactor queue wrapping ( #1858 )
...
fixes gh-1843
2021-02-25 15:22:57 +01:00
Marcin Grzejszczak
8d87ea7fd3
Merge branch 'optimize-reactor-hooks' of https://github.com/robotmrv/spring-cloud-sleuth into robotmrv-optimize-reactor-hooks
2021-02-19 10:59:17 +01:00
buildmaster
2dc9556cc3
Bumping versions to 3.0.2-SNAPSHOT after release
2021-01-27 21:15:42 +00:00
buildmaster
5394ecb9ec
Going back to snapshots
2021-01-27 21:15:41 +00:00
buildmaster
49f5528e69
Update SNAPSHOT to 3.0.1
2021-01-27 21:12:10 +00:00
Roman Matiushchenko
615f70c03a
handle double wrapping
2021-01-24 20:50:14 +02:00
Roman Matiushchenko
e5329a9bb2
optimize reactor on_each instrumentation
2021-01-23 22:36:44 +02:00
kubav182
1cf3337cae
Accept properties prefix spring.sleuth.messaging instead of spring.sleuth.messaging.messaging. Fixes gh-1813 ( #1821 )
2021-01-11 10:45:17 +01:00
Csaba Kos
40a00214b5
Set remote IP and port for servlet HTTP server traces. ( #1817 )
...
* Set remote IP and port for servlet HTTP server traces.
* Add null check and use broader ServletRequest type instead of HttpServletRequest.
2021-01-08 10:38:04 -08:00
buildmaster
ca2e15fc76
Bumping versions
2020-12-22 18:28:05 +00:00
buildmaster
ea66740e2e
Bumping versions
2020-12-22 05:29:47 +00:00
buildmaster
7ed5683386
Bumping versions to 3.0.1-SNAPSHOT after release
2020-12-21 20:12:10 +00:00
buildmaster
749c1cc9e2
Going back to snapshots
2020-12-21 20:12:10 +00:00
buildmaster
dbe4853e36
Update SNAPSHOT to 3.0.0
2020-12-21 20:07:38 +00:00
buildmaster
02c00bb682
Bumping versions
2020-12-18 05:29:57 +00:00
Marcin Grzejszczak
3cbb3343b4
Fixed failing compilation
2020-12-16 09:17:39 +01:00
buildmaster
be35aaec21
Going back to snapshots
2020-12-11 22:29:42 +00:00
buildmaster
5630b3fa61
Update SNAPSHOT to 3.0.0-RC1
2020-12-11 22:27:43 +00:00
Marcin Grzejszczak
4c3d12e639
Removed OTel ( #1802 )
2020-12-10 22:19:57 +01:00
Marcin Grzejszczak
89433dc4d7
Added test framework as part of the BOM
2020-12-10 19:17:05 +01:00
Olga Maciaszek-Sharma
996a4c1e10
Adjust to changes in commons.
2020-12-10 17:48:31 +01:00