Commit Graph

887 Commits

Author SHA1 Message Date
Marcin Grzejszczak
59540f2430 Bumping mvnw to 3.5.0
fixes #561
2017-04-11 14:19:10 +02:00
Marcin Grzejszczak
f2798e8827 Wrapping callbacks in trace representation
without this change when user adds a callback then it's not wrapped in a trace representation, thus when executed in a separate thread, it's then missing all the tracing information
    with this change we're wrapping the future in our representation that passes the tracing information around

    fixes #546
2017-04-11 14:18:58 +02:00
Marcin Grzejszczak
c9bbc2e4a5 Bumping versions to 1.2.1.BUILD-SNAPSHOT after release 2017-04-11 10:18:41 +02:00
Marcin Grzejszczak
850534689c Going back to snapshots 2017-04-11 10:06:35 +02:00
Marcin Grzejszczak
fdace4f93a Update SNAPSHOT to 1.2.0.RELEASE 2017-04-11 10:03:04 +02:00
Marcin Grzejszczak
15a44f6ce2 Stopped producing warnings if the current span is null
fixes #552
2017-04-10 16:51:31 +02:00
Kamil Szymański
6cd9302c92 Grok pattern fix (#548) 2017-04-10 16:30:00 +02:00
Marius Bogoevici
d0cf7381a4 Fix autoconfiguration ordering with Sleuth Stream (#557)
Fix #556

* Explicitly state that `StreamSleuthAutoConfiguration` should
  execute before `TraceAutoConfiguration`;
* Also ensure that `ChannelsEndpointAutoConfiguration` is configured
  after `StreamSleuthAutoConfiguration` to ensure that the bound
  channels are added to the `/channels` actuator endpoint
2017-04-07 07:10:41 +02:00
Denis Stepanov
e98d8129e2 Use HystrixFeign only if it's present on classpath (#543) 2017-03-22 10:44:43 +01:00
Marcin Grzejszczak
e68bc5e634 Going back to snapshots 2017-03-17 09:44:27 +01:00
Marcin Grzejszczak
760c1841b7 Update SNAPSHOT to 1.2.0.RC1 2017-03-17 09:39:16 +01:00
Marcin Grzejszczak
1a376e7491 Bumping versions 2017-03-10 17:22:57 +01:00
Marcin Grzejszczak
290f120c34 Bumping versions 2017-03-09 17:57:10 +01:00
Marcin Grzejszczak
95219714ad Updated mvnw 2017-03-08 12:07:36 +01:00
Marcin Grzejszczak
bf9f84f2f9 Fixed deps of mockserver 2017-03-04 09:37:37 +01:00
Marcin Grzejszczak
fc052aed37 Fixed deps 2017-03-04 09:26:11 +01:00
Marcin Grzejszczak
1f29c05296 Removed optional scope 2017-03-04 09:24:54 +01:00
Marcin Grzejszczak
bc60925fd3 Updated versions 2017-03-03 16:49:09 +01:00
Marcin Grzejszczak
e38e057b64 Bumping versions 2017-03-03 15:18:25 +01:00
Marcin Grzejszczak
34dfb68a82 Yet another try with flickering tests 2017-02-28 10:28:00 +01:00
Marcin Grzejszczak
c8fd5aece5 Removed the flickering test 2017-02-28 09:08:04 +01:00
Marcin Grzejszczak
7b7ceefb0a Reverting the flickering fix
it has become even more flickering
2017-02-27 17:33:20 +01:00
Marcin Grzejszczak
49ccfb5766 Trying to fix benchmarks 2017-02-27 17:00:41 +01:00
Marcin Grzejszczak
6bb8b996e5 Trying to fix flickering 2017-02-27 16:41:52 +01:00
Marcin Grzejszczak
8d5b60996e Added missing aop dependency
fixes #534
2017-02-27 16:05:52 +01:00
Marcin Grzejszczak
0f29735c11 Managing spans with annotations (#526)
The main arguments for these features are

* api-agnostic means to collaborate with a span
    - use of annotations allows users to add to a span with no library dependency on a span api.
    This allows Sleuth to change its core api less impact to user code.
* reduced surface area for basic span operations.
    - without this feature one has to use the span api, which has lifecycle commands that
    could be used incorrectly. By only exposing scope, tag and log functionality, users can
    collaborate without accidentally breaking span lifecycle.
* collaboration with runtime generated code
    - with libraries such as Spring Data / Feign the implementations of interfaces are generated
    at runtime thus span wrapping of objects was tedious. Now you can provide annotations
     over interfaces and arguments of those interfaces

This PR is an adoption of @Koizumi85 work started here - https://github.com/Koizumi85/spring-cloud-sleuth-annotation

fixes #182
2017-02-27 15:26:03 +01:00
Marcin Grzejszczak
b7659ede11 Updated the stream header setting in env post processor
without this kafka needs to add headers manually in properties
with this change is not necessary

fixes #529
2017-02-24 17:49:30 +01:00
Marcin Grzejszczak
cc07a8f777 Added support for Feign + OkHttpClient + Sleuth
without this change we get exceptions related to not being able to extend a final class
with this change we're not wrapping any final types and we have a custom bean post processor for okhttp

fixes #513
2017-02-24 17:06:32 +01:00
Marcin Grzejszczak
e0c2656354 Limiting the span name size to 50 chars
without this exceptions can occur when the span name is big
with this we're truncating the name to 50 chars

fixes #530
2017-02-24 12:05:28 +01:00
Marcin Grzejszczak
7caf522ecf Showing a workaround to make message serializable
this issue is there in core of Spring Framework  (https://jira.spring.io/browse/SPR-15262) but this tests shows how to apply a workaround to get ridd of that problem until we bump up version of SF.

related to https://github.com/spring-cloud/spring-cloud-sleuth/issues/520 and https://github.com/spring-cloud/spring-cloud-sleuth/issues/523
SO - http://stackoverflow.com/questions/42277170/messagedeliveryexception-thrown-when-using-amqp-backed-channel-with-brixton-sr7

fixes #520
2017-02-23 16:28:47 +01:00
Marcin Grzejszczak
4795b20ec7 Making actuator and web optional dependencies
without this change we're explicitly requiring our users to take both web and actuator into their classpath. That makes little sense since not every app is a web app.
with this change we're making those deps optional

fixes #524
2017-02-23 10:56:58 +01:00
Marcin Grzejszczak
08630c580c Fixed the missing surefire plugin 2017-02-21 18:02:03 +01:00
Marcin Grzejszczak
6ac48cfc01 Fixing a broken test 2017-02-20 15:47:31 +01:00
Marcin Grzejszczak
0ce6b256ba Added CLI 1.3.0.BS for e2e 2017-02-19 23:07:20 +01:00
Marcin Grzejszczak
49b96d43b6 Added CLI 1.3.0.BS for e2e 2017-02-19 22:52:44 +01:00
Marcin Grzejszczak
a266d8bc6c Ensured that we guard against negative ports
fixes #518
2017-02-15 13:57:25 +01:00
Marcin Grzejszczak
ba128a24de Updated libs
fixes #517
2017-02-15 10:36:20 +01:00
Marcin Grzejszczak
726be4f944 Caches the result of getting error controller bean
related to #512
2017-02-13 11:25:05 +01:00
Marcin Grzejszczak
05f812abe0 Lack of ErrorController will not result in blowing up the application
without this change when someone has a missing ErrorController bean then TraceHandlerInterceptor blows up
with this change that problem gets fixed

fixes #512
2017-02-13 10:47:37 +01:00
Marcin Grzejszczak
4a818eee73 Added back the baggage docs 2017-02-08 13:29:01 +01:00
Marcin Grzejszczak
9d21d1b07b Updated the docs with logging pattern 2017-02-08 10:41:10 +01:00
Marcin Grzejszczak
ce226ba334 Removing colour from the logging pattern\n\nwithout this change due to the presence of colours in the logging pattern, the logs could be corrupt in some cases\nwith this change we're removing the colour\n\nfixes #510 2017-02-07 17:35:07 +01:00
Marcin Grzejszczak
db75bb2cc4 Fixing broken benchamrks - again 2017-02-07 17:14:04 +01:00
Marcin Grzejszczak
1e7ea022db Fixing broken benchamrks 2017-02-07 17:04:08 +01:00
Arthur Gavlyukovskiy
634fa90a0d Display overriden service name in logs (addition to #487) (#507)
Use `spring.zipkin.service.name` if present.
2017-02-02 09:13:37 +01:00
Marcin Grzejszczak
ea30fefdf9 Removed duplicated dependency
fixes #504
2017-02-01 11:20:04 +01:00
Marcin Grzejszczak
b996de50ea Fixing the moment when SS is set
without this change there's a problem with the time when the SS is set on a span. Currently it's done in TraceFilter's finally block. The problem is that this code is executed after the response has been sent back to the client. Thus CR sometimes was set faster than SS (it doesn't make any sense from the logical point of view).

with this change we're introducing wrappers over the HttpServletResponse where we annotate the span with SS just after the response gets sent to the recipient.

fixes #492 #431
2017-02-01 10:49:47 +01:00
Marcin Grzejszczak
6d445f56f4 Going back to snapshots 2017-01-30 10:37:40 +01:00
Marcin Grzejszczak
adfaa036a2 Bumping versions before release 2017-01-30 10:31:39 +01:00
Marcin Grzejszczak
ba4e4f32c1 Giving an option to reuse a custom feign client
without this change you couldn't register your own client (for example to set your ssl config) for Sleuth to reuse it
with this change we're reusing a registered feign client bean or creating a default one if necessary

fixes #502
2017-01-26 18:52:59 +01:00