Commit Graph

903 Commits

Author SHA1 Message Date
Marcin Grzejszczak
e7b192575c Added aspects around exception resolvers
without this change any update on a span in custom exception resolver where ignored cause the span got detached in TraceFilter instead of it getting closed
    with this change we're adding an error tag if it was missing and we're also marking the span for closure by TraceFilter

    fixes #585
2017-05-08 10:48:22 +02:00
Marcin Grzejszczak
2336355315 Bumping versions to 1.1.5.BUILD-SNAPSHOT after release 2017-05-05 12:50:01 +02:00
Marcin Grzejszczak
46130c4bb3 Going back to snapshots 2017-05-05 12:50:00 +02:00
Marcin Grzejszczak
be44013620 Update SNAPSHOT to 1.1.4.RELEASE 2017-05-05 12:47:18 +02:00
Adrian Cole
8bb1dc008a Synchronizes on zipkin which uses latest Spring Boot 1.4 (#572)
This updates to a Zipkin version synchronized with out spring boot
config.
2017-04-26 21:18:54 +08:00
Marcin Grzejszczak
b95ecd5f7e Adds documentation and javadocs about SpanAdjuster and SpanReporter
fixes #570
2017-04-24 15:17:59 +02:00
Marcin Grzejszczak
115ace8bcc Made TraceFilter.ORDER public
fixes #569
2017-04-20 09:33:34 +02:00
Marcin Grzejszczak
165a6ac1ba Making post zuul filter close the span (#568)
without this change when dealing with Zuul, it's TraceFilter that is closing a span on an error
with this change, we're allowing the PostZuulFilter to close that span and TraceFilter doesn't interfere

fixes #563
2017-04-19 13:37:59 +02:00
Marcin Grzejszczak
64791deabd Span Adjuster (#567)
with this change, we're adding a possibility to fully customize the span before it gets reported to e.g. Zipkin

fixes #553
2017-04-19 10:35:48 +02:00
Marcin Grzejszczak
a879dc9e30 Added docs for customization executors 2017-04-18 16:20:24 +02:00
Marcin Grzejszczak
9dc626a873 Added docs for custom async rest template (#566)
fixes #564
2017-04-18 14:48:58 +02:00
Marcin Grzejszczak
612436764c Fixed missing deployment of test-core jar 2017-04-12 15:22:33 +02:00
Marcin Grzejszczak
46257ea370 Moved an executor aspect to a bean post processor
without this change when an executor implementation was a final class or had a final method - the application wouldn't start or would produce NPE at startup.
    with this change we have a custom bean post processor that wraps an aspect manualy either via a JDK Proxy when a class is final or a method is final or creates a CGLIB proxy if that's possible.

    fixes #550
2017-04-12 12:02:39 +02:00
Marcin Grzejszczak
ab0f785cd6 Bumping mvnw to 3.5.0
fixes #561
2017-04-11 14:17:22 +02:00
Marcin Grzejszczak
cce5b18dec 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:16:25 +02:00
Kamil Szymański
21d73f6ed6 Grok pattern fix (#559) 2017-04-10 17:09:23 +02:00
Marcin Grzejszczak
e316e8bc3d Stopped producing warnings if the current span is null
fixes #552
2017-04-10 16:48:50 +02:00
Denis Stepanov
327ce80c38 Use HystrixFeign only if it's present on classpath (#544) 2017-03-22 10:43:56 +01:00
Marcin Grzejszczak
e9480898b5 Publish artifact for samples-test-core 2017-03-15 12:57:44 +01:00
Marcin Grzejszczak
53f8f9eaa3 Bumped versions 2017-03-13 09:50:42 +01:00
Marcin Grzejszczak
035caf1ec8 Updated wrong version for sc-sleuth-deps 2017-03-10 11:21:49 +01:00
Marcin Grzejszczak
93afed967c Bumping versions after release 2017-03-10 11:18:18 +01:00
Marcin Grzejszczak
dde7d3b313 Going back to snapshots 2017-03-10 11:16:09 +01:00
Marcin Grzejszczak
1cab456015 Bumping versions before release 2017-03-10 11:10:23 +01:00
Marcin Grzejszczak
39b4617d51 Updated mvnw 2017-03-08 12:06:57 +01:00
Marcin Grzejszczak
64f4825966 Fixed deps 2017-03-04 09:30:53 +01:00
Marcin Grzejszczak
d1b4f73512 Trying to fix flickering 2017-02-27 16:41:41 +01:00
Marcin Grzejszczak
cdba72b44c Added missing aop dependency
fixes #534
2017-02-27 16:05:29 +01:00
Marcin Grzejszczak
8c17451e60 Added missing new trace headers
without this change for kafka the new message headers are not passed
with this change we're finally fixing this

fixes #529
2017-02-24 17:15:37 +01:00
Marcin Grzejszczak
90713eba34 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 16:58:27 +01:00
Marcin Grzejszczak
e773ef4524 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 11:53:09 +01:00
Marcin Grzejszczak
c202f53a85 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 15:56:29 +01:00
Marcin Grzejszczak
6f0a77cb1f Fixed the missing surefire plugin 2017-02-21 18:01:46 +01:00
Marcin Grzejszczak
f8e6b00f35 Updated the version of the deprecated headers
fixes #519
2017-02-15 21:26:02 +01:00
Marcin Grzejszczak
4948498664 Ensured that we guard against negative ports
fixes #518
2017-02-15 13:55:06 +01:00
Marcin Grzejszczak
4d8d0dae1f Updated libs
fixes #517
2017-02-15 10:36:02 +01:00
Marcin Grzejszczak
694b929db3 Caches the result of getting error controller bean
related to #512
2017-02-13 11:24:44 +01:00
Marcin Grzejszczak
7f6dda7179 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:45:59 +01:00
Marcin Grzejszczak
11ef72369c Updated the docs with logging pattern 2017-02-08 10:39:44 +01:00
Marcin Grzejszczak
5930e15a9e 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:34:45 +01:00
Marcin Grzejszczak
8f11bbe9f0 Going back to snapshots 2017-02-03 13:39:59 +01:00
Marcin Grzejszczak
ac0c209f94 Bumping versions before release 2017-02-03 13:30:35 +01:00
Arthur Gavlyukovskiy
3179637eb8 Display overriden service name in logs (addition to #487) (#507)
Use `spring.zipkin.service.name` if present.
2017-02-02 09:12:06 +01:00
Marcin Grzejszczak
abefcaa354 Removed duplicated dependency
fixes #504
2017-02-01 11:19:51 +01:00
Marcin Grzejszczak
4060c0b805 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:31:50 +01:00
Marcin Grzejszczak
5c117534aa Revert "Fixing the moment when SS is set (#505)"
This reverts commit 92bcae68f3.
2017-01-31 16:20:31 +01:00
Marcin Grzejszczak
92bcae68f3 Fixing the moment when SS is set (#505)
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-01-31 15:57:22 +01:00
Marcin Grzejszczak
7151a9cdb3 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:47:43 +01:00
Marcin Grzejszczak
a84e624bc4 Fixed broken tests 2017-01-23 13:07:11 +01:00
Marcin Grzejszczak
e027d4cfb5 Making the branch 1.5.0 boot compatible
fixes #499
2017-01-23 12:37:55 +01:00