Commit Graph

1221 Commits

Author SHA1 Message Date
Tim Ysewyn
9cb5e27e5b Merge branch 'master' into feature/multiple-reporters 2019-01-16 12:15:57 +01:00
Tim Ysewyn
ca2244dd3f Updated license header 2019-01-15 22:25:25 +01:00
Tim Ysewyn
d7eccee650 Moved ReporterMetrics sleuthReporterMetrics() to TraceAutoConfiguration so other implementations can use the same default 2019-01-15 17:29:55 +01:00
James Carman
89ca7d7759 The serviceName is not being resolved properly (#1183)
with this change if the service name is empty we will set it to `default`
2019-01-15 16:41:44 +01:00
Tim Ysewyn
5c05186cf1 Incorporated PR feedback 2019-01-14 19:15:26 +01:00
Marcin Grzejszczak
14cdaf529e Not using bean factory to verify if context is in creation; fixes gh-1177 2019-01-14 17:43:44 +01:00
Tim Ysewyn
64f24a5edf Added support for multiple span reporters 2019-01-13 17:00:01 +01:00
Marcin Grzejszczak
c5a23c5525 Fixed lack of propagating the proxy's client span; fixes gh-1141 2019-01-09 11:34:45 +01:00
Marcin Grzejszczak
ec60f3a3a5 Fixed the Gateway integration with Sleuth
fixes gh-1141
2019-01-09 09:58:30 +01:00
Marcin Grzejszczak
88ba09467c Ignoring the special Stream DirectChannel which is not a DirectChannel; fixes gh-1155 2019-01-07 16:46:43 +01:00
Marcin Grzejszczak
2579e7887d Added rate limit sampler via a property
fixes gh-1162
2019-01-07 10:21:20 +01:00
buildmaster
3dfc4b0be2 Going back to snapshots 2018-12-20 21:28:46 +00:00
buildmaster
d8d469a20d Update SNAPSHOT to 2.1.0.RC3 2018-12-20 21:27:48 +00:00
Marcin Grzejszczak
a4138e2167 Added documentation on the Infrastructure bean role; fixes gh-1022 2018-12-19 19:05:26 +01:00
Marcin Grzejszczak
17d8165c5e Only wrap executors when context is refreshed (#1129)
uses terrible hacks to verify if the Spring Context is in creation or has already been created. If it has been created then we'll continue as usual. If not then we will NOT wrap any callables and runnables.

fixes #1128
2018-12-19 18:15:04 +01:00
Marcin Grzejszczak
8d56299cd1 Polish 2018-12-19 09:48:48 +01:00
Michal Ziemba
8c106f424e Add tests for TraceWebServletAutoConfiguration 2018-12-18 16:18:35 +01:00
Michal Ziemba
94af231f42 Fix conditional on exception-throwing-filter-enabled 2018-12-18 13:13:32 +01:00
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
buildmaster
4805480ce5 Going back to snapshots 2018-12-11 22:20:00 +00:00
buildmaster
65c0838cfc Update SNAPSHOT to 2.1.0.RC2 2018-12-11 22:18:47 +00:00
buildmaster
00922f390c Going back to snapshots 2018-12-11 18:48:50 +00:00
buildmaster
1a901ac432 Update SNAPSHOT to 2.1.0.RC1 2018-12-11 18:47:57 +00: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
buildmaster
26417a2707 Going back to snapshots 2018-11-18 09:55:50 +00:00
buildmaster
bc5305e585 Update SNAPSHOT to 2.1.0.M2 2018-11-18 09:54:52 +00: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