Commit Graph

3191 Commits

Author SHA1 Message Date
Jonatan Ivanov
3c3fca3b61 Use new LoadBalancerClientsProperties class 2021-10-28 13:18:43 -07:00
buildmaster
fd45548d76 Bumping versions 2021-10-26 17:34:40 +00:00
Marcin Grzejszczak
11686c4131 Updated the formatting 2021-10-26 16:25:06 +02:00
Marcin Grzejszczak
eb01d5952b Reactive mongo (#2044)
Added support for the new Reactive and Synchronous Context Providers in Mongo
2021-10-26 16:13:57 +02:00
Marcin Grzejszczak
90417f1f07 Stream reactive (#2038)
Added native support for Reactive Spring Cloud Stream.
2021-10-26 16:01:12 +02:00
buildmaster
e1ef593847 Bumping versions 2021-10-22 17:34:36 +00:00
Jonatan Ivanov
5503910d00 Fix tests that assume Spring Cloud Function returns a byte array
fixes gh-2043
2021-10-20 16:19:37 -07:00
Jonatan Ivanov
79208f410f Fix tests that depend on previous Spring Boot config issue
fixes gh-2042
2021-10-20 16:16:25 -07:00
spencergibb
ccae09aae1 Revert "Temporarily updates reactor and kafka-clients versions (#2040)"
This reverts commit 86e6b5dff6.
2021-10-20 16:10:50 -04:00
buildmaster
11ef7e028a Going back to snapshots 2021-10-20 03:03:18 +00:00
buildmaster
17e68ba7c6 Update SNAPSHOT to 3.1.0-M3 2021-10-20 02:59:04 +00:00
Spencer Gibb
86e6b5dff6 Temporarily updates reactor and kafka-clients versions (#2040) 2021-10-19 16:39:25 -07:00
Jonatan Ivanov
1471362be0 Merge branch '3.0.x' 2021-10-18 17:52:36 -07:00
Jonatan Ivanov
facedbeed2 Update github workflow to use Java 17 2021-10-18 17:52:08 -07:00
Jonatan Ivanov
ef9dac6d2c Prometheus Exemplars Support
fixes gh-2039
2021-10-18 17:30:30 -07:00
Marcin Grzejszczak
df2bf03cb3 Fixed compilation issues 2021-10-13 16:16:03 +02:00
Marcin Grzejszczak
3dc8387a6f Merge branch '3.0.x' into main 2021-10-12 10:25:23 +02:00
Marcin Grzejszczak
a403c9aa91 Added conditional on spring kafka; fixes gh-2037 2021-10-12 10:23:07 +02:00
Marcin Grzejszczak
5ea63f6f8c Adding span flushing on shutdown hook (#2036)
without this change when batch process finishes the async reporter doesn't have time to properly shutdown and send out spans to Zipkin.
with this change we're registering a shutdown hook. AsyncReporter has no option to send out spans in a blocking way, so what we need to do to flush it, then wait for the configured time for the spans to be drained from the queue and then give a chance to send the spans out over the wire.

fixes gh-2035
2021-10-08 10:53:15 +02:00
buildmaster
9fb298705b Bumping versions 2021-10-06 17:35:16 +00:00
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
3855298689 Going back to snapshots 2021-10-01 19:38:52 +00:00
buildmaster
160524d943 Update SNAPSHOT to 3.1.0-M2 2021-10-01 19:34:24 +00:00
Marcin Grzejszczak
d19b72d553 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-01 09:34:20 -07:00
Jonatan Ivanov
565d00c73a update spring security: 5.6.0-M3 2021-09-30 15:22:34 -07:00
buildmaster
4f30b5e012 Bumping versions 2021-09-30 17:33:57 +00:00
干货满满张哈希
6b2f15e961 fix #2023, add parent in the new TraceFeignContext (#2024)
fixes gh-2023
2021-09-30 10:46:52 +02:00
buildmaster
152a4326c4 Bumping versions 2021-09-28 17:33:44 +00: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
Flaviu Mureșan
460d994a53 Spring kafka autoconfiguration (#2013)
* Add auto-configuration for spring kafka

* Add auto-configuration for spring kafka

* Make spring-kafka instrumentation autoconfig conditional on missing brave

Co-authored-by: flavium31 <w7og3bljlmmn742puqw2zwzu7ycuwmflr2nb4swrwzivccx6arpq>
2021-09-20 19:19:53 +02:00
buildmaster
a541d6cf0e Bumping versions 2021-09-10 17:33:53 +00:00
buildmaster
9da75fb871 Bumping versions 2021-09-08 17:34:30 +00:00
Marcin Grzejszczak
ef8554daa6 Fixed the build for Boot 2.6.0 Snapshots 2021-09-08 12:21:54 +02:00
Marcin Grzejszczak
5f5f29fd6d Update maven.yml 2021-09-06 14:12:12 +02:00
Jonatan Ivanov
5dfb1a44fa Fixing logger (jcl instead of slf4j) 2021-08-30 13:38:18 -07:00
Lonre Wang
4ac9c10cce Typo fix (#2015) 2021-08-28 12:31:28 -07:00
Jonatan Ivanov
15f7cc58c2 Removing unstable assertions for annotation
This can be fixed by recording the wall time and the duration (using monotonic time) and calculating the end time using the duration (also converting them to the right units) but I think it does not worth the effort.
2021-08-27 13:12:10 -07:00
Jonatan Ivanov
f781cea815 Changing logger level to debug for TracingSecurityContextChangedListener 2021-08-26 14:49:04 -07:00
Jonatan Ivanov
f3051483d7 Instrumenting Spring Security (#2011)
* First draft of instrumenting Spring Security

* Create events based on Authentication not SecurityContext

* Simplifying security config

* Checkstyle reformat

* Create DocumentedSpan and EventValue for Spring Security instrumentation

* Adding spring-security-bom to ensure the right dependencies are used.

* TracingSecurityContextChangedListenerTests

* Adding integration tests

* Deleting spring-cloud-sleuth-sample-security

* Checkstyle, license, javadoc

* Inlining SleuthSecuritySpan methods

* Deleting javadoc links from DocumentedSpan

* Updating auto-generated docs
2021-08-25 15:44:45 -07:00
Jonatan Ivanov
1f986bb93f Fixing package and logger names in 3.1 left from the Brave -> Sleuth API change 2021-08-24 18:03:07 -07:00
Jonatan Ivanov
7ae5eca766 Merge branch '3.0.x' 2021-08-24 17:58:34 -07:00
Jonatan Ivanov
23ea9743d2 Fixing package and logger names in 3.0.x left from the Brave -> Sleuth API change 2021-08-24 17:58:27 -07:00
Junho, Kim
9eafa2ca58 Fix an example value using TagValueExpressionResolver (#2012) 2021-08-20 13:35:35 +02:00
Junho, Kim
2b17d08ee1 Fix typo in document example (#2010) 2021-08-18 21:55:23 -07:00
Marcin Grzejszczak
6a8b1551c7 Fixed end lines in editorconfig 2021-08-11 18:55:31 +02:00
Marcin Grzejszczak
1fbfd04b7c Merge remote-tracking branch 'origin/3.0.x' into main 2021-08-09 14:01:19 +02:00
Marcin Grzejszczak
61b0b175e1 Added missing text 2021-08-09 14:00:28 +02:00
Marcin Grzejszczak
51dca96d73 Merge remote-tracking branch 'origin/3.0.x' into main 2021-08-09 13:58:11 +02:00