Commit Graph

1051 Commits

Author SHA1 Message Date
Marcin Grzejszczak
2e45374800 Clearing MDC for null context; fixes gh-1161 2018-12-17 13:20:01 +01:00
Marcin Grzejszczak
7a3e7e01f5 Polish 2018-12-17 10:59:55 +01:00
Marcin Grzejszczak
7c04ee4c7f Made the feature opt-in 2018-12-17 10:54:19 +01:00
Marcin Grzejszczak
321f5c6b2d Merge branch 'extra-propagation-fields-to-tags' of https://github.com/tdanylchuk/spring-cloud-sleuth into tdanylchuk-extra-propagation-fields-to-tags 2018-12-17 10:52:31 +01:00
Marcin Grzejszczak
bf71477912 Polish 2018-12-14 08:52:29 +00:00
Marcin Grzejszczak
0326f279ce Polish 2018-12-14 08:41:35 +00:00
Brian Devins-Suresh
4afb5836e8 Allow customizing the base Propagation.Factory (#1156)
* Add a customizer interface, not a huge fan of the class names

* Allow an optional factory builder to be passed

* Put imports back

* Add autoconfig test

* Faster tests and better coverage

* Better class name
2018-12-14 08:33:40 +00:00
tdanylchuk
fb1e318acd sleuth extra propagation fields to tags feature. 2018-12-13 11:25:32 +02:00
Marcin Grzejszczak
5e4b8e3cef Fixed broken build with a hack 2018-12-04 23:07:09 +01:00
Julien Hoarau
fe1f3e856a Fixes #1138 Report trace in case of cancellation when calling webclient. (#1140)
Report trace in case of cancellation when calling webclient.

Fixes gh-1138
2018-12-04 22:23:44 +01:00
Tyler Van Gorder
415a7a6a2c First attempt to add GRPC instrumentation (#1139)
* Adding preliminary GRPC instrumentation to Sleuth

fixes #305
2018-12-04 22:22:03 +01:00
Tommy Ludwig
a1832f6dd7 Skip only Actuator endpoints when context path set (#1150)
Previously, all endpoints under the set context path would be skipped. Instead, this skips only Actuator endpoints under the set context-path.

Resolves #1146
2018-12-04 10:07:14 +01:00
Marcin Grzejszczak
e166e11f3a Added propagation keys to list of whitelisted mdc keys
fixes gh-1135
2018-11-16 09:28:24 +01:00
Marcin Grzejszczak
5ad4ae9d03 Made Spring Data lazy in tests; fixes gh-1100 2018-11-14 11:27:59 +01:00
Marcin Grzejszczak
d3feae1ce4 Stephane help (#1126)
* WIP : Optimize Reactor instrumentation
- Use onLastOperator instead of onEachOperator
- Do not instrument scalar publishers
- Revisit ReactorSleuthMethodInvocationProcessor to reduce ops overhead

* Optimize Reactor instrumentation
- Use only one operator for the MethodInvocationProcessor
- Warning Behavior Change: @NewSpan will defer Span creation/context

* Optimize Reactor Optimization
- Reduce WebFilter instrumentation to 1 operator
- Reduce WebClient instrumentation to 2 operators (1 resp, 1 body)

* Late Formatting commit - because not enough coffee
2018-11-06 23:06:02 +01:00
Stephane Maldini
3c25fc1a11 Optimize Reactor Instrumentation (#1122)
- Use onLastOperator instead of onEachOperator
- Do not instrument scalar publishers
- Revisit ReactorSleuthMethodInvocationProcessor to reduce ops overhead
- Use only one operator for the MethodInvocationProcessor
- Warning Behavior Change: @NewSpan will defer Span creation/context

fixes https://github.com/spring-cloud/spring-cloud-sleuth/issues/1098
2018-11-02 18:36:23 +01:00
Marcin Grzejszczak
bdda33629c Added logging info 2018-11-02 14:08:41 +01:00
Marcin Grzejszczak
c9aade8853 Made tests less brittle 2018-11-02 13:36:29 +01:00
Marcin Grzejszczak
9b2def2be1 Improved span passing for NettyClient.
without this change the child span has a wrong parent span id
2018-11-02 13:31:43 +01:00
Marcin Grzejszczak
aa2a0209de Brought back netty-client instrumentation; fixes gh-1080 2018-11-02 11:34:55 +01:00
Marcin Grzejszczak
423ea6d5a9 Formatting 2018-11-02 10:44:24 +01:00
Marcin Grzejszczak
a0a559414d Making tests less brittle 2018-10-30 12:55:40 +01:00
Marcin Grzejszczak
f7865eddb1 Making tests less brittle 2018-10-30 12:23:39 +01:00
Marcin Grzejszczak
77f40a62d7 Made the tests less brittle 2018-10-30 12:13:33 +01:00
Marcin Grzejszczak
50a41f2252 Merge branch '2.0.x' 2018-10-22 18:31:50 +02:00
Marcin Grzejszczak
a0dd612148 Fixed adding multiple headers for web client; fixes gh-1102 2018-10-22 18:18:48 +02:00
Marcin Grzejszczak
96179fdbb7 ExecutorBeanPostProcessor does not fully support proxying ExecutorService; fixes gh-1107 2018-10-19 13:05:19 +02:00
Marcin Grzejszczak
6e80f3f06a WIP 2018-10-19 12:42:12 +02:00
Marcin Grzejszczak
abccdf7b41 Added back support for proxying of ExecutorService; fixes gh-1107 2018-10-19 12:41:17 +02:00
Alvin
ef5efd8041 Reduce scoping overhead of WebFlux and adds Benchmarks (#1111) 2018-10-18 22:10:53 +08:00
Marcin Grzejszczak
426707e7f6 Revert "Fixed moved autoconfiguration"
This reverts commit 8c2500c3f2.
2018-10-17 08:48:59 +02:00
Marcin Grzejszczak
8c2500c3f2 Fixed moved autoconfiguration 2018-10-16 16:56:43 +02:00
Marcin Grzejszczak
73b8d77615 Fixed imports order 2018-10-15 00:10:32 +02:00
Marcin Grzejszczak
658926498c Moar logging 2018-10-14 23:20:17 +02:00
Marcin Grzejszczak
e1939cc355 Making tests less brittle 2018-10-12 17:16:35 +02:00
Marcin Grzejszczak
b31883e744 Adding classloader on jdk11 2018-10-12 15:59:26 +02:00
Marcin Grzejszczak
5d71b3752c Fixing the class loader issue with proxies 2018-10-12 15:47:39 +02:00
Marcin Grzejszczak
cef92c5f14 Merged tests 2018-10-11 16:52:02 +02:00
Marcin Grzejszczak
215ba8a8db Logs everywhere 2018-10-11 15:38:21 +02:00
Marcin Grzejszczak
3ae23242a3 Moar debbuging 2018-10-11 14:14:23 +02:00
Marcin Grzejszczak
f3f7e47294 And now? 2018-10-11 13:18:11 +02:00
Marcin Grzejszczak
a34b82f47f Please work 2018-10-11 13:05:16 +02:00
Marcin Grzejszczak
c6d96be4fd Fixed checkstyle 2018-10-10 16:06:45 +02:00
Marcin Grzejszczak
7d7f1d1b83 Please work - removing poor man's version of checking if context is active 2018-10-10 16:04:30 +02:00
Marcin Grzejszczak
8a3c7494b2 Added moar logging 2018-10-10 15:35:43 +02:00
Marcin Grzejszczak
a5c3b311ec Fail fast 2018-10-10 12:14:21 +02:00
Marcin Grzejszczak
ea64155c56 Fighting with tests 2018-10-05 15:35:10 +02:00
Marcin Grzejszczak
ad6b7629be Clear spans before running the tests 2018-10-05 13:52:38 +02:00
Marcin Grzejszczak
87379168e1 Awaitility added for all aspect related tests 2018-10-05 12:22:35 +02:00
Marcin Grzejszczak
ce6b5fd9bb Unignored test 2018-10-05 12:00:06 +02:00