Commit Graph

3157 Commits

Author SHA1 Message Date
Marcin Grzejszczak
e898793683 WIP 2021-09-07 16:47:28 +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
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
Marcin Zajączkowski
8e925786a0 Add property to disable Reactor support in docs (#2006) 2021-08-06 15:27:56 +02:00
buildmaster
d5dad5d1e6 Going back to snapshots 2021-07-30 18:51:11 +00:00
buildmaster
848a1bbcdc Update SNAPSHOT to 3.1.0-M1 2021-07-30 18:47:07 +00:00
buildmaster
eef334a6ed Bumping versions 2021-07-30 17:33:23 +00:00
Marcin Grzejszczak
013d95120a Added an option to mutate the reactor context; fixes gh-2000 2021-07-30 11:38:07 +02:00
Marcin Grzejszczak
69691471ad Merge branch '3.0.x' into main 2021-07-28 20:25:10 +02:00
Marcin Grzejszczak
95c1a1df1e Fixed line endings 2021-07-28 20:08:39 +02:00
Marcin Grzejszczak
4f3558a165 Fixed W3C tracestate and baggage setting
without this change we're not setting tracestate whatsover. Baggage is also not being propagated properly (via the baggage field)
with this change when tracestate is there in the headers it will be treated as baggage. When the context is propagated then tracestate will not be put to the baggage field

fixes gh-2001
2021-07-28 20:06:15 +02:00
Oleg Zhurakousky
f1d72227c3 Fix previous commit 2021-07-28 13:47:57 +02:00
Marcin Grzejszczak
bd4fcfd1cb Updated wrapper to 0.5.6 and maven 3.6.3 2021-07-28 13:23:48 +02:00
Oleg Zhurakousky
1b091f7772 Fix previous commit 2021-07-28 12:39:42 +02:00
Oleg Zhurakousky
71f12e2640 Add temporary guard to TraceFunctionAroundWrapper for cases which are not properly supported by it 2021-07-28 11:21:04 +02:00
Oleg Zhurakousky
e3b3cd9c66 Add temporary guard to TraceFunctionAroundWrapper for cases which are not properly supported by it 2021-07-28 11:20:19 +02:00
Marcin Grzejszczak
1aaf0a8a26 Fixing gitattributes and line endings 2021-07-27 13:47:45 +02:00
buildmaster
362ed7420e Bumping versions 2021-07-24 17:33:55 +00:00
spencergibb
2957eef110 removes alt deployment repo 2021-07-23 13:01:05 -04:00
Marcin Grzejszczak
3970778bc5 Moved SingleSkipPattern to spring-cloud-sleuth-autoconfiguration; fixes gh-1991 2021-07-19 14:15:53 +02:00
buildmaster
44dd4d17eb Bumping versions 2021-07-17 17:34:57 +00:00
Marcin Grzejszczak
bbb23b66a2 Fixed missing async processing for TomcatValve; fixes gh-1998 2021-07-16 17:53:30 +02:00
Chintan Radia
7651e7c51f Fix traces actuator should return json by default (#1997)
Fixes gh-1996

Change order of TextOutputFormat enum and give `CONTENT_TYPE_OPENZIPKIN_JSON_V2`
highest ordinal value, so that it will be matched first by spring-boot-actuator
and in case of default Accept header JSON data will be returned.
2021-07-15 09:58:58 +02:00
buildmaster
a1a2e7fe50 Bumping versions 2021-07-14 17:34:23 +00:00
Marcin Grzejszczak
76d63ce44d Fixed broken build 2021-07-14 16:55:50 +02:00
Marcin Grzejszczak
c3287d9efb Merge remote-tracking branch 'origin/3.0.x' into main 2021-07-14 15:53:04 +02:00
Marcin Grzejszczak
42c8896e75 Modified tests 2021-07-14 15:52:15 +02:00
Marcin Grzejszczak
f7eb154eb8 Merge branch 'mvc-customize-handler-postHandle' of https://github.com/wuwen5/spring-cloud-sleuth into wuwen5-mvc-customize-handler-postHandle 2021-07-14 15:31:24 +02:00
Marcin Grzejszczak
dabd32b3ef Checkstyle fix 2021-07-14 15:27:32 +02:00
Chintan Radia
87fac14505 Fix startup failure when using VaultPropertySource + reactive (#1994)
Fixes gh-1990

When using `@ValuePropertySource` in reactive web app,
`KafkaSender` bean is getting created before `BeanPostProcessor` populate `@Value`
and as a result topic is passed as `null` in `KafkaSender.Builder` and it throws `NullPointerException`

To resolve this we are using `Environment` to get the property value instead on relying on `BeanPostProcessor`
to populate `@Value`
2021-07-13 10:14:21 -07:00
Marcin Grzejszczak
684669a32b Fixed wrong test 2021-07-13 12:23:43 +02:00
Marcin Grzejszczak
58fca4d12a Added missing @return description 2021-07-13 11:33:18 +02:00
Marcin Grzejszczak
151eb4d194 Moved the assertion logic as default in the interface 2021-07-13 10:29:23 +02:00
buildmaster
6d85f48298 Bumping versions 2021-07-12 17:43:40 +00:00
spencergibb
602749a8d1 Implements new methods and delegates them. 2021-07-09 14:55:27 -04:00
spencergibb
b5c4aa256d Updates to new spring cloud dependencies for 2021.0 2021-07-09 14:52:53 -04:00