Commit Graph

194 Commits

Author SHA1 Message Date
Marcin Grzejszczak
297d21a7b5 Fixed missing annotations in the image; fixes #812 2017-12-27 09:20:12 +01:00
Marcin Grzejszczak
3252578879 Merge branch '1.2.x' into 1.3.x 2017-12-18 16:52:09 +01:00
Marcin Grzejszczak
4e8be65dd5 Updated the docs with default sleuth spans channel name; fixes #803 2017-12-18 16:51:55 +01:00
Marcin Grzejszczak
00435634a0 Fixed broken docs 2017-11-22 15:32:25 +01:00
Marcin Grzejszczak
b60ff42fc8 Made ZIpkin 2 default
fixes #785
2017-11-20 23:06:13 +01:00
Marcin Grzejszczak
ab2ccf2562 Updated docs 2017-11-15 15:36:30 +01:00
Marcin Grzejszczak
b96ca210c3 Fixed invalid starter name; fixes #769 2017-11-01 14:26:03 +01:00
Adrian Cole
808572d78e Deprecates all span transports except spring-cloud-sleuth-zipkin2 (#758)
This deprecates span transports in favor of `spring-cloud-sleuth-zipkin2`
which:
* Supports RabbitMQ and Kafka automatically when adding spring-rabbit or spring-kafka deps
* Supports any io.zipkin.reporter2:zipkin-reporter sender, including Amazon X-Ray
* Defaults to zipkin v2 format, but can be configured to use zipkin v1 format as needed

This lowers the amount of maintenance on the project, as discussed in various issues

See #727
See #711
2017-10-22 19:29:22 +03:00
Marcin Grzejszczak
444e68c405 Merge branch '1.2.x' 2017-10-19 16:44:13 +02:00
Marcin Grzejszczak
2404afc639 Added docs about parallelStream; fixes #744 2017-10-19 16:24:42 +02:00
Marcin Grzejszczak
806f07e4ce Updated docs with service name & bootstrap config; fixes #741 2017-10-16 09:21:05 +02:00
Marcin Grzejszczak
746f9b27e0 Merge branch '1.2.x' 2017-08-31 15:08:02 +02:00
Marcin Grzejszczak
a93e475e73 Referrencing resources from sc-build 2017-08-31 15:07:12 +02:00
Marcin Grzejszczak
b2fa4286df Fixed the multipaged documentation 2017-08-29 16:07:10 +02:00
Marcin Grzejszczak
a7e8e8533a Migrated to new docs; fixes #687 2017-08-29 16:05:22 +02:00
Marcin Grzejszczak
3751b2ae61 Fixed the multipaged documentation 2017-08-29 11:40:02 +02:00
Marcin Grzejszczak
5ff48f6c52 Migrated to new docs; fixes #687 2017-08-29 11:40:02 +02:00
Marcin Grzejszczak
126101f0ab Merge branch '1.2.x' 2017-08-24 14:24:02 +02:00
Marcin Grzejszczak
c951dc88fd Improvements of customizing the TraceFilter
without this change you have to add a `@Primary` annotation around your custom `TraceFilter` bean to alter the behaviour of the current `TraceFilter` implementation
with this change we're marking the `TraceFilter` as conditional on missing bean; also we're ensuring that the registered `SkipPatternProvider` will be reused when no explicit pattern was set.

also documentation is added

fixes #633
2017-08-24 14:14:01 +02:00
Marcin Grzejszczak
875dba823e Merge branch '1.2.x' 2017-08-17 18:42:12 +02:00
Marcin Grzejszczak
29065e9a15 Added description of how to use Traverson with Sleuth
fixes #671
2017-08-17 18:42:01 +02:00
Marcin Grzejszczak
f322d7a06c @Async Spans should use SpanNamer
without this change there's no way to alter the name of the methods annotated with @Async
with this change the value passed to @Async annotated method via @SpanName will be the name of the span

fixes #653
2017-08-17 14:05:31 +02:00
Marcin Grzejszczak
a626632b40 Added support for service discovery based Zipkin URL resolution 2017-07-15 19:50:05 +02:00
Marcin Grzejszczak
8a6f5536f0 Updated docs 2017-07-11 17:00:36 +02:00
Marcin Grzejszczak
fb068b538e Merge branch '1.1.x' 2017-04-24 15:18:38 +02:00
Marcin Grzejszczak
b95ecd5f7e Adds documentation and javadocs about SpanAdjuster and SpanReporter
fixes #570
2017-04-24 15:17:59 +02:00
Marcin Grzejszczak
54ae618815 Merge branch '1.1.x' 2017-04-19 10:46: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
3d7b15f62c Merge branch '1.1.x' 2017-04-18 16:20:37 +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
c6d645993f Added docs for custom async rest template (#566)
fixes #564
2017-04-18 14:45:07 +02:00
Kamil Szymański
21d73f6ed6 Grok pattern fix (#559) 2017-04-10 17:09:23 +02:00
Kamil Szymański
6cd9302c92 Grok pattern fix (#548) 2017-04-10 16:30:00 +02: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
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
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
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
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
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
11ef72369c Updated the docs with logging pattern 2017-02-08 10:39:44 +01:00
Marcin Grzejszczak
c347f724cd Add an option to use the X-B3-Flags header to override any sampling decision
without this change it's pretty much impossible to enforce sampling for certain traces
    with this change setting the X-B3-Flags to 1 for HTTP messages / spanFlags to 1 for messaging will override any sampling decisions

    fixes #496
2017-01-18 13:12:13 +01:00
Marcin Grzejszczak
9785bcae15 Due to possible performance problems when DiscoveryClient gives nonexistent DNS name as local address Local endpoint is created from server properties by default.
Local Ip determined from spring.commons InetUtils.
    To enable local endpoint resolution via service discovery, DiscoveryClient must be present and 'spring.zipkin.service.locator.discovery' should be set to true.
    FallbackHavingEndpointLocator was caching and recreating EndpointLocator in the same time - removed the caching part.

    Fixes gh-403
2017-01-11 12:46:19 +01:00
Marcin Grzejszczak
4d7def0362 Merge branch '1.0.x' into 1.1.x 2017-01-11 12:32:09 +01:00
Marcin Grzejszczak
a559c11bcd Due to possible performance problems when DiscoveryClient gives nonexistent DNS name as local address Local endpoint is created from server properties by default.
Local Ip determined from spring.commons InetUtils.
    To enable local endpoint resolution via service discovery, DiscoveryClient must be present and 'spring.zipkin.service.locator.discovery' should be set to true.
    FallbackHavingEndpointLocator was caching and recreating EndpointLocator in the same time - removed the caching part.

    Fixes gh-403
2017-01-11 12:31:18 +01:00
Marcin Grzejszczak
225a2d4cbf Added property for overriding the service name in Zipkin
without this only either service discovery service id / spring.application.name can be chosen as a service name for zipkin
    with this change you can pass spring.zipkin.service.name property to change override that both for HTTP and Stream collectors

    fixes #324
2017-01-02 10:39:18 +01:00
Marcin Grzejszczak
e117531d75 Added property for overriding the service name in Zipkin
without this only either service discovery service id / spring.application.name can be chosen as a service name for zipkin
    with this change you can pass spring.zipkin.service.name property to change override that both for HTTP and Stream collectors

    fixes #324
2017-01-02 10:18:48 +01:00
Marcin Grzejszczak
e982c4df80 Added property for overriding the service name in Zipkin
without this only either service discovery service id / spring.application.name can be chosen as a service name for zipkin
    with this change you can pass spring.zipkin.service.name property to change override that both for HTTP and Stream collectors

    fixes #324
2017-01-02 10:18:20 +01:00
Marcin Grzejszczak
7e393cdf38 Explained TraceAsyncRestTemplate bean creation
fixes #484
2016-12-29 13:38:40 +01:00