Commit Graph

1416 Commits

Author SHA1 Message Date
Marcin Grzejszczak
5d773d85d8 Added Circle CI 2.0 support 2017-07-18 10:33:31 +02:00
Marcin Grzejszczak
64a9577e4c Moved zipkin load balancing to runtime
without this change we resolved the Zipkin URL only at startup
with this change whenever we are to send a span to Zipkin we will try to resolve the URL via Discovery Client (if applicable)

fixes #642
2017-07-15 22:02:57 +02:00
Marcin Grzejszczak
a626632b40 Added support for service discovery based Zipkin URL resolution 2017-07-15 19:50:05 +02:00
Marcin Grzejszczak
8c98386c14 WIP 2017-07-15 19:39:48 +02:00
Marcin Grzejszczak
362f20d0a8 WIP 2017-07-15 15:15:39 +02:00
Marcin Grzejszczak
bddad6e2bc Merge branch '1.2.x' 2017-07-15 10:17:16 +02:00
Marcin Grzejszczak
87411d760c Ensured lower case of baggage keys
fixes #641
2017-07-15 10:14:39 +02:00
Marcin Grzejszczak
b5120b11ff Merge branch '1.2.x' 2017-07-14 12:45:24 +02:00
Marcin Grzejszczak
aaf191e4c6 Logs are no longer altered when sleuth is disabled
fixes #638
2017-07-14 12:33:57 +02:00
Marcin Grzejszczak
7a7cacb7c5 Merge branch '1.2.x' 2017-07-12 18:51:46 +02:00
Marcin Grzejszczak
be81264398 Added missing span continuation in AsyncRestTemplate
fixes #636
2017-07-12 18:50:56 +02:00
Marcin Grzejszczak
2a38230bb6 Merge branch '1.2.x' 2017-07-12 18:09:15 +02:00
Marcin Grzejszczak
feac9980da Fixed not clearing trace attribute on closed span
due to this Zuul spans have been improperly closed and the span remained in the main thread. After sending enough requests the traces started to be reused by the worker threads.

fixes #634
2017-07-12 18:08:43 +02:00
Marcin Grzejszczak
8a6f5536f0 Updated docs 2017-07-11 17:00:36 +02:00
Marcin Grzejszczak
e93db03544 Updated reactor code 2017-07-07 16:10:02 +02:00
Marcin Grzejszczak
27217619da Migrated packages to instrument.reactor 2017-07-07 13:55:48 +02:00
Marcin Grzejszczak
d02f3fb3e5 Added missing entry in the sleuth BOM 2017-07-07 11:32:44 +02:00
Marcin Grzejszczak
3e7e54e09b Initial Reactor support 2017-07-07 11:16:17 +02:00
Marcin Grzejszczak
fd6bfd6707 Merge branch '1.2.x' 2017-07-06 16:24:20 +02:00
Adrian Cole
51437503a1 Updates to latest zipkin stuff (#629) (#630)
* zipkin core library has Endpoint.Builder.parseIp now
* reporter being 1.0 is just announcing we won't break compat
2017-07-06 16:24:07 +02:00
Adrian Cole
70ec026ce0 Updates to latest zipkin stuff (#629)
* zipkin core library has Endpoint.Builder.parseIp now
* reporter being 1.0 is just announcing we won't break compat
2017-07-06 16:00:35 +02:00
Marcin Grzejszczak
c47d20ce9e Adding an option to override the spring.aop.proxyTargetClass
without this change we force everyone to use CGLIB
with this change we fix the way we weave Executors (that was the reason for not being able to turn the flag off) and we're adding an option to switch CGLIB weaving off. `spring.aop.proxyTargetClass` will be by default `true` in Boot 2.0.x

fixes #584
2017-07-06 15:56:29 +02:00
Marcin Grzejszczak
1e84290bb4 Merge branch '1.2.x' 2017-07-06 14:13:52 +02:00
Marcin Grzejszczak
f08b3057ab We no longer set SA for peer.service
fixes #619
2017-07-06 14:04:51 +02:00
Marcin Grzejszczak
4158443ad7 Merge branch '1.2.x' 2017-07-06 12:25:35 +02:00
Marcin Grzejszczak
050dfe9bdf Added missing error setting on the span in zuul pre filters
without this change when an exception is thrown in a filter we're not setting the error message as a tag.

fixes #616
2017-07-06 12:23:49 +02:00
Marcin Grzejszczak
6b1d0397ca Merge branch '1.2.x' 2017-07-06 11:55:33 +02:00
Marcin Grzejszczak
a977e4ae0e Added missing methods to override in SleuthHystrixConcurrencyStrategy
according to issue #612:
> When 2 or more customized HystrixConcurrencyStrategy are registered (e.g SleuthHystrixConcurrencyStrategy and SecurityContextConcurrencyStrategy) depending on the order of registration the overrides from SecurityContextConcurrencyStrategy might get ignored.
I think the override and delegation should be made all methods of HystrixConcurrencyStrategy otherwise the delegation will possibly be incomplete.

fixes #612
2017-07-06 11:54:21 +02:00
Marcin Grzejszczak
373e56f94b Merge 2017-07-03 08:11:42 +02:00
Marcin Grzejszczak
e5fafb8d77 Merge branch '1.2.x' 2017-07-03 08:11:37 +02:00
Marcin Grzejszczak
2a09be747d Making Hystrix + Feign opt in
without this change we allways force Feign to use Hystrix
with this change you need to pass the `feign.hystrix.enabled=true` flag to turn it on

fixes #627
2017-07-03 08:00:40 +02:00
Marcin Grzejszczak
3d3201aa17 Merge branch '1.2.x' 2017-06-30 11:30:01 +02:00
Marcin Grzejszczak
c3e90e4e21 Fixed NPE for error parser 2017-06-30 11:29:53 +02:00
Marcin Grzejszczak
c97210982a Merge branch '1.2.x' 2017-06-29 16:42:31 +02:00
Marcin Grzejszczak
a159a87af7 Fixed wrong milestone repo 2017-06-29 16:42:18 +02:00
Marcin Grzejszczak
2f6a8df5fe Removes deprecations; fixes #621 2017-06-29 08:49:40 +02:00
Marcin Grzejszczak
92d7c3443a Bumped libraries
awaitillity to 3.0.0
 wiremock to 2.6.0
 junit params to 1.1.0
 assertj to 3.8.0

fixes #620
2017-06-27 15:05:39 +02:00
Marcin Grzejszczak
474493a54d Bumped libs 2017-06-27 14:02:43 +02:00
Suttichort Sarathum
c902680244 Add missing implementation of shutdown method 2017-06-27 13:50:54 +02:00
Marcin Grzejszczak
cc00e3ae80 Making baggage keys case insensitive
fixes #605
2017-06-07 10:40:57 +02:00
Marcin Grzejszczak
da7625cba1 Added missing import 2017-06-06 09:26:10 +02:00
Marcin Grzejszczak
f834e5222b Added the ErrorParser interface
without this change there's no way to alter the exception message that gets attached as a tag to the span
    with this change you can register your own ErrorParser bean to alter that behaviour

    fixes #576
2017-06-06 08:05:27 +02:00
Marcin Grzejszczak
6a0a57ef7f Fixed percentage value in percentage based sampler
fixes #608
2017-06-06 07:54:17 +02:00
Marcin Grzejszczak
215577a31c Updated cli 2017-06-05 17:40:35 +02:00
Marcin Grzejszczak
ff2c83741c Bumped netflix 2017-06-05 15:11:36 +02:00
Marcin Grzejszczak
bf27382ca8 Fixes the way span adjusters are injected
without this you can't start the context when seuth is disabled
with this change we can autowire an empty list

fixes #600
2017-06-01 14:11:26 +02:00
Marcin Grzejszczak
95e14c0a68 Polish 2017-06-01 13:03:50 +02:00
svenz
e783df88a0 Cleanup test case based on review comments 2017-05-30 19:19:27 -07:00
svenz
6948088085 https://github.com/spring-cloud/spring-cloud-sleuth/issues/597
Fix Http headers as tags
2017-05-29 13:49:55 -07:00
Marcin Grzejszczak
419ec7232a Fixed the Duplicate Trace Header Propagation for Zuul Proxy Applications
without this change we're always setting values for headers regardless of the fact whether they have already been set.
with this change we're only setting headers if there was no any previous value of the header

fixes #586
2017-05-27 02:58:58 +02:00